MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / checkPermission

Method checkPermission

libapp2sys/src/main/cpp/protocol.h:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 }
131
132 virtual bool checkPermission(std::vector<std::string> manufactures, std::vector<std::string> certs, int funcid, int uid, int callertid, int64_t timestamp) {
133 UNUSED(manufactures);
134 UNUSED(certs);
135 UNUSED(funcid);
136 UNUSED(uid);
137 UNUSED(callertid);
138 UNUSED(timestamp);
139 return true;
140 }
141
142 virtual int requestCpuHighFreq(int scene, int64_t action, int level, int timeoutms, int callertid, int64_t timestamp) {
143 UNUSED(scene);

Calls

no outgoing calls

Tested by

no test coverage detected