/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 111 return getAppId(uid1) == getAppId(uid2); in isSameApp() 117 final int appId = getAppId(uid); in isIsolated() 127 final int appId = getAppId(uid); in isApp() 183 public static @AppIdInt int getAppId(int uid) { in getAppId() method in UserHandle 209 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid() 237 final int appId = getAppId(uid); in formatUid() 273 final int appId = getAppId(uid); in formatUid()
|
D | Process.java | 572 uid = UserHandle.getAppId(uid); in isIsolated()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | DeviceIdentifiersPolicyService.java | 57 if (UserHandle.getAppId(Binder.getCallingUid()) != Process.SYSTEM_UID in getSerial()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | InstallerTest.java | 88 final int appId = UserHandle.getAppId(app.uid); in testGetAppSize() 162 final int appId = UserHandle.getAppId(app.uid); in getAppIds()
|
/frameworks/base/core/java/android/hardware/location/ |
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 | 233 public long getAppId() { in getAppId() method in NanoApp
|
/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 | 673 return filterUid == -1 || UserHandle.getAppId(getUid()) == filterUid in shouldDump() 674 || UserHandle.getAppId(getSourceUid()) == filterUid; in shouldDump()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 230 UserHandle.getAppId(uid), proposedQuota); in pushProcessedQuotas() 233 UserHandle.getAppId(uid), proposedQuota); in pushProcessedQuotas()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 286 final int appId = UserHandle.getAppId(Binder.getCallingUid()); in setPrintServiceEnabled() 289 if (appId != Process.SYSTEM_UID && appId != UserHandle.getAppId( in setPrintServiceEnabled() 895 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 564 UserHandle.getAppId(pi.applicationInfo.uid), in checkIdleStates() 776 final int appId = getAppId(packageName); in forceIdleState() 907 int getAppId(String packageName) { in getAppId() method in UsageStatsService 927 return isAppIdleFiltered(packageName, getAppId(packageName), userId, elapsedRealtime); in isAppIdleFilteredOrParoled() 1024 boolean idle = isAppIdleFiltered(ai.packageName, UserHandle.getAppId(ai.uid), in getIdleUidsForUser() 1483 final int appId = getAppId(packageName); in setAppInactive()
|
D | StorageStatsService.java | 289 final int appId = UserHandle.getAppId(uid); in queryStatsForUid() 402 final int appId = UserHandle.getAppId(app.uid); in getAppIds()
|
/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() 442 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) { in dumpHistory()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 1351 int appid = UserHandle.getAppId(ai.uid); in onStart() 1363 int appid = UserHandle.getAppId(ai.uid); in onStart() 1485 if (mPowerSaveWhitelistUserApps.put(name, UserHandle.getAppId(ai.uid)) == null) { in addPowerSaveWhitelistAppInternal() 1520 if (mPowerSaveWhitelistAppsExceptIdle.put(name, UserHandle.getAppId(ai.uid)) in addPowerSaveWhitelistExceptIdleInternal() 1689 int appId = UserHandle.getAppId(uid); in addPowerSaveTempWhitelistAppInternal() 1704 int callingAppId = UserHandle.getAppId(callingUid); in addPowerSaveTempWhitelistAppDirectInternal() 2508 UserHandle.getAppId(ai.uid)); in readConfigFileLocked()
|
D | BluetoothManagerService.java | 796 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); in enableNoAutoConnect() 812 final boolean callerSystem = UserHandle.getAppId(callingUid) == Process.SYSTEM_UID; in enable() 855 final boolean callerSystem = UserHandle.getAppId(callingUid) == Process.SYSTEM_UID; in disable() 1874 int callingAppId = UserHandle.getAppId(callingUid); in checkIfCallerIsForegroundUser()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubService.java | 148 long appId = app.getAppId(); in loadNanoApp()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 1118 && UserHandle.getAppId(Binder.getCallingUid()) >= Process.FIRST_APPLICATION_UID; in isNewSsaidSetting() 1124 UserHandle.getUid(owningUserId, UserHandle.getAppId(Binder.getCallingUid()))); in getSsaidSettingLocked() 1555 final int appId = UserHandle.getAppId(callingUid); 1616 final int appId = UserHandle.getAppId(callingUid); 1694 if (UserHandle.getAppId(Binder.getCallingUid()) < Process.FIRST_APPLICATION_UID) { 1708 if (UserHandle.getAppId(Binder.getCallingUid()) < Process.FIRST_APPLICATION_UID) { 1967 final int appId = UserHandle.getAppId(Binder.getCallingUid());
|
D | SettingsState.java | 1038 final int callingAppId = UserHandle.getAppId(callingUid); in isSystemPackage() 1062 if (UserHandle.getAppId(uid) < FIRST_APPLICATION_UID) { in isSystemPackage()
|
/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 | 637 int appId = UserHandle.getAppId(info.uid); in toShortString() 647 sb.append(UserHandle.getAppId(uid) - Process.FIRST_ISOLATED_UID); in toShortString()
|
D | AppErrors.java | 214 if (UserHandle.getAppId(entUid) == appId) { in resetProcessCrashTimeLocked() 716 boolean isBackground = (UserHandle.getAppId(proc.uid) in handleShowAppErrorUi()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 295 || printJob.getAppId() == appId; in getPrintJobInfos() 328 || appId == printJob.getAppId())) { in getPrintJobInfo() 901 serializer.attribute(null, ATTR_APP_ID, String.valueOf(printJob.getAppId())); in doWriteStateLocked()
|