Searched refs:getAppId (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/base/core/java/android/os/
H A DUserHandle.java127 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 DProcess.java616 uid = UserHandle.getAppId(uid);
/frameworks/base/core/tests/coretests/src/android/os/
H A DUserHandleTest.java20 import static android.os.UserHandle.getAppId;
118 return getAppId(uid);
/frameworks/base/services/core/java/com/android/server/location/
H A DNanoAppStateManager.java88 if (info.getContexthubId() == contextHubId && info.getAppId() == nanoAppId) {
161 !nanoAppIdSet.contains(info.getAppId())) {
H A DContextHubService.java389 long nanoAppId = info.getAppId();
481 info.getAppId(), msg.getMsgType(), msg.getData());
/frameworks/base/core/java/android/hardware/location/
H A DNanoAppFilter.java131 (mAppId == APP_ANY || info.getAppId() == mAppId) &&
H A DNanoAppInstanceInfo.java89 public long getAppId() { method in class:NanoAppInstanceInfo
H A DNanoApp.java238 public long getAppId() { method in class:NanoApp
/frameworks/base/services/core/java/com/android/server/os/
H A DDeviceIdentifiersPolicyService.java57 if (UserHandle.getAppId(Binder.getCallingUid()) != Process.SYSTEM_UID
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DInstallerTest.java99 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 DNetworkStatsAccess.java117 || UserHandle.getAppId(callingUid) == android.os.Process.SYSTEM_UID) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSetting.java123 public int getAppId() { method in class:PackageSetting
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DDeviceIdleJobsController.java195 UserHandle.getAppId(job.getSourceUid())) >= 0;
203 UserHandle.getAppId(job.getSourceUid()));
/frameworks/base/services/core/java/com/android/server/storage/
H A DCacheQuotaStrategy.java230 UserHandle.getAppId(uid), proposedQuota);
233 UserHandle.getAppId(uid), proposedQuota);
/frameworks/base/services/core/java/com/android/server/
H A DAppStateTracker.java1102 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 DBluetoothManagerService.java840 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 DProcessRecord.java695 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 DJobPackageTracker.java328 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 DJobSchedulerService.java3026 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 DArtManagerService.java245 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 DStorageStatsService.java301 final int appId = UserHandle.getAppId(uid);
415 final int appId = UserHandle.getAppId(app.uid);
H A DAppStandbyController.java621 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 DSmsUsageMonitor.java584 int appId = UserHandle.getAppId(uid);
602 int appId = UserHandle.getAppId(uid);
/frameworks/base/services/print/java/com/android/server/print/
H A DPrintManagerService.java338 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 DPrintJobInfo.java422 public int getAppId() { method in class:PrintJobInfo

Completed in 991 milliseconds

123