/frameworks/base/core/java/android/os/ |
H A D | UserHandle.java | 127 return getAppId(uid1) == getAppId(uid2); 136 final int appId = getAppId(uid); 150 final int appId = getAppId(uid); 163 final int appId = getAppId(uid); 198 return getAppId(Binder.getCallingUid()); 224 public static @AppIdInt int getAppId(int uid) { method in class:UserHandle 238 return getSharedAppGid(getUserId(uid), getAppId(uid)); 257 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID 267 return getCacheAppGid(getUserId(uid), getAppId(ui [all...] |
H A D | Process.java | 616 uid = UserHandle.getAppId(uid);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | UserHandleTest.java | 20 import static android.os.UserHandle.getAppId; 118 return getAppId(uid);
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | NanoAppStateManager.java | 88 if (info.getContexthubId() == contextHubId && info.getAppId() == nanoAppId) { 161 !nanoAppIdSet.contains(info.getAppId())) {
|
H A D | ContextHubService.java | 389 long nanoAppId = info.getAppId(); 481 info.getAppId(), msg.getMsgType(), msg.getData());
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | NanoAppFilter.java | 131 (mAppId == APP_ANY || info.getAppId() == mAppId) &&
|
H A D | NanoAppInstanceInfo.java | 89 public long getAppId() { method in class:NanoAppInstanceInfo
|
H A D | NanoApp.java | 238 public long getAppId() { method in class:NanoApp
|
/frameworks/base/services/core/java/com/android/server/os/ |
H A D | DeviceIdentifiersPolicyService.java | 57 if (UserHandle.getAppId(Binder.getCallingUid()) != Process.SYSTEM_UID
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | InstallerTest.java | 99 final int appId = UserHandle.getAppId(app.uid); 177 final int appId = UserHandle.getAppId(app.uid);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsAccess.java | 117 || UserHandle.getAppId(callingUid) == android.os.Process.SYSTEM_UID) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageSetting.java | 123 public int getAppId() { method in class:PackageSetting
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | DeviceIdleJobsController.java | 195 UserHandle.getAppId(job.getSourceUid())) >= 0; 203 UserHandle.getAppId(job.getSourceUid()));
|
/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | CacheQuotaStrategy.java | 230 UserHandle.getAppId(uid), proposedQuota); 233 UserHandle.getAppId(uid), proposedQuota);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppStateTracker.java | 1102 final int appId = UserHandle.getAppId(uid); 1201 return ArrayUtils.contains(mPowerWhitelistedAllAppIds, UserHandle.getAppId(uid)); 1211 return ArrayUtils.contains(mPowerWhitelistedUserAppIds, UserHandle.getAppId(uid)); 1222 return ArrayUtils.contains(mTempWhitelistedAppIds, UserHandle.getAppId(uid));
|
H A D | BluetoothManagerService.java | 840 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); 857 final boolean callerSystem = UserHandle.getAppId(callingUid) == Process.SYSTEM_UID; 901 final boolean callerSystem = UserHandle.getAppId(callingUid) == Process.SYSTEM_UID; 1990 int callingAppId = UserHandle.getAppId(callingUid);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessRecord.java | 695 proto.write(ProcessRecordProto.APP_ID, UserHandle.getAppId(info.uid)); 697 proto.write(ProcessRecordProto.ISOLATED_APP_ID, UserHandle.getAppId(uid)); 723 int appId = UserHandle.getAppId(info.uid); 733 sb.append(UserHandle.getAppId(uid) - Process.FIRST_ISOLATED_UID);
|
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | JobPackageTracker.java | 328 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) { 392 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) { 578 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) { 629 if (filterUid != -1 && filterUid != UserHandle.getAppId(uid)) {
|
H A D | JobSchedulerService.java | 3026 final int filterUidFinal = UserHandle.getAppId(filterUid); 3030 return filterUidFinal == -1 || UserHandle.getAppId(js.getUid()) == filterUidFinal 3031 || UserHandle.getAppId(js.getSourceUid()) == filterUidFinal; 3115 if (filterUidFinal == -1 || filterUidFinal == UserHandle.getAppId(uid)) { 3126 if (filterUidFinal == -1 || filterUidFinal == UserHandle.getAppId(uid)) { 3209 final int filterUidFinal = UserHandle.getAppId(filterUid); 3213 return filterUidFinal == -1 || UserHandle.getAppId(js.getUid()) == filterUidFinal 3214 || UserHandle.getAppId(js.getSourceUid()) == filterUidFinal; 3279 if (filterUidFinal == -1 || filterUidFinal == UserHandle.getAppId(uid)) { 3289 if (filterUidFinal == -1 || filterUidFinal == UserHandle.getAppId(ui [all...] |
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | ArtManagerService.java | 245 int appId = UserHandle.getAppId(info.applicationInfo.uid); 393 final int appId = UserHandle.getAppId(pkg.applicationInfo.uid);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | StorageStatsService.java | 301 final int appId = UserHandle.getAppId(uid); 415 final int appId = UserHandle.getAppId(app.uid);
|
H A D | AppStandbyController.java | 621 UserHandle.getAppId(uid), 911 final int appId = getAppId(packageName); 975 int getAppId(String packageName) { method in class:AppStandbyController 995 return isAppIdleFiltered(packageName, getAppId(packageName), userId, elapsedRealtime); 1096 boolean idle = isAppIdleFiltered(ai.packageName, UserHandle.getAppId(ai.uid),
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsUsageMonitor.java | 584 int appId = UserHandle.getAppId(uid); 602 int appId = UserHandle.getAppId(uid);
|
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | PrintManagerService.java | 338 final int appId = UserHandle.getAppId(Binder.getCallingUid()); 341 if (appId != Process.SYSTEM_UID && appId != UserHandle.getAppId( 1043 final int callingAppId = UserHandle.getAppId(callingUid);
|
/frameworks/base/core/java/android/print/ |
H A D | PrintJobInfo.java | 422 public int getAppId() { method in class:PrintJobInfo
|