Home
last modified time | relevance | path

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

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java1044 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions() local
1045 if (appId == callingAppId || callingAppId == SHELL_UID in resolveCallingAppEnforcingPermissions()
1046 || callingAppId == Process.SYSTEM_UID) { in resolveCallingAppEnforcingPermissions()
1052 throw new SecurityException("Call from app " + callingAppId + " as app " in resolveCallingAppEnforcingPermissions()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1198 final int callingAppId = UserHandle.getAppId(uid); in isSystemPackage() local
1199 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage()
1200 sSystemUids.put(callingAppId, callingAppId); in isSystemPackage()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1028 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local
1029 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()
2329 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local
2334 || callingAppId == Process.NFC_UID || callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
DDeviceIdleController.java2535 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local
2536 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()
2537 if (!mPowerSaveWhitelistSystemAppIds.get(callingAppId)) { in addPowerSaveTempWhitelistAppDirectInternal()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java1033 final int callingAppId = UserHandle.getAppId(callingUid); in checkGrantUriPermission() local
1034 if ((callingAppId == SYSTEM_UID) || (callingAppId == ROOT_UID)) { in checkGrantUriPermission()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java946 final int callingAppId = UserHandle.getAppId(callingUid); in shouldAbortBackgroundActivityStart() local
947 if (callingUid == Process.ROOT_UID || callingAppId == Process.SYSTEM_UID in shouldAbortBackgroundActivityStart()
948 || callingAppId == Process.NFC_UID) { in shouldAbortBackgroundActivityStart()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17887 final int callingAppId = UserHandle.getAppId(Binder.getCallingUid());
17888 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.SHELL_UID
17889 && callingAppId != Process.ROOT_UID) {
24969 final int callingAppId = UserHandle.getAppId(callingUid);
24974 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&
24990 final int callingAppId = UserHandle.getAppId(callingUid);
24995 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&
25009 final int callingAppId = UserHandle.getAppId(callingUid);
25014 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID