Searched refs:callingAppId (Results 1 – 3 of 3) sorted by relevance
689 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions() local690 if (appId == callingAppId) { in resolveCallingAppEnforcingPermissions()696 throw new SecurityException("Call from app " + callingAppId + " as app " in resolveCallingAppEnforcingPermissions()
418 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local420 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()1361 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local1367 callingAppId == Process.NFC_UID || in checkIfCallerIsForegroundUser()1368 callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
15865 int callingAppId = UserHandle.getAppId(callingUid); in broadcastIntentLocked() local15866 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()