Searched refs:callingAppId (Results 1 – 6 of 6) sorted by relevance
1043 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions() local1044 if (appId == callingAppId || callingAppId == SHELL_UID in resolveCallingAppEnforcingPermissions()1045 || callingAppId == Process.SYSTEM_UID) { in resolveCallingAppEnforcingPermissions()1051 throw new SecurityException("Call from app " + callingAppId + " as app " in resolveCallingAppEnforcingPermissions()
1118 final int callingAppId = UserHandle.getAppId(callingUid); in isSystemPackage() local1119 if (callingAppId < FIRST_APPLICATION_UID) { in isSystemPackage()1120 sSystemUids.put(callingAppId, callingAppId); in isSystemPackage()
840 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() local842 if (callingAppId != Process.NFC_UID) { in enableNoAutoConnect()1990 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser() local1995 || callingAppId == Process.NFC_UID || callingAppId == mSystemUiUid; in checkIfCallerIsForegroundUser()
1847 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() local1848 if (callingAppId >= Process.FIRST_APPLICATION_UID) { in addPowerSaveTempWhitelistAppDirectInternal()1849 if (!mPowerSaveWhitelistSystemAppIds.get(callingAppId)) { in addPowerSaveTempWhitelistAppDirectInternal()
17966 final int callingAppId = UserHandle.getAppId(Binder.getCallingUid());17967 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.SHELL_UID17968 && callingAppId != Process.ROOT_UID) {24586 final int callingAppId = UserHandle.getAppId(callingUid);24591 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&24607 final int callingAppId = UserHandle.getAppId(callingUid);24612 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID &&24626 final int callingAppId = UserHandle.getAppId(callingUid);24631 if (callingAppId != Process.SYSTEM_UID && callingAppId != Process.ROOT_UID
9591 final int callingAppId = UserHandle.getAppId(callingUid); in checkGrantUriPermissionLocked() local9592 if ((callingAppId == SYSTEM_UID) || (callingAppId == ROOT_UID)) { in checkGrantUriPermissionLocked()