/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 153 return getAppId(uid1) == getAppId(uid2); in isSameApp() 178 final int appId = getAppId(uid); in isApp() 191 final int appId = getAppId(uid); in isCore() 228 return getAppId(Binder.getCallingUid()); in getCallingAppId() 256 public static @AppIdInt int getAppId(int uid) { in getAppId() method in UserHandle 270 return getSharedAppGid(getUserId(uid), getAppId(uid)); in getSharedAppGid() 290 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid() 300 return getCacheAppGid(getUserId(uid), getAppId(uid)); in getCacheAppGid() 323 final int appId = getAppId(uid); in formatUid() 365 final int appId = getAppId(uid); in formatUid()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | UserHandleTest.java | 20 import static android.os.UserHandle.getAppId; 118 return getAppId(uid); in multiuser_get_app_id()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | NanoAppStateManager.java | 92 if (info.getContexthubId() == contextHubId && info.getAppId() == nanoAppId) { in getNanoAppHandle() 165 !nanoAppIdSet.contains(info.getAppId())) { in updateCache()
|
D | ContextHubService.java | 396 long nanoAppId = info.getAppId(); 490 info.getAppId(), msg.getMsgType(), msg.getData());
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinderCallsStatsService.java | 69 final int appId = UserHandle.getAppId(callingUid); in resolveWorkSourceUid() 99 trustlist.add(UserHandle.getAppId(Process.myUid())); in createAppidTrustlist() 111 final int appId = UserHandle.getAppId(uid); in createAppidTrustlist()
|
D | AppStateTracker.java | 1104 final int appId = UserHandle.getAppId(uid); in isRestricted() 1203 return ArrayUtils.contains(mPowerWhitelistedAllAppIds, UserHandle.getAppId(uid)); in isUidPowerSaveWhitelisted() 1213 return ArrayUtils.contains(mPowerWhitelistedUserAppIds, UserHandle.getAppId(uid)); in isUidPowerSaveUserWhitelisted() 1224 return ArrayUtils.contains(mTempWhitelistedAppIds, UserHandle.getAppId(uid)); in isUidTempPowerSaveWhitelisted()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 575 int appId = UserHandle.getAppId(uid); in checkCallerIsSystemOrPhoneOrSameApp() 583 if (UserHandle.getAppId(ai.uid) != UserHandle.getAppId(uid)) { in checkCallerIsSystemOrPhoneOrSameApp() 594 int appId = UserHandle.getAppId(uid); in checkCallerIsSystemOrPhoneApp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | InstallerTest.java | 100 final int appId = UserHandle.getAppId(app.uid); in testGetAppSize() 178 final int appId = UserHandle.getAppId(app.uid); in getAppIds()
|
/frameworks/base/core/java/android/hardware/location/ |
D | NanoAppFilter.java | 131 (mAppId == APP_ANY || info.getAppId() == mAppId) && in testMatch()
|
D | NanoAppInstanceInfo.java | 89 public long getAppId() { in getAppId() method in NanoAppInstanceInfo
|
D | NanoApp.java | 243 public long getAppId() { in getAppId() method in NanoApp
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AppIdToPackageMap.java | 74 final int appId = UserHandle.getAppId(uid); in mapUid()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | DeviceIdleJobsController.java | 195 UserHandle.getAppId(job.getSourceUid())) >= 0; in isWhitelistedLocked() 203 UserHandle.getAppId(job.getSourceUid())); in isTempWhitelistedLocked()
|
/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/ |
D | JobPackageTracker.java | 328 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) { in dump() 392 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) { in dump() 578 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) { in dumpHistory() 629 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) { in dumpHistory()
|
D | JobSchedulerService.java | 3243 final int filterUidFinal = UserHandle.getAppId(filterUid); in dumpInternal() 3249 return filterUidFinal == -1 || UserHandle.getAppId(js.getUid()) == filterUidFinal in dumpInternal() 3250 || UserHandle.getAppId(js.getSourceUid()) == filterUidFinal; in dumpInternal() 3342 if (filterUidFinal == -1 || filterUidFinal == UserHandle.getAppId(uid)) { in dumpInternal() 3353 if (filterUidFinal == -1 || filterUidFinal == UserHandle.getAppId(uid)) { in dumpInternal() 3439 final int filterUidFinal = UserHandle.getAppId(filterUid); in dumpInternalProto() 3444 return filterUidFinal == -1 || UserHandle.getAppId(js.getUid()) == filterUidFinal in dumpInternalProto() 3445 || UserHandle.getAppId(js.getSourceUid()) == filterUidFinal; in dumpInternalProto() 3517 if (filterUidFinal == -1 || filterUidFinal == UserHandle.getAppId(uid)) { in dumpInternalProto() 3527 if (filterUidFinal == -1 || filterUidFinal == UserHandle.getAppId(uid)) { in dumpInternalProto()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 171 mAllApps.add(UserHandle.getAppId(uid)); in startMonitoring() 388 mAllApps.add(UserHandle.getAppId(uid)); in onPackageAdded() 416 mAllApps.remove(UserHandle.getAppId(uid)); in onPackageRemoved()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessRecord.java | 581 appZygote = (UserHandle.getAppId(_uid) >= Process.FIRST_APP_ZYGOTE_ISOLATED_UID in ProcessRecord() 582 && UserHandle.getAppId(_uid) <= Process.LAST_APP_ZYGOTE_ISOLATED_UID); in ProcessRecord() 795 if (UserHandle.getAppId(info.uid) >= Process.FIRST_APPLICATION_UID) { in writeToProto() 797 proto.write(ProcessRecordProto.APP_ID, UserHandle.getAppId(info.uid)); in writeToProto() 800 proto.write(ProcessRecordProto.ISOLATED_APP_ID, UserHandle.getAppId(uid)); in writeToProto() 828 int appId = UserHandle.getAppId(info.uid); in toShortString() 838 sb.append(UserHandle.getAppId(uid) - Process.FIRST_ISOLATED_UID); in toShortString()
|
D | ProcessList.java | 1581 gids[0] = UserHandle.getSharedAppGid(UserHandle.getAppId(uid)); 1582 gids[1] = UserHandle.getCacheAppGid(UserHandle.getAppId(uid)); 1743 mService.forceStopPackageLocked(app.info.packageName, UserHandle.getAppId(app.uid), 1795 UserHandle.getAppId(app.uid), 1813 mService.forceStopPackageLocked(app.info.packageName, UserHandle.getAppId(app.uid), 2284 if (appId >= 0 && UserHandle.getAppId(app.uid) != appId) { in killPackageProcessesLocked() 2293 if (!isDep && UserHandle.getAppId(app.uid) != appId) { in killPackageProcessesLocked() 2328 if (appId >= 0 && UserHandle.getAppId(appZygoteUid) != appId) { in killPackageProcessesLocked() 2416 UserHandle.getAppId(proc.uid)) >= 0 in addProcessNameLocked()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 229 UserHandle.getAppId(uid), proposedQuota); in pushProcessedQuotas() 232 UserHandle.getAppId(uid), proposedQuota); in pushProcessedQuotas()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSetting.java | 123 public int getAppId() { in getAppId() method in PackageSetting
|
/frameworks/base/services/net/java/android/net/ |
D | NetworkStackClient.java | 106 && UserHandle.getAppId(caller) != Process.BLUETOOTH_UID) { in checkCallerUid()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 245 int appId = UserHandle.getAppId(info.applicationInfo.uid); in snapshotAppProfile() 398 final int appId = UserHandle.getAppId(pkg.applicationInfo.uid); in prepareAppProfiles()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 300 final int appId = UserHandle.getAppId(uid); in queryStatsForUid() 414 final int appId = UserHandle.getAppId(app.uid); in getAppIds()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 339 final int appId = UserHandle.getAppId(Binder.getCallingUid()); in setPrintServiceEnabled() 342 if (appId != Process.SYSTEM_UID && appId != UserHandle.getAppId( in setPrintServiceEnabled() 1044 final int callingAppId = UserHandle.getAppId(callingUid); in resolveCallingAppEnforcingPermissions()
|