Searched refs:callingAppId (Results 1 – 4 of 4) 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()
607 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local609 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()1620 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local1626 callingAppId == Process.NFC_UID || in checkIfCallerIsForegroundUser()1627 callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
1063 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local1064 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()1065 if (!mPowerSaveWhitelistSystemAppIds.get(callingAppId)) { in addPowerSaveTempWhitelistAppDirectInternal()
16486 int callingAppId = UserHandle.getAppId(callingUid); in broadcastIntentLocked() local16487 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()