Home
last modified time | relevance | path

Searched refs:callingAppId (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java1043 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions() local
1044 if (appId == callingAppId || callingAppId == SHELL_UID in resolveCallingAppEnforcingPermissions()
1045 || callingAppId == Process.SYSTEM_UID) { in resolveCallingAppEnforcingPermissions()
1051 throw new SecurityException("Call from app " + callingAppId + " as app " in resolveCallingAppEnforcingPermissions()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1118 final int callingAppId = UserHandle.getAppId(callingUid); in isSystemPackage() local
1119 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage()
1120 sSystemUids.put(callingAppId, callingAppId); in isSystemPackage()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java840 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local
842 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()
1990 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local
1995 || callingAppId == Process.NFC_UID || callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
DDeviceIdleController.java1847 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local
1848 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()
1849 if (!mPowerSaveWhitelistSystemAppIds.get(callingAppId)) { in addPowerSaveTempWhitelistAppDirectInternal()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17966 final int callingAppId = UserHandle.getAppId(Binder.getCallingUid());
17967 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.SHELL_UID
17968 && callingAppId != Process.ROOT_UID) {
24586 final int callingAppId = UserHandle.getAppId(callingUid);
24591 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&
24607 final int callingAppId = UserHandle.getAppId(callingUid);
24612 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&
24626 final int callingAppId = UserHandle.getAppId(callingUid);
24631 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java9591 final int callingAppId = UserHandle.getAppId(callingUid); in checkGrantUriPermissionLocked() local
9592 if ((callingAppId == SYSTEM_UID) || (callingAppId == ROOT_UID)) { in checkGrantUriPermissionLocked()