Home
last modified time | relevance | path

Searched refs:CountryResult (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
H A DNitzStateMachineTestSupportTest.java43 import com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult;
67 CountryResult expectedCountryLookupResult = new CountryResult( in test_uniqueUs_assumptions()
70 CountryResult actualCountryLookupResult = in test_uniqueUs_assumptions()
103 CountryResult expectedCountryLookupResult = new CountryResult( in test_nonUniqueUs_assumptions()
106 CountryResult actualCountryLookupResult = in test_nonUniqueUs_assumptions()
131 CountryResult expectedCountryLookupResult = new CountryResult( in test_unitedKingdom_assumptions()
133 CountryResult actualCountryLookupResult = in test_unitedKingdom_assumptions()
156 CountryResult expectedCountryLookupResult = new CountryResult( in test_newZealand_assumptions()
158 CountryResult actualCountryLookupResult = in test_newZealand_assumptions()
194 CountryResult expectedCountryLookupResult = new CountryResult( in test_czechia_assumptions()
[all …]
H A DTimeZoneLookupHelperTest.java20 import static com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult.QUALITY_DEFAUL…
22 import static com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult.QUALITY_MULTIP…
23 import static com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult.QUALITY_SINGLE…
36 import com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult;
319 CountryResult expectedResult = in testLookupByCountry_oneZone()
320 new CountryResult("Europe/London", QUALITY_SINGLE_ZONE, ARBITRARY_DEBUG_INFO); in testLookupByCountry_oneZone()
339 CountryResult expectedResult = new CountryResult( in testLookupByCountry_oneEffectiveZone()
352 new CountryResult("Europe/Berlin", QUALITY_SINGLE_ZONE, ARBITRARY_DEBUG_INFO); in testLookupByCountry_oneEffectiveZone()
369 CountryResult expectedResult = new CountryResult( in testDefaultBoostBehavior()
411 CountryResult expectedResult = new CountryResult( in testNoDefaultBoostBehavior()
[all …]
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
H A DTimeZoneLookupHelper.java19 import static com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult.QUALITY_MULTIP…
20 import static com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult.QUALITY_MULTIP…
50 public static final class CountryResult { class in TimeZoneLookupHelper
78 public CountryResult(@NonNull String zoneId, @Quality int quality, String debugInfo) { in CountryResult() method in TimeZoneLookupHelper.CountryResult
92 CountryResult that = (CountryResult) o; in equals()
198 public CountryResult lookupByCountry(@NonNull String isoCountryCode, long whenMillis) { in lookupByCountry()
213 matchQuality = CountryResult.QUALITY_DEFAULT_BOOSTED; in lookupByCountry()
225 matchQuality = CountryResult.QUALITY_SINGLE_ZONE; in lookupByCountry()
237 return new CountryResult(countryDefaultZone.getID(), matchQuality, debugInfo); in lookupByCountry()
H A DTimeZoneSuggesterImpl.java32 import com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult;
202 CountryResult countryResult = mTimeZoneLookupHelper.lookupByCountry( in findTimeZoneFromCountryAndNitz()
214 if (countryResult.quality == CountryResult.QUALITY_SINGLE_ZONE in findTimeZoneFromCountryAndNitz()
215 || countryResult.quality == CountryResult.QUALITY_DEFAULT_BOOSTED) { in findTimeZoneFromCountryAndNitz()
251 CountryResult lookupResult = mTimeZoneLookupHelper.lookupByCountry( in findTimeZoneFromNetworkCountryCode()
259 if (lookupResult.quality == CountryResult.QUALITY_SINGLE_ZONE in findTimeZoneFromNetworkCountryCode()
260 || lookupResult.quality == CountryResult.QUALITY_DEFAULT_BOOSTED) { in findTimeZoneFromNetworkCountryCode()
262 } else if (lookupResult.quality == CountryResult.QUALITY_MULTIPLE_ZONES_SAME_OFFSET) { in findTimeZoneFromNetworkCountryCode()
265 == CountryResult.QUALITY_MULTIPLE_ZONES_DIFFERENT_OFFSETS) { in findTimeZoneFromNetworkCountryCode()
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes10205 com.android.internal.telephony.nitz.TimeZoneLookupHelper$CountryResult$Quality
10206 com.android.internal.telephony.nitz.TimeZoneLookupHelper$CountryResult
H A Dboot-image-profile.txt34849 Lcom/android/internal/telephony/nitz/TimeZoneLookupHelper$CountryResult$Quality;
34850 Lcom/android/internal/telephony/nitz/TimeZoneLookupHelper$CountryResult;
/aosp12/frameworks/base/config/
H A Dpreloaded-classes10226 com.android.internal.telephony.nitz.TimeZoneLookupHelper$CountryResult$Quality
10227 com.android.internal.telephony.nitz.TimeZoneLookupHelper$CountryResult
H A Dboot-image-profile.txt44513 Lcom/android/internal/telephony/nitz/TimeZoneLookupHelper$CountryResult$Quality;
44514 Lcom/android/internal/telephony/nitz/TimeZoneLookupHelper$CountryResult;