Home
last modified time | relevance | path

Searched refs:sinceLast (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryStatsInternal.java43 public abstract void noteJobsDeferred(int uid, int numDeferred, long sinceLast); in noteJobsDeferred() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java223 public void noteJobsDeferred(int uid, int numDeferred, long sinceLast) { in noteJobsDeferred() argument
224 if (DBG) Slog.d(TAG, "Jobs deferred " + uid + ": " + numDeferred + " " + sinceLast); in noteJobsDeferred()
225 BatteryStatsService.this.noteJobsDeferred(uid, numDeferred, sinceLast); in noteJobsDeferred()
492 void noteJobsDeferred(int uid, int numDeferred, long sinceLast) { in noteJobsDeferred() argument
495 mStats.noteJobsDeferredLocked(uid, numDeferred, sinceLast); in noteJobsDeferred()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java2139 final long sinceLast = sElapsedRealtimeClock.millis() - mLastHeartbeatTime; in onAlarm() local
2140 final long beatsElapsed = sinceLast / mConstants.STANDBY_HEARTBEAT_TIME; in onAlarm()
2586 long sinceLast = mUsageStats.getTimeSinceLastJobRun(packageName, userId); in onUserInteractionStarted() local
2587 if (sinceLast > 2 * DateUtils.DAY_IN_MILLIS) { in onUserInteractionStarted()
2589 sinceLast = 0L; in onUserInteractionStarted()
2595 if (counter.numDeferred() > 0 || sinceLast > 0) { in onUserInteractionStarted()
2598 mBatteryStatsInternal.noteJobsDeferred(uid, counter.numDeferred(), sinceLast); in onUserInteractionStarted()
2600 counter.numDeferred(), sinceLast); in onUserInteractionStarted()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4067 public void noteJobsDeferredLocked(int uid, int numDeferred, long sinceLast) { in noteJobsDeferredLocked() argument
4069 getUidStatsLocked(uid).noteJobsDeferredLocked(numDeferred, sinceLast); in noteJobsDeferredLocked()
8646 public void noteJobsDeferredLocked(int numDeferred, long sinceLast) { in noteJobsDeferredLocked() argument
8649 if (sinceLast != 0) { in noteJobsDeferredLocked()
8651 mJobsFreshnessTimeMs.addCountLocked(sinceLast); in noteJobsDeferredLocked()
8654 if (sinceLast < JOB_FRESHNESS_BUCKETS[i]) { in noteJobsDeferredLocked()