/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiShellCommandTest.java | 196 BinderUtil.setUid(Process.ROOT_UID); in testSetPollRssiIntervalMsecs() 220 BinderUtil.setUid(Process.ROOT_UID); in testGetPollRssiIntervalMsecs() 238 BinderUtil.setUid(Process.ROOT_UID); in testForceHiPerfMode() 261 BinderUtil.setUid(Process.ROOT_UID); in testAddFakeScans() 299 BinderUtil.setUid(Process.ROOT_UID); in testForceLowLatencyMode() 323 BinderUtil.setUid(Process.ROOT_UID); in testNetworkSuggestionsSetUserApproved() 349 BinderUtil.setUid(Process.ROOT_UID); in testNetworkSuggestionsHasUserApproved() 377 BinderUtil.setUid(Process.ROOT_UID); in testImsiProtectionExemptionsSetUserApproved() 404 BinderUtil.setUid(Process.ROOT_UID); in testImsiProtectionExemptionsHasUserApproved() 431 BinderUtil.setUid(Process.ROOT_UID); in testNetworkRequestsSetUserApproved() [all …]
|
/packages/modules/NetworkStack/src/com/android/server/util/ |
D | PermissionUtil.java | 92 if (getCallingUid() != Process.ROOT_UID) { in setTestUid() 121 if (caller != Process.myUid() && caller != Process.SYSTEM_UID && caller != Process.ROOT_UID in checkDumpPermission()
|
/packages/providers/MediaProvider/jni/ |
D | MediaProviderWrapper.cpp | 40 constexpr uid_t ROOT_UID = 0; variable 54 return uid == SHELL_UID || uid == ROOT_UID; in shouldBypassMediaProvider() 283 if (uid == ROOT_UID) { in InsertFile() 292 if (uid == ROOT_UID) { in DeleteFile() 421 if (uid == ROOT_UID) { in Rename()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcShellCommand.java | 74 if (uid != Process.ROOT_UID) { in onCommand() 180 if (Binder.getCallingUid() == Process.ROOT_UID) { in onHelp()
|
/packages/modules/Virtualization/libs/microdroid_uids/src/ |
D | lib.rs | 18 pub const ROOT_UID: u32 = 0; constant
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ConnectivityNativeService.java | 71 if (uid == Process.ROOT_UID || uid == Process.PHONE_UID) return; in enforceBlockPortPermission()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkStatsBinderTest.java | 100 testUidList.add(Process.ROOT_UID); in testAccessUidStatsFromBinder()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageFeatureProviderImpl.java | 69 if (uid >= Process.ROOT_UID && uid < Process.FIRST_APPLICATION_UID) { in isTypeSystem()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbShellCommandTest.java | 153 BinderUtil.setUid(Process.ROOT_UID); in testForceSetCountryCode() 172 BinderUtil.setUid(Process.ROOT_UID); in testForceClearCountryCode()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | PowerUsageFeatureProviderImplTest.java | 92 assertThat(mPowerFeatureProvider.isTypeSystem(Process.ROOT_UID, null)).isTrue(); in isTypeSystem_uidRoot_returnTrue()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | InetDiagSocketTest.java | 19 import static android.os.Process.ROOT_UID; 800 doTestIsAdbSocket(ROOT_UID, false /* expected */); in testIsAdbSocket()
|
/packages/modules/Virtualization/encryptedstore/src/ |
D | main.rs | 152 microdroid_uids::ROOT_UID, in format_ext4()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BluetoothShellCommand.java | 225 if (uid != Process.ROOT_UID) { in onCommand()
|
D | BtPermissionUtils.java | 164 return callingAppId == Process.ROOT_UID; in isCallerRoot()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | AdServicesShellCommand.java | 92 if (callingUid != Process.ROOT_UID in onCommand()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxShellCommand.java | 87 if (callingUid != Process.ROOT_UID && callingUid != Process.SHELL_UID) { in onCommand()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 1338 case Process.ROOT_UID: 2028 && Binder.getCallingUid() != Process.ROOT_UID) { 2563 && Binder.getCallingUid() != Process.ROOT_UID) { 2580 && Binder.getCallingUid() != Process.ROOT_UID) { 2950 if (callingUid != Process.ROOT_UID && in enforceCallingPackage() 3145 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in enforceShellOnly()
|
D | TelecomShellCommand.java | 479 return Process.ROOT_UID == Process.myUid(); in callerIsRoot()
|
/packages/services/Telephony/src/com/android/phone/ |
D | TelephonyShellCommand.java | 1118 if (Binder.getCallingUid() != Process.ROOT_UID || TelephonyUtils.IS_USER) { in handleEnablePhysicalSubscription() 1685 || Binder.getCallingUid() == Process.ROOT_UID; in checkShellUid() 1691 if (Binder.getCallingUid() != Process.ROOT_UID || TelephonyUtils.IS_USER) { in handleCcCommand() 2247 if (Binder.getCallingUid() != Process.ROOT_UID || TelephonyUtils.IS_USER) { in handleRestartModemCommand() 2261 if (Binder.getCallingUid() != Process.ROOT_UID || TelephonyUtils.IS_USER) { in handleGetImei() 2292 if (Binder.getCallingUid() != Process.ROOT_UID || TelephonyUtils.IS_USER) { in handleUnattendedReboot() 2306 if (Binder.getCallingUid() != Process.ROOT_UID || TelephonyUtils.IS_USER) { in handleGetSimSlotsMapping()
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | UserDictionaryProvider.java | 320 || callingUid == Process.ROOT_UID in canCallerAccessUserDictionary()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pShellCommandTest.java | 89 BinderUtil.setUid(Process.ROOT_UID); in runP2pCommandAsRoot()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbServiceImpl.java | 436 if (Binder.getCallingUid() == Process.ROOT_UID) { in setEnabled()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pShellCommand.java | 569 if (uid == Process.ROOT_UID) { in checkRootPermission()
|
/packages/modules/Virtualization/microdroid_manager/src/ |
D | main.rs | 573 let (uid, gid) = (microdroid_uids::ROOT_UID, microdroid_uids::MICRODROID_PAYLOAD_GID); in mount()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 130 if (binderUid == Process.SHELL_UID || binderUid == Process.ROOT_UID) { in fromBinder()
|