/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 51 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/ |
D | LocalDrive.java | 200 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/ |
D | LocalCallingIdentity.java | 119 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()
|
D | MediaDocumentsProvider.java | 188 if (callingAppId == android.os.Process.SHELL_UID in enforceShellRestrictions()
|
D | MediaProvider.java | 8451 if (uid != android.os.Process.SHELL_UID && isCallingPackageManager()) {
|
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/ |
D | AtomTestCase.java | 128 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/ |
D | SystemShellRoleBehavior.java | 43 return appId == Process.SHELL_UID; in isPackageQualified()
|
/packages/modules/Permission/service/java/com/android/permission/util/ |
D | PermissionUtils.java | 47 if (callingUid == Process.SHELL_UID && userId >= UserHandleCompat.USER_SYSTEM) { in enforceCrossUserPermission()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 375 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/ |
D | UwbShellCommandTest.java | 91 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/ |
D | PermissionUtil.java | 122 && caller != Process.SHELL_UID) { in checkDumpPermission()
|
/packages/providers/MediaProvider/jni/ |
D | MediaProviderWrapper.cpp | 41 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/ |
D | WifiP2pShellCommandTest.java | 78 BinderUtil.setUid(Process.SHELL_UID); in setUp()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 187 if (uid != Process.SHELL_UID && uid != Process.ROOT_UID) { in enableInstantCommunicationMode()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 76 case android.os.Process.SHELL_UID: in checkPermissionShell()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbShellCommand.java | 569 new AttributionSource.Builder(Process.SHELL_UID) in startRangingSession()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiShellCommandTest.java | 131 BinderUtil.setUid(Process.SHELL_UID); in setUp()
|
/packages/modules/Bluetooth/service/java/com/android/server/bluetooth/ |
D | BluetoothManagerService.java | 2731 return callingAppId == Process.SHELL_UID; in isCallerShell() 2750 || callingAppId == Process.SHELL_UID; in checkIfCallerIsForegroundUser()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 1582 || callingUid == Process.SHELL_UID || callingUid == Process.PHONE_UID) { in enforceCallerIsSystemOrRequestingPackage()
|
D | TelephonyShellCommand.java | 1490 return Binder.getCallingUid() == Process.SHELL_UID in checkShellUid()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 2956 if (callingUid != Process.SHELL_UID && callingUid != Process.ROOT_UID) { in getConfiguredNetworks()
|