/frameworks/native/services/surfaceflinger/tests/ |
D | Credentials_test.cpp | 39 seteuid(AID_ROOT); in SetUp() 49 seteuid(AID_ROOT); in TearDown() 109 seteuid(AID_ROOT); in setGraphicsUID() 117 seteuid(AID_ROOT); in setSystemUID() 126 seteuid(AID_ROOT); in setBinUID() 138 seteuid(AID_ROOT); in checkWithPrivileges() 312 seteuid(AID_ROOT); in TEST_F() 320 seteuid(AID_ROOT); in TEST_F()
|
/frameworks/base/cmds/idmap2/tests/ |
D | FileUtilsTests.cpp | 90 ASSERT_TRUE(UidHasWriteAccessToPath(AID_ROOT, tmp_path)); in TEST() 91 ASSERT_TRUE(UidHasWriteAccessToPath(AID_ROOT, cache_path)); in TEST() 92 ASSERT_TRUE(UidHasWriteAccessToPath(AID_ROOT, sneaky_cache_path)); in TEST()
|
D | Idmap2BinaryTests.cpp | 74 if (uid != AID_ROOT && uid != AID_SYSTEM) { \
|
/frameworks/av/media/utils/include/mediautils/ |
D | ServiceUtilities.h | 52 return uid == AID_AUDIOSERVER || uid == AID_ROOT; in isAudioServerOrRootUid() 64 return multiuser_get_app_id(uid) == AID_SYSTEM || uid == AID_AUDIOSERVER || uid == AID_ROOT; in isAudioServerOrSystemServerOrRootUid()
|
/frameworks/base/cmds/incidentd/src/ |
D | IncidentService.cpp | 66 if (callingUid == AID_ROOT || callingUid == AID_SHELL) { in checkIncidentPermissions() 97 if (callingUid != AID_SHELL && callingUid != AID_ROOT) { in checkIncidentPermissions() 106 if (callingUid != AID_SHELL && callingUid != AID_ROOT && callingUid != AID_STATSD && in checkIncidentPermissions() 312 if (caller != AID_ROOT && caller != AID_SHELL) { in reportIncidentToDumpstate()
|
/frameworks/native/services/vr/performanced/ |
D | performance_service.cpp | 134 CheckAnd<SameProcess, CheckOr<UserId<AID_ROOT, AID_SYSTEM, AID_GRAPHICS>, in PerformanceService() 137 CheckAnd<SameProcess, CheckOr<UserId<AID_ROOT, AID_SYSTEM, AID_AUDIO>, in PerformanceService() 140 CheckOr<Trusted, UserId<AID_ROOT, AID_SYSTEM>, GroupId<AID_SYSTEM>>; in PerformanceService()
|
D | performance_service_tests.cpp | 263 ASSERT_EQ(AID_ROOT, original_uid) in TEST()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 157 result = chown(dalvikCacheDir, AID_ROOT, AID_ROOT); in maybeCreateDalvikCache()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 117 public static final int AID_ROOT = android.os.Process.ROOT_UID; field in UserHandle 277 } else if (appId >= AID_ROOT && appId <= AID_APP_START) { in getSharedAppGid()
|
/frameworks/native/services/inputflinger/ |
D | InputManager.cpp | 126 if (uid != AID_SHELL && uid != AID_ROOT) { in registerInputChannel()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | FileUtils.cpp | 100 return uid == AID_ROOT || uid == AID_SYSTEM; in UidHasWriteAccessToPath()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_service.cpp | 278 const bool trusted = user_id == AID_ROOT || IsTrustedUid(user_id); in OnSetupGlobalBuffer() 292 const bool trusted = (user_id == AID_ROOT) || IsTrustedUid(user_id); in OnDeleteGlobalBuffer()
|
D | display_manager_service.cpp | 46 const bool trusted = user_id == AID_ROOT || IsTrustedUid(user_id); in OnChannelOpen()
|
D | display_surface.cpp | 470 const bool trusted = user_id == AID_ROOT || IsTrustedUid(user_id); in Create()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 76 if (uid == expectedUid || uid == AID_ROOT) { in checkUid() 89 if (uid == AID_ROOT || uid == AID_SYSTEM || uid == AID_SHELL) { in checkDumpAndUsageStats() 353 if (uid != AID_ROOT && uid != AID_SHELL) { in command() 958 || (callingUid == AID_ROOT && goodUid == AID_SHELL); // ROOT can impersonate SHELL. in getUidFromString() 1306 if (uid != AID_ROOT && uid != AID_SYSTEM && uid != AID_SHELL) { in sendBinaryPushStateChangedAtom() 1402 if (uid != AID_ROOT && uid != AID_SYSTEM && uid != AID_SHELL) { in sendWatchdogRollbackOccurredAtom()
|
D | stats_log_util.cpp | 418 uid != AID_ROOT) { in TimeUnitToBucketSizeInMillisGuardrailed()
|
/frameworks/native/cmds/rawbu/ |
D | backup.cpp | 662 if (getuid() != AID_ROOT) { in main()
|
/frameworks/native/libs/binder/ndk/ |
D | ibinder.cpp | 189 if (uid != AID_ROOT && uid != AID_SHELL) { in onTransact()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 155 if (uid == expectedUid || uid == AID_ROOT) { in checkUid()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 5261 if (uid == AID_ROOT || uid == AID_GRAPHICS || uid == AID_SYSTEM || uid == AID_SHELL) { in CheckTransactCodeCredentials()
|