Home
last modified time | relevance | path

Searched refs:getUid (Results 1 – 14 of 14) sorted by relevance

/system/netd/server/
DFwmarkServer.cpp78 Permission permission = mNetworkController->getPermissionForUser(client->getUid()); in processClient()
147 fwmark.netId = mNetworkController->getNetworkForConnect(client->getUid()); in processClient()
162 if (int ret = mNetworkController->checkUserNetworkAccess(client->getUid(), in processClient()
167 fwmark.protectedFromVpn = mNetworkController->canProtect(client->getUid()); in processClient()
173 if (!mNetworkController->canProtect(client->getUid())) { in processClient()
DDnsProxyListener.cpp267 uid_t uid = cli->getUid(); in runCommand()
323 uid_t uid = cli->getUid(); in runCommand()
438 uid_t uid = cli->getUid(); in runCommand()
/system/core/logd/
DLogStatistics.h63 if ((uid != AID_ROOT) && (uid != entry.getUid())) { in sort()
231 uid(element->getUid()), in UidEntry()
236 inline const uid_t&getUid() const { return getKey(); } in getUid() function
268 uid(element->getUid()), in PidEntry()
281 const uid_t&getUid() const { return uid; } in getUid() function
295 uid_t incomingUid = element->getUid(); in add()
296 if (getUid() != incomingUid) { in add()
327 uid(element->getUid()), in TidEntry()
342 const uid_t&getUid() const { return uid; } in getUid() function
356 uid_t incomingUid = element->getUid(); in add()
[all …]
DLogStatistics.cpp77 uidTable[log_id].add(element->getUid(), element); in add()
78 if (element->getUid() == AID_SYSTEM) { in add()
112 uidTable[log_id].subtract(element->getUid(), element); in subtract()
113 if (element->getUid() == AID_SYSTEM) { in subtract()
142 uidTable[log_id].drop(element->getUid(), element); in drop()
143 if (element->getUid() == AID_SYSTEM) { in drop()
186 if (entry.getUid() == uid) { in uidToName()
217 uid_t uid = getUid(); in format()
334 uid_t uid = getUid(); in format()
371 uid_t uid = getUid(); in format()
[all …]
DLogBuffer.cpp318 mLastWorstUid[id].find(element->getUid()); in erase()
325 if (element->getUid() == AID_SYSTEM) { in erase()
396 LogBufferElementKey key(element->getUid(), in coalesce()
414 LogBufferElementKey key(element->getUid(), in add()
516 if ((element->getLogId() != id) || (element->getUid() != caller_uid)) { in prune()
673 if (element->getUid() == worst) { in prune()
694 mLastWorstPidOfSystem[id][element->getUid()] = it; in prune()
696 if ((!gc && !worstPid && (element->getUid() == worst)) in prune()
697 || (mLastWorstUid[id].find(element->getUid()) in prune()
699 mLastWorstUid[id][element->getUid()] = it; in prune()
[all …]
DLogWhiteBlackList.h42 uid_t getUid() const { return mUid; } in getUid() function
45 int cmp(LogBufferElement *e) const { return cmp(e->getUid(), e->getPid()); } in cmp()
DLogBufferElement.h64 uid_t getUid(void) const { return mUid; } in getUid() function
DFlushCommand.cpp101 return (client->getUid() == AID_SYSTEM) || (client->getGid() == AID_SYSTEM); in clientHasSecurityCredentials()
DCommandListener.cpp84 uid_t uid = cli->getUid(); in runCommand()
207 uid_t uid = cli->getUid(); in runCommand()
DLogCommand.cpp149 return clientHasLogCredentials(cli->getUid(), cli->getGid(), cli->getPid()); in clientHasLogCredentials()
/system/core/include/sysutils/
DSocketClient.h40 uid_t getUid() const { return mUid; } in getUid() function
/system/vold/
DCryptCommandListener.cpp174 if ((cli->getUid() != 0) && (cli->getUid() != AID_SYSTEM)) { in runCommand()
DCommandListener.cpp598 if ((cli->getUid() != 0) && (cli->getUid() != AID_SYSTEM)) { in runCommand()
/system/core/libsysutils/src/
DFrameworkListener.cpp202 LOG_EVENT_INT(78001, cli->getUid()); in dispatchCommand()