Home
last modified time | relevance | path

Searched refs:isOnlyMatch (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneLookupHelperTest.java165 assertFalse(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_filterByEffectiveDate()
173 assertTrue(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_filterByEffectiveDate()
188 assertTrue(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_multipleMatches()
196 assertTrue(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_multipleMatches()
205 assertFalse(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_multipleMatches()
380 assertTrue(majorityOffsetResult.isOnlyMatch()); in testDefaultBoostBehavior()
389 assertTrue(chathamOffsetResult.isOnlyMatch()); in testDefaultBoostBehavior()
420 assertTrue(chuukOffsetResult.isOnlyMatch()); in testNoDefaultBoostBehavior()
473 private static void assertOffsetResultMetadata(boolean isOnlyMatch, OffsetResult lookupResult) { in assertOffsetResultMetadata() argument
474 assertEquals(isOnlyMatch, lookupResult.isOnlyMatch()); in assertOffsetResultMetadata()
DNitzStateMachineTestSupportTest.java119 assertFalse(actualLookupResult.isOnlyMatch()); in test_nonUniqueUs_assumptions()
/frameworks/base/core/java/android/timezone/
DCountryTimeZones.java102 public OffsetResult(@NonNull TimeZone timeZone, boolean isOnlyMatch) { in OffsetResult() argument
104 mIsOnlyMatch = isOnlyMatch; in OffsetResult()
118 public boolean isOnlyMatch() { in isOnlyMatch() method in CountryTimeZones.OffsetResult
229 delegateOffsetResult.getTimeZone(), delegateOffsetResult.isOnlyMatch()); in lookupByOffsetWithBias()
251 delegateOffsetResult.getTimeZone(), delegateOffsetResult.isOnlyMatch()); in lookupByOffsetWithBias()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DTimeZoneLookupHelper.java264 boolean isOnlyMatch = true; in lookupByInstantOffsetDst()
271 isOnlyMatch = false; in lookupByInstantOffsetDst()
280 return new OffsetResult(match, isOnlyMatch); in lookupByInstantOffsetDst()
DTimeZoneSuggesterImpl.java153 int quality = lookupResult.isOnlyMatch() in findTimeZoneForTestNetwork()
192 int quality = lookupResult.isOnlyMatch() in findTimeZoneFromCountryAndNitz()