Home
last modified time | relevance | path

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

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java895 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions() local
896 if (appId == callingAppId) { in resolveCallingAppEnforcingPermissions()
902 throw new SecurityException("Call from app " + callingAppId + " as app " in resolveCallingAppEnforcingPermissions()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1038 final int callingAppId = UserHandle.getAppId(callingUid); in isSystemPackage() local
1039 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage()
1040 sSystemUids.put(callingAppId, callingAppId); in isSystemPackage()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java796 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local
798 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()
1874 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local
1880 callingAppId == Process.NFC_UID || in checkIfCallerIsForegroundUser()
1881 callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
DDeviceIdleController.java1704 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local
1705 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()
1706 if (!mPowerSaveWhitelistSystemAppIds.get(callingAppId)) { in addPowerSaveTempWhitelistAppDirectInternal()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8727 final int callingAppId = UserHandle.getAppId(callingUid); in checkGrantUriPermissionLocked() local
8728 if ((callingAppId == SYSTEM_UID) || (callingAppId == ROOT_UID)) { in checkGrantUriPermissionLocked()