Searched refs:getAppId (Results 1 – 8 of 8) sorted by relevance
56 return getAppId(uid1) == getAppId(uid2); in isSameApp()60 uid = getAppId(uid); in isIsolated()66 uid = UserId.getAppId(uid); in isApp()105 public static final int getAppId(int uid) { in getAppId() method in UserId
638 int uid = UserId.getAppId(myUid()); in isIsolated()
99 if (UserId.getAppId(callingUid) != android.os.Process.SYSTEM_UID) { in checkWritePermission()107 if (UserId.getAppId(callingUid) != android.os.Process.SYSTEM_UID) { in checkPasswordReadPermission()115 if (UserId.getAppId(callingUid) != android.os.Process.SYSTEM_UID in checkReadPermission()
428 final int appId = UserId.getAppId(uid);1190 final int appId = UserId.getAppId(uid); in readPolicyLocked()1700 final int appId = UserId.getAppId(app.uid); in updateRulesForRestrictBackgroundLocked()1729 final int appId = UserId.getAppId(uid); in updateRulesForUidLocked()
394 sb.append(UserId.getAppId(uid) - Process.FIRST_ISOLATED_UID); in toShortString()
4726 return checkComponentPermission(permission, pid, UserId.getAppId(uid), -1, true);4736 UserId.getAppId(Binder.getCallingUid()));4867 uid = UserId.getAppId(uid); in checkUriPermission()11985 if (UserId.getAppId(aInfo.uid) >= Process.FIRST_APPLICATION_UID) { in isSingleton()
1965 Object obj = mSettings.getUserIdLPr(UserId.getAppId(uid)); in checkUidPermission()1999 if (bp.uid == UserId.getAppId(Binder.getCallingUid())) { in checkPermissionTreeLP()2202 uid1 = UserId.getAppId(uid1); in checkUidSignatures()2203 uid2 = UserId.getAppId(uid2); in checkUidSignatures()2261 uid = UserId.getAppId(uid); in getPackagesForUid()2286 Object obj = mSettings.getUserIdLPr(UserId.getAppId(uid)); in getNameForUid()5122 uid = UserId.getUid(id, UserId.getAppId(uid)); in sendPackageBroadcast()
2340 int appId = UserId.getAppId(uid); in setPackageStoppedStateLPw()