Home
last modified time | relevance | path

Searched refs:elapsedRealtimeMillis (Results 1 – 8 of 8) sorted by relevance

/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/
DEnvironmentImpl.java270 String identifier = delay + "@" + formatElapsedRealtimeMillis(elapsedRealtimeMillis()); in requestDelayedCallback()
294 long startElapsedRealtimeMillis = elapsedRealtimeMillis(); in startPassiveLocationListening()
300 long resultElapsedRealtimeMillis = elapsedRealtimeMillis(); in startPassiveLocationListening()
348 elapsedRealtimeMillis() - startElapsedRealtimeMillis; in startPassiveLocationListening()
366 long timeListeningMillis = elapsedRealtimeMillis() - startElapsedRealtimeMillis; in startPassiveLocationListening()
391 long startElapsedRealtimeMillis = elapsedRealtimeMillis();
397 long timeListeningMillis = elapsedRealtimeMillis() - startElapsedRealtimeMillis;
415 long resultElapsedRealtimeMillis = elapsedRealtimeMillis();
463 public long elapsedRealtimeMillis() {
DRealLocationListeningAccountant.java120 long elapsedRealtimeMillis, in getNextListeningInstruction() argument
124 elapsedRealtimeMillis, lastLocationListeningResult); in getNextListeningInstruction()
190 private Duration calculateTimeBeforeLastResultIsTooOld(long elapsedRealtimeMillis, in calculateTimeBeforeLastResultIsTooOld() argument
201 lastLocationListeningResult.getLocationAge(elapsedRealtimeMillis); in calculateTimeBeforeLastResultIsTooOld()
206 lastLocationListeningResult.getResultAge(elapsedRealtimeMillis); in calculateTimeBeforeLastResultIsTooOld()
DDelegatingLocationListeningAccountant.java67 long elapsedRealtimeMillis, in getNextListeningInstruction() argument
70 elapsedRealtimeMillis, lastLocationListeningResult); in getNextListeningInstruction()
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DEnvironment.java146 public Duration getResultAge(long elapsedRealtimeMillis) { in getResultAge() argument
147 long ageMillis = elapsedRealtimeMillis - mResultElapsedRealtimeMillis; in getResultAge()
156 public Duration getLocationAge(long elapsedRealtimeMillis) { in getLocationAge() argument
161 long locationAgeMillis = elapsedRealtimeMillis in getLocationAge()
255 long elapsedRealtimeMillis(); in elapsedRealtimeMillis() method
DOfflineLocationTimeZoneDelegate.java271 + formatElapsedRealtimeMillis(mEnvironment.elapsedRealtimeMillis())); in dump()
492 long elapsedRealtimeMillis = in sendTimeZoneCertainResultIfNeeded() local
496 .setElapsedRealtimeMillis(elapsedRealtimeMillis) in sendTimeZoneCertainResultIfNeeded()
583 + formatElapsedRealtimeMillis(mEnvironment.elapsedRealtimeMillis()); in enterStartedMode()
633 long elapsedRealtimeMillis = mEnvironment.elapsedRealtimeMillis(); in startNextLocationListening() local
635 elapsedRealtimeMillis, mLastLocationListeningResult.get()); in startNextLocationListening()
DLogUtils.java42 public static String formatElapsedRealtimeMillis(long elapsedRealtimeMillis) { in formatElapsedRealtimeMillis() argument
43 return Duration.ofMillis(elapsedRealtimeMillis).toString(); in formatElapsedRealtimeMillis()
DLocationListeningAccountant.java113 ListeningInstruction getNextListeningInstruction(long elapsedRealtimeMillis, in getNextListeningInstruction() argument
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegateTest.java258 public long elapsedRealtimeMillis() {
349 this.startElapsedRealtimeMillis = elapsedRealtimeMillis();
384 this.startElapsedRealtimeMillis = elapsedRealtimeMillis();
400 elapsedRealtimeMillis(),
576 public ListeningInstruction getNextListeningInstruction(long elapsedRealtimeMillis,