Home
last modified time | relevance | path

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

/system/netd/server/
DFwmarkServer.cpp43 if (client->getUid() != AID_SYSTEM) { in isSystemServer()
117 Permission permission = mNetworkController->getPermissionForUser(client->getUid()); in processClient()
127 return mTrafficCtrl->setCounterSet(command.trafficCtrlInfo, command.uid, client->getUid()); in processClient()
131 return mTrafficCtrl->deleteTagData(command.trafficCtrlInfo, command.uid, client->getUid()); in processClient()
203 fwmark.netId = mNetworkController->getNetworkForConnect(client->getUid()); in processClient()
237 (ret == 0) ? strtoul(portstr, nullptr, 10) : 0, client->getUid()); in processClient()
249 if (int ret = mNetworkController->checkUserNetworkAccess(client->getUid(), in processClient()
254 fwmark.protectedFromVpn = mNetworkController->canProtect(client->getUid()); in processClient()
260 if (!mNetworkController->canProtect(client->getUid())) { in processClient()
293 command.uid = client->getUid(); in processClient()
[all …]
/system/core/logd/
DLogStatistics.h95 if ((uid != AID_ROOT) && (uid != entry.getUid())) { in sort()
284 uid(element->getUid()), in UidEntry()
291 inline const uid_t& getUid() const { in getUid() function
323 uid(element->getUid()), in PidEntry()
342 const uid_t& getUid() const { in getUid() function
360 uid_t incomingUid = element->getUid(); in add()
361 if (getUid() != incomingUid) { in add()
399 uid(element->getUid()), in TidEntry()
422 const uid_t& getUid() const { in getUid() function
440 uid_t incomingUid = element->getUid(); in add()
[all …]
DLogWhiteBlackList.h42 uid_t getUid() const { in getUid() function
50 return cmp(e->getUid(), e->getPid()); in cmp()
DLogStatistics.cpp136 uidTable[log_id].add(element->getUid(), element); in add()
137 if (element->getUid() == AID_SYSTEM) { in add()
179 uidTable[log_id].subtract(element->getUid(), element); in subtract()
180 if (element->getUid() == AID_SYSTEM) { in subtract()
217 uidTable[log_id].drop(element->getUid(), element); in drop()
218 if (element->getUid() == AID_SYSTEM) { in drop()
281 if (entry.getUid() == uid) { in uidToName()
336 uid_t uid = getUid(); in format()
445 uid_t uid = getUid(); in format()
470 uid_t uid = getUid(); in format()
[all …]
DLogBuffer.cpp147 if (elem->getUid() != last->getUid()) return DIFFERENT; in identical()
479 : element->getUid(); in erase()
507 : element->getUid(); in erase()
584 LogBufferElementKey key(element->getUid(), element->getPid(), in coalesce()
601 LogBufferElementKey key(element->getUid(), element->getPid(), in add()
731 (element->getUid() != caller_uid)) { in prune()
861 : element->getUid(); in prune()
1106 uid_t uid = reader->getUid(); in flushTo()
1154 if (!privileged && (element->getUid() != uid)) { in flushTo()
DFlushCommand.cpp80 return (client->getUid() == AID_SYSTEM) || (client->getGid() == AID_SYSTEM); in clientHasSecurityCredentials()
DCommandListener.cpp82 uid_t uid = cli->getUid(); in runCommand()
202 uid_t uid = cli->getUid(); in runCommand()
286 uid_t uid = cli->getUid(); in runCommand()
DLogBufferElement.h71 uid_t getUid(void) const { in getUid() function
DLogCommand.cpp144 return clientHasLogCredentials(cli->getUid(), cli->getGid(), cli->getPid()); in clientHasLogCredentials()
DLogReader.cpp212 cli->getUid(), cli->getGid(), cli->getPid(), nonBlock ? 'n' : 'b', tail, in onDataAvailable()
/system/netd/resolv/
DDnsProxyListener.cpp611 const uid_t uid = mClient->getUid(); in doDns64Synthesis()
649 const uid_t uid = mClient->getUid(); in run()
742 const uid_t uid = cli->getUid(); in runCommand()
774 const uid_t uid = cli->getUid(); in runCommand()
840 const uid_t uid = mClient->getUid(); in run()
919 const uid_t uid = cli->getUid(); in runCommand()
964 uid_t uid = cli->getUid(); in runCommand()
1012 const uid_t uid = mClient->getUid(); in doDns64Synthesis()
1035 const uid_t uid = mClient->getUid(); in run()
1094 uid_t uid = cli->getUid(); in runCommand()
[all …]
/system/core/libsysutils/include/sysutils/
DSocketClient.h38 uid_t getUid() const { return mUid; } in getUid() function
/system/core/llkd/
Dlibllkd.cpp369 uid_t getUid(void) { in getUid() function
1113 if ((llkBlacklistUid.size() != 0) && llkSkipUid(procp->getUid())) { in llkCheck()