Home
last modified time | relevance | path

Searched refs:getAppId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/os/
DUserId.java56 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
DProcess.java638 int uid = UserId.getAppId(myUid()); in isIsolated()
/frameworks/base/core/java/com/android/internal/widget/
DLockSettingsService.java99 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()
/frameworks/base/services/java/com/android/server/net/
DNetworkPolicyManagerService.java428 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()
/frameworks/base/services/java/com/android/server/am/
DProcessRecord.java394 sb.append(UserId.getAppId(uid) - Process.FIRST_ISOLATED_UID); in toShortString()
DActivityManagerService.java4726 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()
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java1965 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()
DSettings.java2340 int appId = UserId.getAppId(uid); in setPackageStoppedStateLPw()