/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
H A D | TimeZoneSuggesterImpl.java | 78 } else if (countryIsoCode == null) { in getTimeZoneSuggestion() 89 if (countryIsoCode.isEmpty()) { in getTimeZoneSuggestion() 99 if (countryIsoCode.isEmpty()) { in getTimeZoneSuggestion() 122 + " countryIsoCode=" + countryIsoCode in getTimeZoneSuggestion() 168 int slotIndex, @NonNull String countryIsoCode, in findTimeZoneFromCountryAndNitz() argument 170 Objects.requireNonNull(countryIsoCode); in findTimeZoneFromCountryAndNitz() 176 + " countryIsoCode=" + countryIsoCode in findTimeZoneFromCountryAndNitz() 242 Objects.requireNonNull(countryIsoCode); in findTimeZoneFromNetworkCountryCode() 243 if (TextUtils.isEmpty(countryIsoCode)) { in findTimeZoneFromNetworkCountryCode() 252 countryIsoCode, whenMillis); in findTimeZoneFromNetworkCountryCode() [all …]
|
H A D | NitzStateMachineImpl.java | 91 int slotIndex, @Nullable String countryIsoCode, in getTimeZoneSuggestion() argument 187 String countryIsoCode = mCountryIsoCode; in clearNetworkStateAndRerunDetection() local 189 Rlog.d(LOG_TAG, reason + ": countryIsoCode=" + countryIsoCode); in clearNetworkStateAndRerunDetection() 201 public void handleCountryDetected(@NonNull String countryIsoCode) { in handleCountryDetected() argument 208 mCountryIsoCode = Objects.requireNonNull(countryIsoCode); in handleCountryDetected() 211 doTimeZoneDetection(countryIsoCode, mLatestNitzSignal, in handleCountryDetected() 212 "handleCountryDetected(\"" + countryIsoCode + "\")"); in handleCountryDetected() 248 String countryIsoCode = mCountryIsoCode; in handleNitzReceived() local 249 doTimeZoneDetection(countryIsoCode, nitzSignal, reason); in handleNitzReceived() 287 mSlotIndex, countryIsoCode, nitzSignal); in doTimeZoneDetection() [all …]
|
/aosp12/system/timezone/input_tools/android/telephonylookup_generator/src/main/java/com/android/libcore/timezone/telephonylookup/ |
H A D | TelephonyLookupGenerator.java | 129 String countryIsoCode = networkIn.getCountryIsoCode(); in validateNetworks() local 130 String countryIsoCodeLower = countryIsoCode.toLowerCase(Locale.ROOT); in validateNetworks() 131 if (!countryIsoCodeLower.equals(countryIsoCode)) { in validateNetworks() 132 errors.addError("Country code not lower case: " + countryIsoCode); in validateNetworks() 136 errors.addError("Country code not known: " + countryIsoCode); in validateNetworks() 169 String countryIsoCode = networkIn.getCountryIsoCode(); in createOutputTelephonyLookup() local 171 new TelephonyLookupXmlFile.Network(mcc, mnc, countryIsoCode); in createOutputTelephonyLookup()
|
H A D | TelephonyLookupXmlFile.java | 121 private final String countryIsoCode; field in TelephonyLookupXmlFile.Network 123 Network(String mcc, String mnc, String countryIsoCode) { in Network() argument 126 this.countryIsoCode = Objects.requireNonNull(countryIsoCode); in Network() 134 writer.writeAttribute(COUNTRY_ISO_CODE_ATTRIBUTE, network.countryIsoCode); in writeXml()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
H A D | TimeZoneLookupHelperTest.java | 367 String countryIsoCode = "nz"; in testDefaultBoostBehavior() local 372 mTimeZoneLookupHelper.lookupByCountry(countryIsoCode, timeMillis)); in testDefaultBoostBehavior() 381 mTimeZoneLookupHelper.lookupByNitzCountry(majorityNitzData, countryIsoCode); in testDefaultBoostBehavior() 390 mTimeZoneLookupHelper.lookupByNitzCountry(chathamNitzData, countryIsoCode); in testDefaultBoostBehavior() 399 mTimeZoneLookupHelper.lookupByNitzCountry(nonsenseNitzData, countryIsoCode); in testDefaultBoostBehavior() 409 String countryIsoCode = "fm"; in testNoDefaultBoostBehavior() local 414 mTimeZoneLookupHelper.lookupByCountry(countryIsoCode, timeMillis)); in testNoDefaultBoostBehavior() 421 mTimeZoneLookupHelper.lookupByNitzCountry(chuukNitzData, countryIsoCode); in testNoDefaultBoostBehavior() 430 mTimeZoneLookupHelper.lookupByNitzCountry(nonsenseNitzData, countryIsoCode); in testNoDefaultBoostBehavior()
|
H A D | NitzStateMachineImplTest.java | 376 String countryIsoCode = scenario.getNetworkCountryIsoCode(); in test_handleNetworkUnavailableClearsNetworkState() local 390 .countryReceived(countryIsoCode); in test_handleNetworkUnavailableClearsNetworkState() 395 SLOT_INDEX, countryIsoCode, initialNitzSignal); in test_handleNetworkUnavailableClearsNetworkState() 412 SLOT_INDEX, countryIsoCode, null /* nitzSignal */); in test_handleNetworkUnavailableClearsNetworkState() 445 SLOT_INDEX, countryIsoCode, finalNitzSignal); in test_handleNetworkUnavailableClearsNetworkState() 542 Script countryReceived(String countryIsoCode) { in countryReceived() argument 543 mNitzStateMachineImpl.handleCountryDetected(countryIsoCode); in countryReceived()
|
H A D | NitzStateMachineTestSupport.java | 116 Scenario(boolean frozen, long timeMillis, String zoneId, String countryIsoCode) { in Scenario() argument 120 mNetworkCountryIsoCode = countryIsoCode; in Scenario()
|
/aosp12/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/ |
H A D | CanonicalizeTzS2Polygons.java | 176 String countryIsoCode = timeZoneIds.getCountryCodeForZoneId(timeZoneId); in processFile() local 177 if (countryIsoCode == null) { in processFile() 191 timeZoneIds.getCountryIdMap(countryIsoCode, mReplacementThreshold); in processFile()
|
/aosp12/system/timezone/input_data/android/ |
H A D | telephonylookup.txt | 44 # countryIsoCode: 51 countryIsoCode: "gu"
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | NitzStateMachine.java | 46 void handleCountryDetected(@NonNull String countryIsoCode); in handleCountryDetected() argument
|
/aosp12/system/timezone/input_tools/android/telephonylookup_generator/src/main/proto/ |
H A D | telephony_lookup_proto_file.proto | 34 required string countryIsoCode = 3; field
|