Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/
DStatsService.cpp971 int32_t goodUid = static_cast<int32_t>(longUid); in getUidFromString() local
972 if (longUid < 0 || static_cast<uint64_t>(longUid) != static_cast<uid_t>(goodUid)) { in getUidFromString()
975 uid = goodUid; in getUidFromString()
979 || (callingUid == goodUid) // Anyone can 'impersonate' themselves. in getUidFromString()
980 || (callingUid == AID_ROOT && goodUid == AID_SHELL); // ROOT can impersonate SHELL. in getUidFromString()