/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 87 return getAppId(uid1) == getAppId(uid2); in isSameApp() 93 final int appId = getAppId(uid); in isIsolated() 103 final int appId = getAppId(uid); in isApp() 143 public static final int getAppId(int uid) { in getAppId() method in UserHandle 167 final int appId = getAppId(uid); in formatUid() 192 final int appId = getAppId(uid); in formatUid()
|
D | Process.java | 698 int uid = UserHandle.getAppId(myUid()); in isIsolated()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 583 if (UserHandle.getAppId(uid) == Process.SYSTEM_UID || uid == 0) { in checkCallerIsSystemOrSameApp() 600 int appId = UserHandle.getAppId(uid); in checkCallerIsSystemOrPhoneApp()
|
/frameworks/base/core/java/android/print/ |
D | PrintJobInfo.java | 335 public int getAppId() { in getAppId() method in PrintJobInfo
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHost.java | 248 if (UserHandle.getAppId(uid) == Process.SYSTEM_UID || uid == 0) { in checkCallerIsSystem()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ProcessRecord.java | 513 int appId = UserHandle.getAppId(info.uid); in toShortString() 523 sb.append(UserHandle.getAppId(uid) - Process.FIRST_ISOLATED_UID); in toShortString()
|
D | ActivityManagerService.java | 1099 if (!showBackground && UserHandle.getAppId(proc.uid) 2731 gids[0] = UserHandle.getSharedAppGid(UserHandle.getAppId(uid)); in startProcessLocked() 4226 appId = UserHandle.getAppId(pm.getPackageUid(packageName, 0)); in killBackgroundProcesses() 4496 forceStopPackageLocked(packageName, UserHandle.getAppId(uid), false, in forceStopPackageLocked() 4561 if (appId >= 0 && UserHandle.getAppId(app.uid) != appId) { in killPackageProcessesLocked() 4568 if (UserHandle.getAppId(app.uid) != appId) { in killPackageProcessesLocked() 4608 appId = UserHandle.getAppId( in forceStopPackageLocked() 4630 if (UserHandle.getAppId(entUid) == appId) { in forceStopPackageLocked() 4716 if (UserHandle.getAppId(pir.uid) != appId) { in forceStopPackageLocked() 5731 return checkComponentPermission(permission, pid, UserHandle.getAppId(uid), -1, true); [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
D | PrintSpoolerService.java | 266 || printJob.getAppId() == appId; in getPrintJobInfos() 299 || appId == printJob.getAppId())) { in getPrintJobInfo() 815 serializer.attribute(null, ATTR_APP_ID, String.valueOf(printJob.getAppId())); in doWriteStateLocked()
|
/frameworks/base/services/java/com/android/server/ |
D | BluetoothManagerService.java | 376 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() 1107 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser()
|
D | AppWidgetServiceImpl.java | 124 if (UserHandle.getAppId(callingUid) == Process.myUid()) { in uidMatches() 1576 if (UserHandle.getAppId(callingUid) == Process.SYSTEM_UID || callingUid == 0) { in enforceSystemOrCallingUid()
|
D | NotificationManagerService.java | 2184 final int appid = UserHandle.getAppId(uid); in isUidSystem()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | Session.java | 85 sb.append(UserHandle.getAppId(mUid)); in Session()
|
/frameworks/base/services/java/com/android/server/print/ |
D | PrintManagerService.java | 573 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions()
|
D | UserState.java | 491 printJob.getAppId(), 0, printJob.getId()).sendToTarget(); in onPrintJobStateChanged() 1552 printJob.getAppId()); in onPrintJobStateChanged()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | PackageManagerService.java | 2203 Object obj = mSettings.getUserIdLPr(UserHandle.getAppId(uid)); in checkUidPermission() 2262 if (bp.uid == UserHandle.getAppId(Binder.getCallingUid())) { in checkPermissionTreeLP() 2509 uid1 = UserHandle.getAppId(uid1); in checkUidSignatures() 2510 uid2 = UserHandle.getAppId(uid2); in checkUidSignatures() 2568 uid = UserHandle.getAppId(uid); in getPackagesForUid() 2593 Object obj = mSettings.getUserIdLPr(UserHandle.getAppId(uid)); in getNameForUid() 2621 Object obj = mSettings.getUserIdLPr(UserHandle.getAppId(uid)); in getFlagsForUid() 2709 UserHandle.getAppId(ri.activityInfo.applicationInfo.uid)); in chooseBestActivity() 6307 uid = UserHandle.getUid(id, UserHandle.getAppId(uid)); in sendPackageBroadcast() 6478 addedAppId = UserHandle.getAppId(p.applicationInfo.uid); in onEvent()
|
D | Settings.java | 2815 int appId = UserHandle.getAppId(uid); in setPackageStoppedStateLPw()
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Vpn.java | 633 int appId = UserHandle.getAppId(Binder.getCallingUid()); in enforceControlPermission()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 591 UserHandle.getAppId(Process.myUid())); in registerService()
|