Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/android/os/
DBatteryStatsInternal.java90 public abstract void noteJobsDeferred(int uid, int numDeferred, long sinceLast); in noteJobsDeferred() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java708 public void noteJobsDeferred(int uid, int numDeferred, long sinceLast) { in noteJobsDeferred() argument
709 if (DBG) Slog.d(TAG, "Jobs deferred " + uid + ": " + numDeferred + " " + sinceLast); in noteJobsDeferred()
710 BatteryStatsService.this.noteJobsDeferred(uid, numDeferred, sinceLast); in noteJobsDeferred()
1273 void noteJobsDeferred(final int uid, final int numDeferred, final long sinceLast) { in noteJobsDeferred() argument
1280 mStats.noteJobsDeferredLocked(uid, numDeferred, sinceLast, in noteJobsDeferred()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java4595 long sinceLast = sUsageStatsManagerInternal.getTimeSinceLastJobRun(packageName, userId);
4596 if (sinceLast > 2 * DateUtils.DAY_IN_MILLIS) {
4598 sinceLast = 0L;
4604 if (counter.numDeferred() > 0 || sinceLast > 0) {
4605 mBatteryStatsInternal.noteJobsDeferred(uid, counter.numDeferred(), sinceLast);
4608 counter.numDeferred(), sinceLast);
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java4808 public void noteJobsDeferredLocked(int uid, int numDeferred, long sinceLast, in noteJobsDeferredLocked() argument
4812 .noteJobsDeferredLocked(numDeferred, sinceLast); in noteJobsDeferredLocked()
9992 public void noteJobsDeferredLocked(int numDeferred, long sinceLast) { in noteJobsDeferredLocked() argument
9995 if (sinceLast != 0) { in noteJobsDeferredLocked()
9997 mJobsFreshnessTimeMs.addCountLocked(sinceLast); in noteJobsDeferredLocked()
10000 if (sinceLast < JOB_FRESHNESS_BUCKETS[i]) { in noteJobsDeferredLocked()