Home
last modified time | relevance | path

Searched refs:callingAppId (Results 1 – 3 of 3) 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.java418 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local
420 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()
1361 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local
1367 callingAppId == Process.NFC_UID || in checkIfCallerIsForegroundUser()
1368 callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java15865 int callingAppId = UserHandle.getAppId(callingUid); in broadcastIntentLocked() local
15866 if (callingAppId == Process.SYSTEM_UID || callingAppId == Process.PHONE_UID in broadcastIntentLocked()
15867 || callingAppId == Process.SHELL_UID || callingAppId == Process.BLUETOOTH_UID in broadcastIntentLocked()
15868 || callingAppId == Process.NFC_UID || callingUid == 0) { in broadcastIntentLocked()