Searched refs:ListeningInstruction (Results 1 – 6 of 6) sorted by relevance
40 import com.android.timezone.location.provider.core.LocationListeningAccountant.ListeningInstruction;76 ListeningInstruction activeInstruction = new ListeningInstruction( in locationFoundImmediately()78 ListeningInstruction passiveInstruction = new ListeningInstruction( in locationFoundImmediately()138 ListeningInstruction activeInstruction = new ListeningInstruction( in locationNotFoundImmediately()140 ListeningInstruction passiveInstruction = new ListeningInstruction( in locationNotFoundImmediately()560 private final LinkedList<ListeningInstruction> mListeningInstructions = new LinkedList<>();576 public ListeningInstruction getNextListeningInstruction(long elapsedRealtimeMillis,588 FakeLocationListeningAccountant addInstruction(ListeningInstruction listeningInstruction) {
69 final class ListeningInstruction { class79 public ListeningInstruction(@ListenModeEnum int listenMode, @NonNull Duration duration) { in ListeningInstruction() method in LocationListeningAccountant.ListeningInstruction92 ListeningInstruction that = (ListeningInstruction) o; in equals()113 ListeningInstruction getNextListeningInstruction(long elapsedRealtimeMillis, in getNextListeningInstruction()
44 import com.android.timezone.location.provider.core.LocationListeningAccountant.ListeningInstruction;626 ListeningInstruction nextModeInstruction; in startNextLocationListening()
29 import com.android.timezone.location.provider.core.LocationListeningAccountant.ListeningInstruction;119 ListeningInstruction instruction = in getNextListeningInstruction_noActiveBudget_noLastLocationResult()138 ListeningInstruction instruction2 = in getNextListeningInstruction_noActiveBudget_noLastLocationResult()151 ListeningInstruction instruction = in getNextListeningInstruction_withSmallActiveBudget_noLastLocationResult()170 ListeningInstruction instruction = in getNextListeningInstruction_withLargeActiveBudget_noLastLocationResult()211 ListeningInstruction instruction = in doLastKnownLocationResultTest()254 ListeningInstruction instruction =288 ListeningInstruction instruction =
119 public synchronized ListeningInstruction getNextListeningInstruction( in getNextListeningInstruction()144 return new ListeningInstruction(LOCATION_LISTEN_MODE_ACTIVE, activeModeDuration); in getNextListeningInstruction()169 return new ListeningInstruction(LOCATION_LISTEN_MODE_PASSIVE, passiveModeDuration); in getNextListeningInstruction()
66 public synchronized ListeningInstruction getNextListeningInstruction( in getNextListeningInstruction()