Home
last modified time | relevance | path

Searched refs:QUALITY_SINGLE_ZONE (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneSuggesterImplTest.java25 import static android.app.timezonedetector.TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE;
162 .setQuality(QUALITY_SINGLE_ZONE) in test_uniqueUsZone()
270 .setQuality(QUALITY_SINGLE_ZONE) in test_unitedKingdom()
304 .setQuality(QUALITY_SINGLE_ZONE) in test_unitedKingdom()
323 .setQuality(QUALITY_SINGLE_ZONE) in test_unitedKingdom()
348 .setQuality(QUALITY_SINGLE_ZONE) in test_cz()
383 .setQuality(QUALITY_SINGLE_ZONE) in test_cz()
402 .setQuality(QUALITY_SINGLE_ZONE) in test_cz()
422 .setQuality(QUALITY_SINGLE_ZONE) in test_bogusCzNitzSignal()
509 .setQuality(QUALITY_SINGLE_ZONE) in test_emulatorNitzExtensionUsedForTimeZone()
[all …]
DNitzStateMachineTestSupportTest.java35 … static com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult.QUALITY_SINGLE_ZONE;
132 UNITED_KINGDOM_COUNTRY_DEFAULT_ZONE_ID, QUALITY_SINGLE_ZONE, ARBITRARY_DEBUG_INFO); in test_unitedKingdom_assumptions()
195 CZECHIA_COUNTRY_DEFAULT_ZONE_ID, QUALITY_SINGLE_ZONE, ARBITRARY_DEBUG_INFO); in test_czechia_assumptions()
DTimeZoneLookupHelperTest.java23 … static com.android.internal.telephony.nitz.TimeZoneLookupHelper.CountryResult.QUALITY_SINGLE_ZONE;
317 new CountryResult("Europe/London", QUALITY_SINGLE_ZONE, ARBITRARY_DEBUG_INFO); in testLookupByCountry_oneZone()
349 new CountryResult("Europe/Berlin", QUALITY_SINGLE_ZONE, ARBITRARY_DEBUG_INFO); in testLookupByCountry_oneEffectiveZone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DTimeZoneSuggesterImpl.java69 .setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE) in getTimeZoneSuggestion()
154 ? TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE in findTimeZoneForTestNetwork()
193 ? TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE in findTimeZoneFromCountryAndNitz()
214 if (countryResult.quality == CountryResult.QUALITY_SINGLE_ZONE in findTimeZoneFromCountryAndNitz()
219 suggestionBuilder.setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE); in findTimeZoneFromCountryAndNitz()
259 if (lookupResult.quality == CountryResult.QUALITY_SINGLE_ZONE in findTimeZoneFromNetworkCountryCode()
261 quality = TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE; in findTimeZoneFromNetworkCountryCode()
DTimeZoneLookupHelper.java52 @IntDef({ QUALITY_SINGLE_ZONE, QUALITY_DEFAULT_BOOSTED, QUALITY_MULTIPLE_ZONES_SAME_OFFSET,
57 public static final int QUALITY_SINGLE_ZONE = 1; field in TimeZoneLookupHelper.CountryResult
225 matchQuality = CountryResult.QUALITY_SINGLE_ZONE; in lookupByCountry()
/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/
DTelephonyTimeZoneSuggestionTest.java66 builder1.setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE); in testEquals()
75 builder2.setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE); in testEquals()
104 builder1.setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE); in testEquals()
145 builder.setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE); in testBuilderValidates_zoneSet_badMatchType()
157 builder.setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE); in testParcelable()
207 .setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE) in testParseCommandLineArg_validNonEmptySuggestion()
/frameworks/base/core/java/android/app/timezonedetector/
DTelephonyTimeZoneSuggestion.java121 @IntDef({ QUALITY_NA, QUALITY_SINGLE_ZONE, QUALITY_MULTIPLE_ZONES_WITH_SAME_OFFSET,
130 public static final int QUALITY_SINGLE_ZONE = 1; field in TelephonyTimeZoneSuggestion
377 boolean qualityValid = (quality == QUALITY_SINGLE_ZONE in validate()
452 return QUALITY_SINGLE_ZONE; in parseQualityCommandLineArg()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImplTest.java25 import static android.app.timezonedetector.TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE;
73 newTestCase(MATCH_TYPE_NETWORK_COUNTRY_ONLY, QUALITY_SINGLE_ZONE, TELEPHONY_SCORE_HIGH),
74 newTestCase(MATCH_TYPE_NETWORK_COUNTRY_AND_OFFSET, QUALITY_SINGLE_ZONE,
78 newTestCase(MATCH_TYPE_EMULATOR_ZONE_ID, QUALITY_SINGLE_ZONE, TELEPHONY_SCORE_HIGHEST),
137 QUALITY_SINGLE_ZONE, TELEPHONY_SCORE_HIGH); in testTelephonySuggestionsWhenTimeZoneUninitialized()
412 newTestCase(MATCH_TYPE_NETWORK_COUNTRY_AND_OFFSET, QUALITY_SINGLE_ZONE, in testTimeZoneDetectorStrategyDoesNotAssumeCurrentSetting()
DTimeZoneDetectorServiceTest.java177 .setQuality(TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE) in createTelephonyTimeZoneSuggestion()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImpl.java22 import static android.app.timezonedetector.TelephonyTimeZoneSuggestion.QUALITY_SINGLE_ZONE;
240 } else if (suggestion.getQuality() == QUALITY_SINGLE_ZONE) { in scoreTelephonySuggestion()