Home
last modified time | relevance | path

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

/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DMode.java69 @IntDef({ MODE_STOPPED, MODE_STARTED, MODE_FAILED, MODE_DESTROYED })
77 static final int MODE_STOPPED = 1; field in Mode
143 return new Mode(MODE_STOPPED, PiiLoggables.fromString("init") /* entryCause */); in createStoppedMode()
183 case MODE_STOPPED: in prettyPrintModeEnum()
211 if (modeEnum < MODE_STOPPED || modeEnum > MODE_FAILED) { in validateModeEnum()
DOfflineLocationTimeZoneDelegate.java26 import static com.android.timezone.location.provider.core.Mode.MODE_STOPPED;
182 if (currentMode.mModeEnum != MODE_STOPPED) { in onBind()
188 Mode newMode = new Mode(MODE_STOPPED, entryCause); in onBind()
219 case MODE_STOPPED: { in onStartUpdates()
246 case MODE_STOPPED: { in onStopUpdates()
613 Mode newMode = new Mode(MODE_STOPPED, entryCause); in enterStoppedMode()
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegateTest.java91 assertEquals(Mode.MODE_STOPPED, mDelegate.getCurrentModeEnumForTests()); in locationFoundImmediately()
96 assertEquals(Mode.MODE_STOPPED, mDelegate.getCurrentModeEnumForTests()); in locationFoundImmediately()
147 assertEquals(Mode.MODE_STOPPED, mDelegate.getCurrentModeEnumForTests()); in locationNotFoundImmediately()
152 assertEquals(Mode.MODE_STOPPED, mDelegate.getCurrentModeEnumForTests()); in locationNotFoundImmediately()