Home
last modified time | relevance | path

Searched refs:MODE_STARTED (Results 1 – 3 of 3) sorted by relevance

/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegate.java25 import static com.android.timezone.location.provider.core.Mode.MODE_STARTED;
201 if (currentMode.mModeEnum == MODE_STARTED) { in onDestroy()
223 case MODE_STARTED: { in onStartUpdates()
251 case MODE_STARTED: { in onStopUpdates()
304 if (currentMode.mModeEnum != MODE_STARTED in onActiveListeningResult()
346 if (currentMode.mModeEnum != MODE_STARTED in onPassiveListeningResult()
426 if (currentMode.mModeEnum != MODE_STARTED in onPassiveListeningEnded()
648 MODE_STARTED, entryCause, nextModeInstruction.listenMode, listeningCancellable); in startNextLocationListening()
DMode.java69 @IntDef({ MODE_STOPPED, MODE_STARTED, MODE_FAILED, MODE_DESTROYED })
84 static final int MODE_STARTED = 2; field in Mode
185 case MODE_STARTED: in prettyPrintModeEnum()
219 if (modeEnum == MODE_STARTED) { in validateListenModeEnum()
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegateTest.java107 assertEquals(Mode.MODE_STARTED, mDelegate.getCurrentModeEnumForTests()); in locationFoundImmediately()
121 assertEquals(Mode.MODE_STARTED, mDelegate.getCurrentModeEnumForTests()); in locationFoundImmediately()
163 assertEquals(Mode.MODE_STARTED, mDelegate.getCurrentModeEnumForTests()); in locationNotFoundImmediately()