Home
last modified time | relevance | path

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

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java689 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions() local
690 if (appId == callingAppId) { in resolveCallingAppEnforcingPermissions()
696 throw new SecurityException("Call from app " + callingAppId + " as app " in resolveCallingAppEnforcingPermissions()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java607 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local
609 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()
1620 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local
1626 callingAppId == Process.NFC_UID || in checkIfCallerIsForegroundUser()
1627 callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
DDeviceIdleController.java1063 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local
1064 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()
1065 if (!mPowerSaveWhitelistSystemAppIds.get(callingAppId)) { in addPowerSaveTempWhitelistAppDirectInternal()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java16486 int callingAppId = UserHandle.getAppId(callingUid); in broadcastIntentLocked() local
16487 if (callingAppId == Process.SYSTEM_UID || callingAppId == Process.PHONE_UID in broadcastIntentLocked()
16488 || callingAppId == Process.SHELL_UID || callingAppId == Process.BLUETOOTH_UID in broadcastIntentLocked()
16489 || callingAppId == Process.NFC_UID || callingUid == 0) { in broadcastIntentLocked()