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.java1151 final int callingAppId = UserHandle.getAppId(uid); in isSystemPackage() local
1152 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage()
1153 sSystemUids.put(callingAppId, callingAppId); in isSystemPackage()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java883 int callingAppId = UserHandle.getAppId(callingUid); in enableNoAutoConnect() local
885 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()
2098 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local
2103 || callingAppId == Process.NFC_UID || callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
DDeviceIdleController.java2375 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local
2376 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()
2377 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.java944 final int callingAppId = UserHandle.getAppId(callingUid); in shouldAbortBackgroundActivityStart() local
945 if (callingUid == Process.ROOT_UID || callingAppId == Process.SYSTEM_UID in shouldAbortBackgroundActivityStart()
946 || callingAppId == Process.NFC_UID) { in shouldAbortBackgroundActivityStart()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java18444 final int callingAppId = UserHandle.getAppId(Binder.getCallingUid());
18445 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.SHELL_UID
18446 && callingAppId != Process.ROOT_UID) {
25503 final int callingAppId = UserHandle.getAppId(callingUid);
25508 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&
25524 final int callingAppId = UserHandle.getAppId(callingUid);
25529 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&
25543 final int callingAppId = UserHandle.getAppId(callingUid);
25548 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID