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.java206 public void noteJobsDeferred(int uid, int numDeferred, long sinceLast) { in noteJobsDeferred() argument
207 if (DBG) Slog.d(TAG, "Jobs deferred " + uid + ": " + numDeferred + " " + sinceLast); in noteJobsDeferred()
208 BatteryStatsService.this.noteJobsDeferred(uid, numDeferred, sinceLast); in noteJobsDeferred()
472 void noteJobsDeferred(int uid, int numDeferred, long sinceLast) { in noteJobsDeferred() argument
475 mStats.noteJobsDeferredLocked(uid, numDeferred, sinceLast); in noteJobsDeferred()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1849 final long sinceLast = sElapsedRealtimeClock.millis() - mLastHeartbeatTime; in onAlarm() local
1850 final long beatsElapsed = sinceLast / mConstants.STANDBY_HEARTBEAT_TIME; in onAlarm()
2402 long sinceLast = mUsageStats.getTimeSinceLastJobRun(packageName, userId); in onUserInteractionStarted() local
2403 if (sinceLast > 2 * DateUtils.DAY_IN_MILLIS) { in onUserInteractionStarted()
2405 sinceLast = 0L; in onUserInteractionStarted()
2411 if (counter.numDeferred() > 0 || sinceLast > 0) { in onUserInteractionStarted()
2414 mBatteryStatsInternal.noteJobsDeferred(uid, counter.numDeferred(), sinceLast); in onUserInteractionStarted()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4206 public void noteJobsDeferredLocked(int uid, int numDeferred, long sinceLast) { in noteJobsDeferredLocked() argument
4208 getUidStatsLocked(uid).noteJobsDeferredLocked(numDeferred, sinceLast); in noteJobsDeferredLocked()
8848 public void noteJobsDeferredLocked(int numDeferred, long sinceLast) { in noteJobsDeferredLocked() argument
8851 if (sinceLast != 0) { in noteJobsDeferredLocked()
8853 mJobsFreshnessTimeMs.addCountLocked(sinceLast); in noteJobsDeferredLocked()
8856 if (sinceLast < JOB_FRESHNESS_BUCKETS[i]) { in noteJobsDeferredLocked()