Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/jni/
DMediaProviderWrapper.cpp41 constexpr uid_t ROOT_UID = 0; variable
47 return uid == SHELL_UID || uid == ROOT_UID; in shouldBypassMediaProvider()
309 if (uid == ROOT_UID) { in InsertFile()
318 if (uid == ROOT_UID) { in DeleteFile()
410 if (uid == ROOT_UID) { in Rename()
/packages/modules/NetworkStack/src/com/android/server/util/
DPermissionUtil.java76 if (caller != Process.myUid() && caller != Process.SYSTEM_UID && caller != Process.ROOT_UID in checkDumpPermission()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageFeatureProviderImpl.java55 if (uid >= Process.ROOT_UID && uid < Process.FIRST_APPLICATION_UID) { in isTypeSystem()
DBatteryUtils.java608 return appUid >= Process.ROOT_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerUsageFeatureProviderImpl.java54 if (uid >= Process.ROOT_UID && uid < Process.FIRST_APPLICATION_UID) { in isTypeSystem()
DBatteryUtils.java562 return appUid >= Process.ROOT_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java1519 && Binder.getCallingUid() != Process.ROOT_UID) {
1827 && Binder.getCallingUid() != Process.ROOT_UID) {
1844 && Binder.getCallingUid() != Process.ROOT_UID) {
2141 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in enforceShellOnly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerUsageFeatureProviderImplTest.java72 when(mBatterySipper.getUid()).thenReturn(Process.ROOT_UID); in testIsTypeSystem_uidRoot_returnTrue()
DBatteryUtilsTest.java353 when(mNormalBatterySipper.getUid()).thenReturn(Process.ROOT_UID); in testShouldHideSipper_TypeSystem_ReturnTrue()
663 final int systemUid = Process.ROOT_UID; in testShouldHideAnomaly_systemUid_returnTrue()
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java779 || Binder.getCallingUid() == Process.ROOT_UID; in checkShellUid()
785 if (Binder.getCallingUid() != Process.ROOT_UID || TelephonyUtils.IS_USER) { in handleCcCommand()
DCarrierConfigLoader.java1407 if (callingUid == Process.ROOT_UID || callingUid == Process.SYSTEM_UID in enforceCallerIsSystemOrRequestingPackage()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java320 || callingUid == Process.ROOT_UID in canCallerAccessUserDictionary()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java65 case android.os.Process.ROOT_UID: in checkPermissionShell()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java613 if (Binder.getCallingUid() == Process.ROOT_UID) {
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java709 if (Binder.getCallingUid() != Process.ROOT_UID) {