Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/
DStatsService.cpp949 int32_t goodUid = static_cast<int32_t>(longUid); in getUidFromString() local
950 if (longUid < 0 || static_cast<uint64_t>(longUid) != static_cast<uid_t>(goodUid)) { in getUidFromString()
953 uid = goodUid; in getUidFromString()
957 || (callingUid == goodUid) // Anyone can 'impersonate' themselves. in getUidFromString()
958 || (callingUid == AID_ROOT && goodUid == AID_SHELL); // ROOT can impersonate SHELL. in getUidFromString()