Home
last modified time | relevance | path

Searched refs:estimatedLaunchTime (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/core/java/android/app/usage/
H A DAppLaunchEstimateInfo.java35 public final long estimatedLaunchTime; field in AppLaunchEstimateInfo
39 estimatedLaunchTime = in.readLong(); in AppLaunchEstimateInfo()
43 @CurrentTimeMillisLong long estimatedLaunchTime) { in AppLaunchEstimateInfo() argument
45 this.estimatedLaunchTime = estimatedLaunchTime; in AppLaunchEstimateInfo()
56 dest.writeLong(estimatedLaunchTime); in writeToParcel()
H A DUsageStatsManager.java878 final Long estimatedLaunchTime = estimateEntry.getValue(); in setEstimatedLaunchTimesMillis() local
879 if (estimatedLaunchTime == null || estimatedLaunchTime <= 0) { in setEstimatedLaunchTimesMillis()
882 estimateList.add(new AppLaunchEstimateInfo(pkgName, estimatedLaunchTime)); in setEstimatedLaunchTimesMillis()
H A DIUsageStatsManager.aidl61 void setEstimatedLaunchTime(String packageName, long estimatedLaunchTime, int userId); in setEstimatedLaunchTime() argument
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsService.java1058 final long estimatedLaunchTime = in reportEvent() local
1061 if (estimatedLaunchTime < now || estimatedLaunchTime > now + ONE_WEEK) { in reportEvent()
1481 if (estimatedLaunchTime < now || estimatedLaunchTime == Long.MAX_VALUE) { in getEstimatedPackageLaunchTime()
1496 return estimatedLaunchTime; in getEstimatedPackageLaunchTime()
1589 long estimatedLaunchTime = in handleEstimatedLaunchTimesOnUserUnlock() local
1591 if (estimatedLaunchTime < now || estimatedLaunchTime == Long.MAX_VALUE) { in handleEstimatedLaunchTimesOnUserUnlock()
1598 if (estimatedLaunchTime < now + ONE_WEEK) { in handleEstimatedLaunchTimesOnUserUnlock()
1618 @CurrentTimeMillisLong long estimatedLaunchTime) { in setEstimatedLaunchTime() argument
1620 if (estimatedLaunchTime <= now) { in setEstimatedLaunchTime()
1628 if (estimatedLaunchTime != oldEstimatedLaunchTime) { in setEstimatedLaunchTime()
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DFlexibilityController.java304 final long estimatedLaunchTime = in getLifeCycleBeginningElapsedLocked() local
308 if (estimatedLaunchTime != Long.MAX_VALUE) { in getLifeCycleBeginningElapsedLocked()
310 estimatedLaunchTime - mPrefetchController.getLaunchTimeThresholdMs()); in getLifeCycleBeginningElapsedLocked()
322 final long estimatedLaunchTime = in getLifeCycleEndElapsedLocked() local
329 estimatedLaunchTime - mConstants.PREFETCH_FORCE_BATCH_RELAX_THRESHOLD_MS, in getLifeCycleEndElapsedLocked()
332 if (estimatedLaunchTime != Long.MAX_VALUE) { in getLifeCycleEndElapsedLocked()
333 return estimatedLaunchTime - mConstants.PREFETCH_FORCE_BATCH_RELAX_THRESHOLD_MS; in getLifeCycleEndElapsedLocked()
H A DPrefetchController.java627 final long estimatedLaunchTime = mEstimatedLaunchTimes.valueAt(u, p); in dumpControllerStateLocked() local
631 pw.print(estimatedLaunchTime); in dumpControllerStateLocked()
633 TimeUtils.formatDuration(estimatedLaunchTime - now, pw, in dumpControllerStateLocked()