Home
last modified time | relevance | path

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

/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/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneLookupHelperTest.java174 assertFalse(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_filterByEffectiveDate()
182 assertTrue(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_filterByEffectiveDate()
197 assertTrue(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_multipleMatches()
205 assertTrue(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_multipleMatches()
214 assertFalse(offsetResult.isOnlyMatch()); in testLookupByNitzCountry_multipleMatches()
389 assertTrue(majorityOffsetResult.isOnlyMatch()); in testDefaultBoostBehavior()
398 assertTrue(chathamOffsetResult.isOnlyMatch()); in testDefaultBoostBehavior()
429 assertTrue(chuukOffsetResult.isOnlyMatch()); in testNoDefaultBoostBehavior()
494 private static void assertOffsetResultMetadata(boolean isOnlyMatch, OffsetResult lookupResult) { in assertOffsetResultMetadata() argument
495 assertEquals(isOnlyMatch, lookupResult.isOnlyMatch()); in assertOffsetResultMetadata()
DNitzStateMachineTestSupportTest.java125 assertFalse(actualLookupResult.isOnlyMatch()); in test_nonUniqueUs_assumptions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DTimeZoneLookupHelper.java268 boolean isOnlyMatch = true; in lookupByInstantOffsetDst()
275 isOnlyMatch = false; in lookupByInstantOffsetDst()
284 return new OffsetResult(match, isOnlyMatch); in lookupByInstantOffsetDst()
DTimeZoneSuggesterImpl.java153 int quality = lookupResult.isOnlyMatch() in findTimeZoneForTestNetwork()
192 int quality = lookupResult.isOnlyMatch() in findTimeZoneFromCountryAndNitz()