/frameworks/native/services/surfaceflinger/tests/ |
D | Credentials_test.cpp | 37 seteuid(AID_ROOT); in SetUp() 47 seteuid(AID_ROOT); in TearDown() 106 seteuid(AID_ROOT); in setGraphicsUID() 114 seteuid(AID_ROOT); in setSystemUID() 123 seteuid(AID_ROOT); in setBinUID() 135 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 | 75 if (uid != AID_ROOT && uid != AID_SYSTEM) { \
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 831 PrepareDir(user_source, 0710, user_id ? AID_ROOT : AID_SHELL, in MountEmulatedStorage() 840 PrepareDir(pass_through_source, 0710, AID_ROOT, AID_MEDIA_RW, fail_fn); in MountEmulatedStorage() 1164 PrepareDir(actualAppDataPath, 0700, AID_ROOT, AID_ROOT, fail_fn); in createAndMountAppData() 1368 AID_ROOT, AID_ROOT, fail_fn); in isolateAppData() 1393 PrepareDirIfNotPresent(volPath, DEFAULT_DATA_DIR_PERMISSION, AID_ROOT, AID_ROOT, fail_fn); in isolateAppData() 1394 PrepareDirIfNotPresent(volCePath, DEFAULT_DATA_DIR_PERMISSION, AID_ROOT, AID_ROOT, fail_fn); in isolateAppData() 1395 PrepareDirIfNotPresent(volDePath, DEFAULT_DATA_DIR_PERMISSION, AID_ROOT, AID_ROOT, fail_fn); in isolateAppData() 1396 PrepareDirIfNotPresent(volCeUserPath, DEFAULT_DATA_DIR_PERMISSION, AID_ROOT, AID_ROOT, in isolateAppData() 1398 PrepareDirIfNotPresent(volDeUserPath, DEFAULT_DATA_DIR_PERMISSION, AID_ROOT, AID_ROOT, in isolateAppData() 1414 AID_ROOT, AID_ROOT, fail_fn); in isolateAppData() [all …]
|
/frameworks/av/media/utils/include/mediautils/ |
D | ServiceUtilities.h | 53 return uid == AID_AUDIOSERVER || uid == AID_ROOT; in isAudioServerOrRootUid() 66 || uid == AID_MEDIA || uid == AID_ROOT; in isAudioServerOrMediaServerOrSystemServerOrRootUid()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 157 result = chown(dalvikCacheDir, AID_ROOT, AID_ROOT); in maybeCreateDalvikCache()
|
/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/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() 317 if (caller != AID_ROOT && caller != AID_SHELL) { in reportIncidentToDumpstate()
|
/frameworks/base/cmds/statsd/src/state/ |
D | StateManager.cpp | 47 if (event.GetUid() == AID_ROOT || (event.GetUid() >= 1000 && event.GetUid() < 2000) || in onLogEvent()
|
/frameworks/native/services/inputflinger/ |
D | InputManager.cpp | 125 if (uid != AID_SHELL && uid != AID_ROOT) { in registerInputChannel()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 143 public static final int AID_ROOT = android.os.Process.ROOT_UID; field in UserHandle 328 } else if (appId >= AID_ROOT && appId <= AID_APP_START) { in getSharedAppGid()
|
/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_manager_service.cpp | 46 const bool trusted = user_id == AID_ROOT || IsTrustedUid(user_id); in OnChannelOpen()
|
D | display_service.cpp | 299 const bool trusted = user_id == AID_ROOT || IsTrustedUid(user_id); in OnSetupGlobalBuffer() 313 const bool trusted = (user_id == AID_ROOT) || IsTrustedUid(user_id); in OnDeleteGlobalBuffer()
|
D | display_surface.cpp | 470 const bool trusted = user_id == AID_ROOT || IsTrustedUid(user_id); in Create()
|
/frameworks/av/services/mediatranscoding/ |
D | MediaTranscodingService.cpp | 38 case AID_ROOT: // root user in isTrustedCallingUid()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 76 if (uid == expectedUid || uid == AID_ROOT) { in checkUid() 290 if (uid != AID_ROOT && uid != AID_SHELL) { in handleShellCommand() 904 || (callingUid == AID_ROOT && goodUid == AID_SHELL); // ROOT can impersonate SHELL. in getUidFromString()
|
D | stats_log_util.cpp | 429 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 | 182 if (uid != AID_ROOT && uid != AID_SHELL) { in onTransact()
|
/frameworks/base/cmds/statsd/tests/ |
D | MetricsManager_test.cpp | 689 const set<int32_t> defaultPullUids = {AID_SYSTEM, AID_ROOT}; in TEST()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 161 if (uid == expectedUid || uid == AID_ROOT) { in checkUid()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 4973 if (uid == AID_ROOT || uid == AID_GRAPHICS || uid == AID_SYSTEM || uid == AID_SHELL) { in CheckTransactCodeCredentials()
|