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

Method checkPermission

libapp2sys/src/main/cpp/server.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25
26 bool checkPermission(std::vector<std::string> manufactures, std::vector<std::string> certs, int funcid, int uid, int callertid, int64_t timestamp) {
27 pdbg("ManufacturerCoder checkPermission manufactures:%d certs:%d funcid:%d uid:%d callertid:%d timestamp:%d", TOINT(manufactures.size()), TOINT(certs.size()), funcid, uid, callertid, TOINT(timestamp/1000000L));
28 return true;
29 }
30
31 int requestCpuHighFreq(int scene, int64_t action, int level, int timeoutms, int callertid, int64_t timestamp) {
32 pdbg("ManufacturerCoder requestCpuHighFreq scene:%d action:%d level:%d timeoutms:%d callertid:%d timestamp:%d", scene, TOINT(action), level, timeoutms, callertid, TOINT(timestamp/1000000L));

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected