Searched refs:countryIsoCode (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | TimeZoneSuggesterImpl.java | 58 @Nullable String countryIsoCode, @Nullable TimestampedValue<NitzData> nitzSignal) { in getTimeZoneSuggestion() argument 78 } else if (countryIsoCode == null) { in getTimeZoneSuggestion() 89 if (countryIsoCode.isEmpty()) { in getTimeZoneSuggestion() 96 slotIndex, countryIsoCode, mDeviceState.currentTimeMillis()); in getTimeZoneSuggestion() 99 if (countryIsoCode.isEmpty()) { in getTimeZoneSuggestion() 109 slotIndex, countryIsoCode, nitzSignal); 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() [all …]
|
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() 194 doTimeZoneDetection(countryIsoCode, null /* nitzSignal */, reason); in clearNetworkStateAndRerunDetection() 201 public void handleCountryDetected(@NonNull String countryIsoCode) { in handleCountryDetected() argument 203 Rlog.d(LOG_TAG, "handleCountryDetected: countryIsoCode=" + countryIsoCode in handleCountryDetected() 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 [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelperTest.java | 364 String countryIsoCode = "nz"; in testDefaultBoostBehavior() local 369 mTimeZoneLookupHelper.lookupByCountry(countryIsoCode, timeMillis)); in testDefaultBoostBehavior() 378 mTimeZoneLookupHelper.lookupByNitzCountry(majorityNitzData, countryIsoCode); in testDefaultBoostBehavior() 387 mTimeZoneLookupHelper.lookupByNitzCountry(chathamNitzData, countryIsoCode); in testDefaultBoostBehavior() 396 mTimeZoneLookupHelper.lookupByNitzCountry(nonsenseNitzData, countryIsoCode); in testDefaultBoostBehavior() 406 String countryIsoCode = "fm"; in testNoDefaultBoostBehavior() local 411 mTimeZoneLookupHelper.lookupByCountry(countryIsoCode, timeMillis)); in testNoDefaultBoostBehavior() 418 mTimeZoneLookupHelper.lookupByNitzCountry(chuukNitzData, countryIsoCode); in testNoDefaultBoostBehavior() 427 mTimeZoneLookupHelper.lookupByNitzCountry(nonsenseNitzData, countryIsoCode); in testNoDefaultBoostBehavior()
|
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()
|
D | NitzStateMachineTestSupport.java | 116 Scenario(boolean frozen, long timeMillis, String zoneId, String countryIsoCode) { in Scenario() argument 120 mNetworkCountryIsoCode = countryIsoCode; in Scenario()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NitzStateMachine.java | 46 void handleCountryDetected(@NonNull String countryIsoCode); in handleCountryDetected() argument
|