Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiShellCommandTest.java196 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/
DPermissionUtil.java92 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/
DMediaProviderWrapper.cpp40 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/
DNfcShellCommand.java74 if (uid != Process.ROOT_UID) { in onCommand()
180 if (Binder.getCallingUid() == Process.ROOT_UID) { in onHelp()
/packages/modules/Virtualization/libs/microdroid_uids/src/
Dlib.rs18 pub const ROOT_UID: u32 = 0; constant
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DConnectivityNativeService.java71 if (uid == Process.ROOT_UID || uid == Process.PHONE_UID) return; in enforceBlockPortPermission()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsBinderTest.java100 testUidList.add(Process.ROOT_UID); in testAccessUidStatsFromBinder()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageFeatureProviderImpl.java69 if (uid >= Process.ROOT_UID && uid < Process.FIRST_APPLICATION_UID) { in isTypeSystem()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbShellCommandTest.java153 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/
DPowerUsageFeatureProviderImplTest.java92 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/
DInetDiagSocketTest.java19 import static android.os.Process.ROOT_UID;
800 doTestIsAdbSocket(ROOT_UID, false /* expected */); in testIsAdbSocket()
/packages/modules/Virtualization/encryptedstore/src/
Dmain.rs152 microdroid_uids::ROOT_UID, in format_ext4()
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/
DBluetoothShellCommand.java225 if (uid != Process.ROOT_UID) { in onCommand()
DBtPermissionUtils.java164 return callingAppId == Process.ROOT_UID; in isCallerRoot()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesShellCommand.java92 if (callingUid != Process.ROOT_UID in onCommand()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxShellCommand.java87 if (callingUid != Process.ROOT_UID && callingUid != Process.SHELL_UID) { in onCommand()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java1338 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()
DTelecomShellCommand.java479 return Process.ROOT_UID == Process.myUid(); in callerIsRoot()
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java1118 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/
DUserDictionaryProvider.java320 || callingUid == Process.ROOT_UID in canCallerAccessUserDictionary()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pShellCommandTest.java89 BinderUtil.setUid(Process.ROOT_UID); in runP2pCommandAsRoot()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceImpl.java436 if (Binder.getCallingUid() == Process.ROOT_UID) { in setEnabled()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pShellCommand.java569 if (uid == Process.ROOT_UID) { in checkRootPermission()
/packages/modules/Virtualization/microdroid_manager/src/
Dmain.rs573 let (uid, gid) = (microdroid_uids::ROOT_UID, microdroid_uids::MICRODROID_PAYLOAD_GID); in mount()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java130 if (binderUid == Process.SHELL_UID || binderUid == Process.ROOT_UID) { in fromBinder()

12