Home
last modified time | relevance | path

Searched refs:SHELL_UID (Results 1 – 21 of 21) sorted by relevance

/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java51 public static final String SHELL_UID = "2000"; // Use shell, even if rooted. field in Utils
106 useShellUid ? SHELL_UID : "", in getReportList()
117 + (useShellUid ? ("uid=" + SHELL_UID + ", ") : "") in getReportList()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/
DLocalDrive.java200 Utils.SHELL_UID, String.valueOf(configId)); in updateConfig()
237 Utils.CMD_UPDATE_CONFIG, Utils.SHELL_UID, String.valueOf(configId)); in updateConfig()
340 Utils.SHELL_UID, String.valueOf(configId)); in cmdRemove()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java119 if (binderUid == Process.SHELL_UID || binderUid == Process.ROOT_UID) { in fromBinder()
151 if (uid == Process.SHELL_UID) { in fromExternal()
310 if ((uid == Process.SHELL_UID) && context.getSystemService(UserManager.class) in hasPermissionInternal()
DMediaDocumentsProvider.java188 if (callingAppId == android.os.Process.SHELL_UID in enforceShellRestrictions()
DMediaProvider.java8451 if (uid != android.os.Process.SHELL_UID && isCallingPackageManager()) {
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DAtomTestCase.java128 public static final int SHELL_UID = 2000; field in AtomTestCase
305 String.valueOf(SHELL_UID), String.valueOf(CONFIG_ID))); in uploadConfig()
312 String.valueOf(SHELL_UID), String.valueOf(configId))); in removeConfig()
527 String.join(" ", DUMP_REPORT_CMD, String.valueOf(SHELL_UID), in getReportList()
880 return SHELL_UID; in getHostUid()
984 "cmd stats log-app-breadcrumb %d %d %d", SHELL_UID, label, state)); in doAppBreadcrumbReported()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DSystemShellRoleBehavior.java43 return appId == Process.SHELL_UID; in isPackageQualified()
/packages/modules/Permission/service/java/com/android/permission/util/
DPermissionUtils.java47 if (callingUid == Process.SHELL_UID && userId >= UserHandleCompat.USER_SYSTEM) { in enforceCrossUserPermission()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java375 if (Binder.getCallingUid() != Process.SHELL_UID &&
587 if (callingUid != Process.SHELL_UID) {
1009 if (Binder.getCallingUid() != Process.SHELL_UID && !canReadPhoneState(
1654 if (Binder.getCallingUid() != Process.SHELL_UID
2065 if (Binder.getCallingUid() != Process.SHELL_UID
2082 if (Binder.getCallingUid() != Process.SHELL_UID
2486 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in enforceShellOnly()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbShellCommandTest.java91 BinderUtil.setUid(Process.SHELL_UID); in setUp()
206 eq(new AttributionSource.Builder(Process.SHELL_UID) in triggerAndVerifyRangingStart()
/packages/modules/NetworkStack/src/com/android/server/util/
DPermissionUtil.java122 && caller != Process.SHELL_UID) { in checkDumpPermission()
/packages/providers/MediaProvider/jni/
DMediaProviderWrapper.cpp41 constexpr uid_t SHELL_UID = 2000; variable
54 return uid == SHELL_UID || uid == ROOT_UID; in shouldBypassMediaProvider()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pShellCommandTest.java78 BinderUtil.setUid(Process.SHELL_UID); in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java187 if (uid != Process.SHELL_UID && uid != Process.ROOT_UID) { in enableInstantCommunicationMode()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java76 case android.os.Process.SHELL_UID: in checkPermissionShell()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbShellCommand.java569 new AttributionSource.Builder(Process.SHELL_UID) in startRangingSession()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiShellCommandTest.java131 BinderUtil.setUid(Process.SHELL_UID); in setUp()
/packages/modules/Bluetooth/service/java/com/android/server/bluetooth/
DBluetoothManagerService.java2731 return callingAppId == Process.SHELL_UID; in isCallerShell()
2750 || callingAppId == Process.SHELL_UID; in checkIfCallerIsForegroundUser()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java1582 || callingUid == Process.SHELL_UID || callingUid == Process.PHONE_UID) { in enforceCallerIsSystemOrRequestingPackage()
DTelephonyShellCommand.java1490 return Binder.getCallingUid() == Process.SHELL_UID in checkShellUid()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2956 if (callingUid != Process.SHELL_UID && callingUid != Process.ROOT_UID) { in getConfiguredNetworks()