Searched refs:callingAppId (Results 1 – 5 of 5) sorted by relevance
895 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions() local896 if (appId == callingAppId) { in resolveCallingAppEnforcingPermissions()902 throw new SecurityException("Call from app " + callingAppId + " as app " in resolveCallingAppEnforcingPermissions()
1038 final int callingAppId = UserHandle.getAppId(callingUid); in isSystemPackage() local1039 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage()1040 sSystemUids.put(callingAppId, callingAppId); in isSystemPackage()
796 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local798 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()1874 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local1880 callingAppId == Process.NFC_UID || in checkIfCallerIsForegroundUser()1881 callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
1704 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local1705 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()1706 if (!mPowerSaveWhitelistSystemAppIds.get(callingAppId)) { in addPowerSaveTempWhitelistAppDirectInternal()
8727 final int callingAppId = UserHandle.getAppId(callingUid); in checkGrantUriPermissionLocked() local8728 if ((callingAppId == SYSTEM_UID) || (callingAppId == ROOT_UID)) { in checkGrantUriPermissionLocked()