Searched refs:callingAppId (Results 1 – 7 of 7) sorted by relevance
1044 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions() local1045 if (appId == callingAppId || callingAppId == SHELL_UID in resolveCallingAppEnforcingPermissions()1046 || callingAppId == Process.SYSTEM_UID) { in resolveCallingAppEnforcingPermissions()1052 throw new SecurityException("Call from app " + callingAppId + " as app " in resolveCallingAppEnforcingPermissions()
1151 final int callingAppId = UserHandle.getAppId(uid); in isSystemPackage() local1152 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage()1153 sSystemUids.put(callingAppId, callingAppId); in isSystemPackage()
883 int callingAppId = UserHandle.getAppId(callingUid); in enableNoAutoConnect() local885 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()2098 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local2103 || callingAppId == Process.NFC_UID || callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
2375 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local2376 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()2377 if (!mPowerSaveWhitelistSystemAppIds.get(callingAppId)) { in addPowerSaveTempWhitelistAppDirectInternal()
1033 final int callingAppId = UserHandle.getAppId(callingUid); in checkGrantUriPermission() local1034 if ((callingAppId == SYSTEM_UID) || (callingAppId == ROOT_UID)) { in checkGrantUriPermission()
944 final int callingAppId = UserHandle.getAppId(callingUid); in shouldAbortBackgroundActivityStart() local945 if (callingUid == Process.ROOT_UID || callingAppId == Process.SYSTEM_UID in shouldAbortBackgroundActivityStart()946 || callingAppId == Process.NFC_UID) { in shouldAbortBackgroundActivityStart()
18444 final int callingAppId = UserHandle.getAppId(Binder.getCallingUid());18445 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.SHELL_UID18446 && callingAppId != Process.ROOT_UID) {25503 final int callingAppId = UserHandle.getAppId(callingUid);25508 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&25524 final int callingAppId = UserHandle.getAppId(callingUid);25529 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&25543 final int callingAppId = UserHandle.getAppId(callingUid);25548 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID