/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 109 return getAppId(uid1) == getAppId(uid2); in isSameApp() 115 final int appId = getAppId(uid); in isIsolated() 125 final int appId = getAppId(uid); in isApp() 181 public static @AppIdInt int getAppId(int uid) { in getAppId() method in UserHandle 207 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid() 226 final int appId = getAppId(uid); in formatUid() 262 final int appId = getAppId(uid); in formatUid()
|
D | Process.java | 885 uid = UserHandle.getAppId(uid); in isIsolated()
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubService.java | 90 if (app.getAppId() == APP_ID_ACTIVITY_RECOGNITION) { 178 return app.getAppId(); in parseAppId() 196 long appId = app.getAppId(); in loadNanoApp()
|
D | NanoAppFilter.java | 129 (mAppId == APP_ANY || info.getAppId() == mAppId) && in testMatch()
|
D | NanoAppInstanceInfo.java | 100 public long getAppId() { in getAppId() method in NanoAppInstanceInfo
|
D | NanoApp.java | 212 public int getAppId() { in getAppId() method in NanoApp
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 491 UserHandle.getAppId(pi.applicationInfo.uid), in checkIdleStates() 680 final int appId = getAppId(packageName); in forceIdleState() 791 int getAppId(String packageName) { in getAppId() method in UsageStatsService 806 return isAppIdleFiltered(packageName, getAppId(packageName), userId, elapsedRealtime); in isAppIdleFilteredOrParoled() 903 boolean idle = isAppIdleFiltered(ai.packageName, UserHandle.getAppId(ai.uid), in getIdleUidsForUser() 1342 final int appId = getAppId(packageName); in setAppInactive()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 117 || UserHandle.getAppId(callingUid) == android.os.Process.SYSTEM_UID) { in checkAccessLevel()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | DeviceIdleJobsController.java | 153 UserHandle.getAppId(job.getSourceUid()))) { in isWhitelistedLocked()
|
D | JobStatus.java | 428 return filterUid == -1 || UserHandle.getAppId(getUid()) == filterUid in shouldDump() 429 || UserHandle.getAppId(getSourceUid()) == filterUid; in shouldDump()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 287 final int appId = UserHandle.getAppId(Binder.getCallingUid()); in setPrintServiceEnabled() 290 if (appId != Process.SYSTEM_UID && appId != UserHandle.getAppId( in setPrintServiceEnabled() 894 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 584 int appId = UserHandle.getAppId(uid); in checkCallerIsSystemOrPhoneOrSameApp() 602 int appId = UserHandle.getAppId(uid); in checkCallerIsSystemOrPhoneApp()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobPackageTracker.java | 301 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) { in dump() 440 if (filterUid != -1 && filterUid != UserHandle.getAppId(filterUid)) { in dumpHistory()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 1316 int appid = UserHandle.getAppId(ai.uid); in onStart() 1328 int appid = UserHandle.getAppId(ai.uid); in onStart() 1448 if (mPowerSaveWhitelistUserApps.put(name, UserHandle.getAppId(ai.uid)) == null) { in addPowerSaveWhitelistAppInternal() 1613 int appId = UserHandle.getAppId(uid); in addPowerSaveTempWhitelistAppInternal() 1628 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() 2417 UserHandle.getAppId(ai.uid)); in readConfigFileLocked()
|
D | BluetoothManagerService.java | 696 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() 712 final boolean callerSystem = UserHandle.getAppId(callingUid) == Process.SYSTEM_UID; in enable() 748 final boolean callerSystem = UserHandle.getAppId(callingUid) == Process.SYSTEM_UID; in disable() 1747 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser()
|
/frameworks/base/core/java/android/print/ |
D | PrintJobInfo.java | 416 public int getAppId() { in getAppId() method in PrintJobInfo
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessRecord.java | 636 int appId = UserHandle.getAppId(info.uid); in toShortString() 646 sb.append(UserHandle.getAppId(uid) - Process.FIRST_ISOLATED_UID); in toShortString()
|
D | AppErrors.java | 212 if (UserHandle.getAppId(entUid) == appId) { in resetProcessCrashTimeLocked() 692 boolean isBackground = (UserHandle.getAppId(proc.uid) in handleShowAppErrorUi()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 293 || printJob.getAppId() == appId; in getPrintJobInfos() 326 || appId == printJob.getAppId())) { in getPrintJobInfo() 899 serializer.attribute(null, ATTR_APP_ID, String.valueOf(printJob.getAppId())); in doWriteStateLocked()
|
/frameworks/base/core/java/android/content/pm/ |
D | ApplicationInfo.java | 1083 uid = UserHandle.getUid(userId, UserHandle.getAppId(uid)); in initForUser()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | IPrintManagerParametersTest.java | 74 mAppId = UserHandle.getAppId(Process.myUid()); in IPrintManagerParametersTest()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Session.java | 96 sb.append(UserHandle.getAppId(mUid)); in Session()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 2266 if (UserHandle.getAppId(callingUid) != Process.SYSTEM_UID) { in getAuthTokenLabel() 3449 if (UserHandle.getAppId(Binder.getCallingUid()) != Process.SYSTEM_UID) { in hasAccountAccess() 3512 if (UserHandle.getAppId(Binder.getCallingUid()) != Process.SYSTEM_UID) { in createRequestAccountAccessIntentSenderAsUser() 4085 if (UserHandle.getAppId(uid) == Process.SYSTEM_UID) { 5372 if (UserHandle.getAppId(callerUid) == Process.SYSTEM_UID) { 5489 if (UserHandle.getAppId(callerUid) == Process.SYSTEM_UID) { 5607 if (UserHandle.getAppId(callingUid) != Process.SYSTEM_UID) {
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 1250 uid = UserHandle.getUid(getCurrentUserId(), UserHandle.getAppId(uid)); in adjustStreamVolume() 1543 uid = UserHandle.getUid(getCurrentUserId(), UserHandle.getAppId(uid)); in setStreamVolume() 1906 uid = UserHandle.getUid(userId, UserHandle.getAppId(uid)); in setMasterMuteInternal() 2002 uid = UserHandle.getUid(userId, UserHandle.getAppId(uid)); in setMicrophoneMute() 5426 if (UserHandle.getAppId(pkg.applicationInfo.uid) < FIRST_APPLICATION_UID) { in killBackgroundUserProcessesWithRecordAudioPermission() 5441 ActivityManagerNative.getDefault().killUid(UserHandle.getAppId(uid), in killBackgroundUserProcessesWithRecordAudioPermission()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 528 && UserHandle.getAppId(uid) >= Process.FIRST_APPLICATION_UID) { in processAppUsage()
|