Home
last modified time | relevance | path

Searched refs:accrueActiveListeningBudget (Results 1 – 6 of 6) sorted by relevance

/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/
DRealLocationListeningAccountantTest.java91 mAccountant.accrueActiveListeningBudget(millis(tooSmall)); in accrueActiveListeningBudget_capped()
94 mAccountant.accrueActiveListeningBudget(millis(PASSIVE_TO_ACTIVE_RATIO)); in accrueActiveListeningBudget_capped()
97 mAccountant.accrueActiveListeningBudget(millis(PASSIVE_TO_ACTIVE_RATIO).multipliedBy(5)); in accrueActiveListeningBudget_capped()
103 mAccountant.accrueActiveListeningBudget(increment); in accrueActiveListeningBudget_capped()
108 mAccountant.accrueActiveListeningBudget(increment); in accrueActiveListeningBudget_capped()
136 mAccountant.accrueActiveListeningBudget(instruction.duration); in getNextListeningInstruction_noActiveBudget_noLastLocationResult()
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/
DDelegatingLocationListeningAccountant.java60 public synchronized void accrueActiveListeningBudget(@NonNull Duration timeInPassiveMode) { in accrueActiveListeningBudget() method in DelegatingLocationListeningAccountant
61 mDelegate.accrueActiveListeningBudget(timeInPassiveMode); in accrueActiveListeningBudget()
DRealLocationListeningAccountant.java111 public void accrueActiveListeningBudget(@NonNull Duration timeInPassiveMode) { in accrueActiveListeningBudget() method in RealLocationListeningAccountant
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DLocationListeningAccountant.java66 void accrueActiveListeningBudget(@NonNull Duration timeInPassiveMode); in accrueActiveListeningBudget() method
DOfflineLocationTimeZoneDelegate.java435 mLocationListeningAccountant.accrueActiveListeningBudget(duration); in onPassiveListeningEnded()
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegateTest.java570 public void accrueActiveListeningBudget(@NonNull Duration timeInPassiveMode) {