Home
last modified time | relevance | path

Searched refs:getAppId (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/java/android/os/
DUserHandle.java111 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()
DProcess.java572 uid = UserHandle.getAppId(uid); in isIsolated()
/frameworks/base/services/core/java/com/android/server/os/
DDeviceIdentifiersPolicyService.java57 if (UserHandle.getAppId(Binder.getCallingUid()) != Process.SYSTEM_UID in getSerial()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DInstallerTest.java88 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/
DNanoAppFilter.java129 (mAppId == APP_ANY || info.getAppId() == mAppId) && in testMatch()
DNanoAppInstanceInfo.java100 public long getAppId() { in getAppId() method in NanoAppInstanceInfo
DNanoApp.java233 public long getAppId() { in getAppId() method in NanoApp
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java117 || UserHandle.getAppId(callingUid) == android.os.Process.SYSTEM_UID) { in checkAccessLevel()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DDeviceIdleJobsController.java153 UserHandle.getAppId(job.getSourceUid()))) { in isWhitelistedLocked()
DJobStatus.java673 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/
DCacheQuotaStrategy.java230 UserHandle.getAppId(uid), proposedQuota); in pushProcessedQuotas()
233 UserHandle.getAppId(uid), proposedQuota); in pushProcessedQuotas()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java286 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/
DUsageStatsService.java564 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()
DStorageStatsService.java289 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/
DSmsUsageMonitor.java584 int appId = UserHandle.getAppId(uid); in checkCallerIsSystemOrPhoneOrSameApp()
602 int appId = UserHandle.getAppId(uid); in checkCallerIsSystemOrPhoneApp()
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java301 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/
DDeviceIdleController.java1351 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()
DBluetoothManagerService.java796 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/
DContextHubService.java148 long appId = app.getAppId(); in loadNanoApp()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1118 && 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());
DSettingsState.java1038 final int callingAppId = UserHandle.getAppId(callingUid); in isSystemPackage()
1062 if (UserHandle.getAppId(uid) < FIRST_APPLICATION_UID) { in isSystemPackage()
/frameworks/base/core/java/android/print/
DPrintJobInfo.java416 public int getAppId() { in getAppId() method in PrintJobInfo
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java637 int appId = UserHandle.getAppId(info.uid); in toShortString()
647 sb.append(UserHandle.getAppId(uid) - Process.FIRST_ISOLATED_UID); in toShortString()
DAppErrors.java214 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/
DPrintSpoolerService.java295 || printJob.getAppId() == appId; in getPrintJobInfos()
328 || appId == printJob.getAppId())) { in getPrintJobInfo()
901 serializer.attribute(null, ATTR_APP_ID, String.valueOf(printJob.getAppId())); in doWriteStateLocked()

123