/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeAlarmHelper.java | 50 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/ |
D | DeviceIdlenessTrackerTest.java | 145 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/ |
D | AlarmQueueTest.java | 103 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/ |
D | TimeControllerTest.java | 126 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()
|
D | PrefetchControllerTest.java | 208 private Clock getShiftedClock(Clock clock, long incrementMs) { in getShiftedClock() argument 209 return Clock.offset(clock, Duration.ofMillis(incrementMs)); in getShiftedClock()
|
D | FlexibilityControllerTest.java | 237 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument 239 sElapsedRealtimeClock, Duration.ofMillis(incrementMs)); in advanceElapsedClock()
|
D | ConnectivityControllerTest.java | 1786 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument 1788 JobSchedulerService.sElapsedRealtimeClock, Duration.ofMillis(incrementMs)); in advanceElapsedClock()
|
D | QuotaControllerTest.java | 283 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/ |
D | CountQuotaTrackerTest.java | 196 private void advanceElapsedClock(long incrementMs) { in advanceElapsedClock() argument 197 mInjector.mElapsedTime += incrementMs; in advanceElapsedClock()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 230 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/ |
D | JobStatus.java | 1654 public void incrementCumulativeExecutionTime(long incrementMs) { in incrementCumulativeExecutionTime() argument 1655 mCumulativeExecutionTimeMs += incrementMs; in incrementCumulativeExecutionTime()
|