/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmStore.java | 99 ArrayList<Alarm> removePendingAlarms(long nowElapsed); in removePendingAlarms() 129 void dump(IndentingPrintWriter ipw, long nowElapsed, SimpleDateFormat sdf); in dump() 134 void dumpProto(ProtoOutputStream pos, long nowElapsed); in dumpProto()
|
D | LazyAlarmStore.java | 165 public ArrayList<Alarm> removePendingAlarms(long nowElapsed) { in removePendingAlarms() 230 public void dump(IndentingPrintWriter ipw, long nowElapsed, SimpleDateFormat sdf) { in dump() 239 public void dumpProto(ProtoOutputStream pos, long nowElapsed) { in dumpProto()
|
D | AlarmManagerService.java | 410 void replenishQuota(String packageName, int userId, int quota, long nowElapsed) { in replenishQuota() 437 void recordUsage(String packageName, int userId, long nowElapsed) { in recordUsage() 468 void cleanUpExpiredQuotas(long nowElapsed) { in cleanUpExpiredQuotas() 491 void dump(IndentingPrintWriter pw, long nowElapsed) { in dump() 529 void recordAlarmForPackage(String packageName, int userId, long nowElapsed) { in recordAlarmForPackage() 580 void dump(IndentingPrintWriter pw, long nowElapsed) { in dump() 592 TimeUtils.formatDuration(timestamps.get(j), nowElapsed, pw); in dump() local 615 RemovedAlarm(Alarm a, int removeReason, long nowRtc, long nowElapsed) { in RemovedAlarm() 647 void dump(IndentingPrintWriter pw, long nowElapsed, SimpleDateFormat sdf) { in dump() 1354 long getMinimumAllowedWindow(long nowElapsed, long triggerElapsed) { in getMinimumAllowedWindow() [all …]
|
D | Alarm.java | 381 public void dumpDebug(ProtoOutputStream proto, long fieldId, long nowElapsed) { in dumpDebug() 419 void dump(IndentingPrintWriter pw, long nowElapsed) { in dump()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | PrefetchController.java | 108 long prevEstimatedLaunchTime, long newEstimatedLaunchTime, long nowElapsed); in onPrefetchCacheUpdated() 162 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeStartTrackingJobLocked() local 241 @ElapsedRealtimeLong long nowElapsed, int userId, String pkgName) { in maybeUpdateConstraintForPkgLocked() 263 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeUpdateConstraintForUid() local 310 final long nowElapsed = sElapsedRealtimeClock.millis(); in processUpdatedEstimatedLaunchTime() local 327 @CurrentTimeMillisLong long now, @ElapsedRealtimeLong long nowElapsed) { in updateConstraintLocked() 357 @CurrentTimeMillisLong long now, @ElapsedRealtimeLong long nowElapsed) { in updateThresholdAlarmLocked() 409 final long nowElapsed = sElapsedRealtimeClock.millis(); in onConstantsUpdatedLocked() local 449 final long nowElapsed = sElapsedRealtimeClock.millis(); in processExpiredAlarms() local
|
D | FlexibilityController.java | 241 public void addScore(int add, long nowElapsed) { in addScore() 270 public int getScore(long nowElapsed) { in getScore() 290 public void dump(@NonNull IndentingPrintWriter pw, long nowElapsed) { in dump() 381 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeStartTrackingJobLocked() local 531 final long nowElapsed = sElapsedRealtimeClock.millis(); in hasEnoughSatisfiedConstraintsLocked() local 571 void setConstraintSatisfied(int constraint, boolean state, long nowElapsed) { in setConstraintSatisfied() 652 int getScoreLocked(int uid, @NonNull String pkgName, long nowElapsed) { in getScoreLocked() 659 long getLifeCycleEndElapsedLocked(JobStatus js, long nowElapsed, long earliest) { in getLifeCycleEndElapsedLocked() 705 int getCurPercentOfLifecycleLocked(JobStatus js, long nowElapsed) { in getCurPercentOfLifecycleLocked() 761 final long nowElapsed = sElapsedRealtimeClock.millis(); in onUidBiasChangedLocked() local [all …]
|
D | TimeController.java | 422 final long nowElapsed = sElapsedRealtimeClock.millis(); in dumpControllerStateLocked() local 446 TimeUtils.formatDuration(ts.getEarliestRunTime(), nowElapsed, pw); in dumpControllerStateLocked() local 452 TimeUtils.formatDuration(ts.getLatestRunTimeElapsed(), nowElapsed, pw); in dumpControllerStateLocked() local 466 final long nowElapsed = sElapsedRealtimeClock.millis(); in dumpControllerStateLocked() local
|
D | JobStatus.java | 1807 boolean setChargingConstraintSatisfied(final long nowElapsed, boolean state) { in setChargingConstraintSatisfied() 1812 boolean setBatteryNotLowConstraintSatisfied(final long nowElapsed, boolean state) { in setBatteryNotLowConstraintSatisfied() 1817 boolean setStorageNotLowConstraintSatisfied(final long nowElapsed, boolean state) { in setStorageNotLowConstraintSatisfied() 1822 boolean setPrefetchConstraintSatisfied(final long nowElapsed, boolean state) { in setPrefetchConstraintSatisfied() 1827 boolean setTimingDelayConstraintSatisfied(final long nowElapsed, boolean state) { in setTimingDelayConstraintSatisfied() 1832 boolean setDeadlineConstraintSatisfied(final long nowElapsed, boolean state) { in setDeadlineConstraintSatisfied() 1842 boolean setIdleConstraintSatisfied(final long nowElapsed, boolean state) { in setIdleConstraintSatisfied() 1847 boolean setConnectivityConstraintSatisfied(final long nowElapsed, boolean state) { in setConnectivityConstraintSatisfied() 1852 boolean setContentTriggerConstraintSatisfied(final long nowElapsed, boolean state) { in setContentTriggerConstraintSatisfied() 1857 boolean setDeviceNotDozingConstraintSatisfied(final long nowElapsed, in setDeviceNotDozingConstraintSatisfied() [all …]
|
D | IdleController.java | 69 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeStartTrackingJobLocked() local 116 final long nowElapsed = sElapsedRealtimeClock.millis(); in reportNewIdleState() local
|
D | StorageController.java | 68 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeStartTrackingJobLocked() local 84 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeReportNewStorageState() local
|
D | BatteryController.java | 77 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeStartTrackingJobLocked() local 186 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeReportNewChargingStateLocked() local
|
D | ConnectivityController.java | 610 final long nowElapsed = sElapsedRealtimeClock.millis(); in onUserRemovedLocked() local 1211 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeAdjustRegisteredCallbacksLocked() local 1305 private boolean unregisterDefaultNetworkCallbackLocked(int uid, long nowElapsed) { in unregisterDefaultNetworkCallbackLocked() 1391 final long nowElapsed = sElapsedRealtimeClock.millis(); in updateConstraintsSatisfied() local 1403 private boolean updateConstraintsSatisfied(JobStatus jobStatus, final long nowElapsed, in updateConstraintsSatisfied() 1528 final long nowElapsed = sElapsedRealtimeClock.millis(); in updateTrackedJobsLocked() local 1578 final long nowElapsed = sElapsedRealtimeClock.millis(); in isNetworkInStateForJobRunLocked() local
|
D | QuotaController.java | 588 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeStartTrackingJobLocked() local 826 long nowElapsed) { in hasTempAllowlistExemptionLocked() 852 final long nowElapsed = sElapsedRealtimeClock.millis(); in isWithinEJQuotaLocked() local 1014 final long nowElapsed = sElapsedRealtimeClock.millis(); in getRemainingEJExecutionTimeLocked() local 1064 final long nowElapsed = sElapsedRealtimeClock.millis(); in getTimeUntilQuotaConsumedLocked() local 1187 final long nowElapsed = sElapsedRealtimeClock.millis(); in getTimeUntilEJQuotaConsumedLocked() local 1295 final long nowElapsed = sElapsedRealtimeClock.millis(); in updateExecutionStatsLocked() local 1439 final long nowElapsed = sElapsedRealtimeClock.millis(); in invalidateAllExecutionStatsLocked() local 1457 final long nowElapsed = sElapsedRealtimeClock.millis(); in invalidateAllExecutionStatsLocked() local 1550 final long nowElapsed = sElapsedRealtimeClock.millis(); in grantRewardForInstantEvent() local [all …]
|
D | ContentObserverController.java | 80 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeStartTrackingJobLocked() local 324 final long nowElapsed = sElapsedRealtimeClock.millis(); in trigger() local
|
D | DeviceIdleJobsController.java | 212 private boolean updateTaskStateLocked(JobStatus task, final long nowElapsed) { in updateTaskStateLocked()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/idle/ |
D | DeviceIdlenessTrackerTest.java | 174 final long nowElapsed = sElapsedRealtimeClock.millis(); in testAlarmSkippedIfAlreadyIdle() local 212 final long nowElapsed = sElapsedRealtimeClock.millis(); in testAlarmSkippedIfNoThresholdChange() local 245 final long nowElapsed = sElapsedRealtimeClock.millis(); in testThresholdChangeWithStablePowerChange() local
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | FlexibilityControllerTest.java | 428 final long nowElapsed = sElapsedRealtimeClock.millis(); in testOnConstantsUpdated_FallbackDeadline() local 632 long nowElapsed = FROZEN_TIME; in testCurPercent() local 696 final long nowElapsed = JobSchedulerService.sElapsedRealtimeClock.millis(); in testGetLifeCycleBeginningElapsedLocked_Periodic() local 789 final long nowElapsed = sElapsedRealtimeClock.millis(); in testGetLifeCycleEndElapsedLocked_Prefetch() local 815 final long nowElapsed = sElapsedRealtimeClock.millis(); in testGetLifeCycleEndElapsedLocked_NonPrefetch() local 845 final long nowElapsed = sElapsedRealtimeClock.millis(); in testGetLifeCycleEndElapsedLocked_Rescheduled() local 887 final long nowElapsed = sElapsedRealtimeClock.millis(); in testGetLifeCycleEndElapsedLocked_ScoreAddition() local 1041 final long nowElapsed = 51 * HOUR_IN_MILLIS; in testFlexibilityTracker() local 1618 long nowElapsed = startElapsed; in testCalculateNumDroppedConstraints() local 1765 final long nowElapsed = 150L; in testOnPrefetchCacheUpdated() local [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 977 final long nowElapsed = mInjector.getElapsedRealtimeMillis(); in updateOomAdjInnerLSP() local 1086 long now, long nowElapsed, long oldTime, boolean doingAll) { in postUpdateOomAdjInnerLSP() 1295 private void updateAndTrimProcessLSP(final long now, final long nowElapsed, in updateAndTrimProcessLSP() 1484 protected void updateUidsLSP(ActiveUids activeUids, final long nowElapsed) { in updateUidsLSP() 1527 mLogger.logSetLastBackgroundTime(uidRec.getUid(), nowElapsed); in updateUidsLSP() local 1617 mService.mInternal.deletePendingTopUid(uidRec.getUid(), nowElapsed); in updateUidsLSP() local 3354 long nowElapsed, @OomAdjReason int oomAdjReason) { in applyOomAdjLSP() 3361 long nowElapsed, @OomAdjReason int oomAdjReson, boolean isBatchingOomAdj) { in applyOomAdjLSP() 3684 void maybeUpdateUsageStats(ProcessRecord app, long nowElapsed) { in maybeUpdateUsageStats() 3693 private void maybeUpdateUsageStatsLSP(ProcessRecord app, long nowElapsed) { in maybeUpdateUsageStatsLSP() [all …]
|
D | PendingStartActivityUids.java | 52 synchronized void delete(int uid, long nowElapsed) { in delete()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobServiceContext.java | 673 long getRemainingGuaranteedTimeMs(long nowElapsed) { in getRemainingGuaranteedTimeMs() 1067 final long nowElapsed = sElapsedRealtimeClock.millis(); in assertCallerLocked() local 1179 final long nowElapsed = sElapsedRealtimeClock.millis(); in doCancelLocked() local 1381 final long nowElapsed = sElapsedRealtimeClock.millis(); in handleOpTimeoutLocked() local 1495 final long nowElapsed = sElapsedRealtimeClock.millis(); in closeAndCleanupJobLocked() local 1669 final long nowElapsed = sElapsedRealtimeClock.millis(); in scheduleOpTimeOutLocked() local 1704 void dumpLocked(IndentingPrintWriter pw, final long nowElapsed) { in dumpLocked()
|
D | JobPackageTracker.java | 318 void dump(IndentingPrintWriter pw, String header, long now, long nowElapsed, in dump() 395 void dump(ProtoOutputStream proto, long fieldId, long now, long nowElapsed, int filterUid) { in dump() 538 final long nowElapsed = sElapsedRealtimeClock.millis(); in dump() local 559 final long nowElapsed = sElapsedRealtimeClock.millis(); in dump() local
|
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/ |
D | CpuWakeupStats.java | 308 public synchronized void dump(IndentingPrintWriter pw, long nowElapsed) { in dump() 338 TimeUtils.formatDuration(mWakeupEvents.keyAt(i), nowElapsed, pw); in dump() local 472 void dump(IndentingPrintWriter pw, long nowElapsed) { in dump() 483 TimeUtils.formatDuration(wakingActivity.keyAt(j), nowElapsed, pw); in dump() local
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | CountQuotaTracker.java | 187 final long nowElapsed = mInjector.getElapsedRealtime(); in noteEvent() local 418 final long nowElapsed = mInjector.getElapsedRealtime(); in updateExecutionStatsLocked() local 452 final long nowElapsed = mInjector.getElapsedRealtime(); in invalidateAllExecutionStatsLocked() local 466 final long nowElapsed = mInjector.getElapsedRealtime(); in invalidateAllExecutionStatsLocked() local
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsUidStateTracker.java | 124 void dumpUidState(PrintWriter pw, int uid, long nowElapsed); in dumpUidState()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/ |
D | DeviceIdlenessTracker.java | 309 final long nowElapsed = sElapsedRealtimeClock.millis(); in maybeScheduleIdlenessCheck() local
|