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()
1198 final int callingAppId = UserHandle.getAppId(uid); in isSystemPackage() local1199 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage()1200 sSystemUids.put(callingAppId, callingAppId); in isSystemPackage()
1028 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local1029 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()2329 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local2334 || callingAppId == Process.NFC_UID || callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
2535 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local2536 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()2537 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()
946 final int callingAppId = UserHandle.getAppId(callingUid); in shouldAbortBackgroundActivityStart() local947 if (callingUid == Process.ROOT_UID || callingAppId == Process.SYSTEM_UID in shouldAbortBackgroundActivityStart()948 || callingAppId == Process.NFC_UID) { in shouldAbortBackgroundActivityStart()
17887 final int callingAppId = UserHandle.getAppId(Binder.getCallingUid());17888 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.SHELL_UID17889 && callingAppId != Process.ROOT_UID) {24969 final int callingAppId = UserHandle.getAppId(callingUid);24974 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&24990 final int callingAppId = UserHandle.getAppId(callingUid);24995 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&25009 final int callingAppId = UserHandle.getAppId(callingUid);25014 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID