Home
last modified time | relevance | path

Searched refs:incrementMs (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeAlarmHelper.java50 public void incrementAlarmTime(long incrementMs) { in incrementAlarmTime() argument
54 alarm.delayMs -= incrementMs; in incrementAlarmTime()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/idle/
DDeviceIdlenessTrackerTest.java145 private Clock getAdvancedClock(Clock clock, long incrementMs) { in getAdvancedClock() argument
146 return Clock.offset(clock, Duration.ofMillis(incrementMs)); in getAdvancedClock()
149 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument
151 JobSchedulerService.sElapsedRealtimeClock, incrementMs); in advanceElapsedClock()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/
DAlarmQueueTest.java103 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument
104 mInjector.mElapsedTime += incrementMs; in advanceElapsedClock()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DTimeControllerTest.java126 private Clock getAdvancedClock(Clock clock, long incrementMs) { in getAdvancedClock() argument
127 return Clock.offset(clock, Duration.ofMillis(incrementMs)); in getAdvancedClock()
130 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument
132 JobSchedulerService.sElapsedRealtimeClock, incrementMs); in advanceElapsedClock()
DPrefetchControllerTest.java208 private Clock getShiftedClock(Clock clock, long incrementMs) { in getShiftedClock() argument
209 return Clock.offset(clock, Duration.ofMillis(incrementMs)); in getShiftedClock()
DFlexibilityControllerTest.java237 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument
239 sElapsedRealtimeClock, Duration.ofMillis(incrementMs)); in advanceElapsedClock()
DConnectivityControllerTest.java1786 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument
1788 JobSchedulerService.sElapsedRealtimeClock, Duration.ofMillis(incrementMs)); in advanceElapsedClock()
DQuotaControllerTest.java283 private Clock getAdvancedClock(Clock clock, long incrementMs) { in getAdvancedClock() argument
284 return Clock.offset(clock, Duration.ofMillis(incrementMs)); in getAdvancedClock()
287 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument
289 JobSchedulerService.sElapsedRealtimeClock, incrementMs); in advanceElapsedClock()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java196 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument
197 mInjector.mElapsedTime += incrementMs; in advanceElapsedClock()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java230 private Clock getAdvancedClock(Clock clock, long incrementMs) { in getAdvancedClock() argument
231 return Clock.offset(clock, Duration.ofMillis(incrementMs)); in getAdvancedClock()
234 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument
236 JobSchedulerService.sElapsedRealtimeClock, incrementMs); in advanceElapsedClock()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java1654 public void incrementCumulativeExecutionTime(long incrementMs) { in incrementCumulativeExecutionTime() argument
1655 mCumulativeExecutionTimeMs += incrementMs; in incrementCumulativeExecutionTime()