Searched refs:getCurrentCountry (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | LocaleTrackerTest.java | 154 assertEquals(COUNTRY_CODE_UNAVAILABLE, mLocaleTracker.getCurrentCountry()); in testUpdateOperatorNumericSync() 162 assertEquals(US_COUNTRY_CODE, mLocaleTracker.getCurrentCountry()); in testNoSim() 169 assertEquals(US_COUNTRY_CODE, mLocaleTracker.getCurrentCountry()); in testNoSim() 180 assertEquals(COUNTRY_CODE_UNAVAILABLE, mLocaleTracker.getCurrentCountry()); in testBootupInAirplaneModeOn() 191 assertEquals(US_COUNTRY_CODE, mLocaleTracker.getCurrentCountry()); in testToggleAirplaneModeOn() 199 assertEquals(US_COUNTRY_CODE, mLocaleTracker.getCurrentCountry()); in testToggleAirplaneModeOn() 209 assertEquals(COUNTRY_CODE_UNAVAILABLE, mLocaleTracker.getCurrentCountry()); in testToggleAirplaneModeOn() 222 assertEquals(COUNTRY_CODE_UNAVAILABLE, mLocaleTracker.getCurrentCountry()); in testToggleAirplaneModeOff() 230 assertEquals(US_COUNTRY_CODE, mLocaleTracker.getCurrentCountry()); in testToggleAirplaneModeOff() 240 assertEquals(COUNTRY_CODE_UNAVAILABLE, mLocaleTracker.getCurrentCountry()); in testToggleAirplaneModeOosPlmn() [all …]
|
D | TelephonyCountryDetectorTest.java | 102 when(mMockLocaleTracker.getCurrentCountry()).thenReturn(""); in setUp() 106 when(mMockLocaleTracker2.getCurrentCountry()).thenReturn(""); in setUp() 139 when(mMockLocaleTracker.getCurrentCountry()).thenReturn("US"); in testGetInstance() 167 when(mMockLocaleTracker.getCurrentCountry()).thenReturn("1234"); in testGetCurrentNetworkCountryIso() 169 when(mMockLocaleTracker2.getCurrentCountry()).thenReturn(""); in testGetCurrentNetworkCountryIso() 173 when(mMockLocaleTracker2.getCurrentCountry()).thenReturn("US"); in testGetCurrentNetworkCountryIso() 178 when(mMockLocaleTracker.getCurrentCountry()).thenReturn("US"); in testGetCurrentNetworkCountryIso() 183 when(mMockLocaleTracker.getCurrentCountry()).thenReturn("CA"); in testGetCurrentNetworkCountryIso() 343 when(mLocaleTrackers[phone.getPhoneId()].getCurrentCountry()).thenReturn(countryCode); in sendNetworkCountryCodeChanged()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyCountryDetector.java | 498 return localeTracker.getCurrentCountry(); in getNetworkCountryIsoForPhone()
|
D | LocaleTracker.java | 276 public String getCurrentCountry() { in getCurrentCountry() method in LocaleTracker
|
D | GsmCdmaCallTracker.java | 1920 countryIso = lt.getCurrentCountry(); in getNetworkCountryIso()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTracker.java | 394 return lt.getCurrentCountry(); in getInitialCountryIso()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 5945 countryIso = lt.getCurrentCountry(); in getNetworkCountryIso()
|