Home
last modified time | relevance | path

Searched refs:getSuggestion (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DZoneInfoDbTimeZoneProviderEventPreProcessor.java41 if (event.getSuggestion() == null || event.getSuggestion().getTimeZoneIds().isEmpty()) { in preProcess()
71 for (String timeZone : event.getSuggestion().getTimeZoneIds()) { in hasInvalidZones()
DLocationTimeZoneManagerShellCommand.java267 if (lastEvent.getSuggestion() != null) { in runDumpControllerState()
270 GeolocationTimeZoneSuggestion lastSuggestion = lastEvent.getSuggestion(); in runDumpControllerState()
DLocationTimeZoneProviderController.java643 TimeZoneProviderSuggestion providerSuggestion = providerEvent.getSuggestion(); in handleProviderSuggestion()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DLocationAlgorithmEventTest.java120 assertEquals(event.getSuggestion().getZoneIds(), parsedEvent.getSuggestion().getZoneIds()); in testParseCommandLineArg_suggestionUncertain()
137 assertEquals(event.getSuggestion().getZoneIds(), parsedEvent.getSuggestion().getZoneIds()); in testParseCommandLineArg_suggestionEmpty()
154 assertEquals(event.getSuggestion().getZoneIds(), parsedEvent.getSuggestion().getZoneIds()); in testParseCommandLineArg_suggestionPresent()
DMetricsTimeZoneDetectorStateTest.java103 List<String> expectedZoneIds = LOCATION_ALGORITHM_EVENT.getSuggestion().getZoneIds(); in enhancedMetricsCollectionEnabled()
DTimeZoneDetectorStrategyImplTest.java1600 expectedDeviceTimeZoneId = locationAlgorithmEvent.getSuggestion().getZoneIds().get(0); in testGenerateMetricsState()
1931 GeolocationTimeZoneSuggestion suggestion = event.getSuggestion(); in verifyTimeZoneChangedAndReset()
/frameworks/base/core/tests/timetests/src/android/service/timezone/
DTimeZoneProviderEventTest.java68 assertNull(event.getSuggestion()); in createPermanentFailure()
96 assertEquals(suggestion, event.getSuggestion()); in createSuggestion()
119 assertNull(event.getSuggestion()); in createUncertain()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderControllerTest.java1416 assertNull(state.getLastEvent().getSuggestion()); in stateRecording()
1434 assertNull(state.getLastEvent().getSuggestion()); in stateRecording()
1450 assertEquals(USER1_SUCCESS_LOCATION_TIME_ZONE_EVENT1.getSuggestion().getTimeZoneIds(), in stateRecording()
1451 state.getLastEvent().getSuggestion().getZoneIds()); in stateRecording()
1462 assertEquals(USER1_SUCCESS_LOCATION_TIME_ZONE_EVENT1.getSuggestion().getTimeZoneIds(), in stateRecording()
1463 state.getLastEvent().getSuggestion().getZoneIds()); in stateRecording()
1758 assertNull(latest.getSuggestion()); in assertEventWithNoSuggestionReportedAndCommit()
1769 TimeZoneProviderSuggestion suggestion = event.getSuggestion(); in assertEventWithCertainSuggestionReportedAndCommit()
1818 GeolocationTimeZoneSuggestion suggestion = latestEvent.getSuggestion(); in assertEventWithSuggestionReportedAndCommit()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DLocationAlgorithmEvent.java79 public GeolocationTimeZoneSuggestion getSuggestion() { in getSuggestion() method in LocationAlgorithmEvent
DTimeZoneDetectorStrategyImpl.java668 || latestLocationAlgorithmEvent.getSuggestion() == null) {
672 GeolocationTimeZoneSuggestion suggestion = latestLocationAlgorithmEvent.getSuggestion();
717 GeolocationTimeZoneSuggestion suggestion = latestLocationAlgorithmEvent.getSuggestion();
DMetricsTimeZoneDetectorState.java107 GeolocationTimeZoneSuggestion suggestion = latestLocationAlgorithmEvent.getSuggestion(); in create()
/frameworks/base/core/java/android/service/timezone/
DTimeZoneProviderEvent.java151 public TimeZoneProviderSuggestion getSuggestion() { in getSuggestion() method in TimeZoneProviderEvent