Home
last modified time | relevance | path

Searched refs:mTelephonyCountryCode (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java85 private String mTelephonyCountryCode = "JP"; field in WifiCountryCodeTest
238 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(mTelephonyCountryCode); in useTelephonyCountryCodeOnBootup()
244 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCurrentDriverCountryCode()); in useTelephonyCountryCodeOnBootup()
253 mWifiCountryCode.setTelephonyCountryCodeAndUpdate(mTelephonyCountryCode); in useTelephonyCountryCodeOnChange()
260 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCurrentDriverCountryCode()); in useTelephonyCountryCodeOnChange()
279 mWifiCountryCode.setTelephonyCountryCodeAndUpdate(mTelephonyCountryCode); in telephonyCountryCodeChangeAfterSupplicantStarts()
284 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCurrentDriverCountryCode()); in telephonyCountryCodeChangeAfterSupplicantStarts()
304 mWifiCountryCode.setTelephonyCountryCodeAndUpdate(mTelephonyCountryCode); in telephonyCountryCodeChangeAfterSupplicantStop()
310 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCurrentDriverCountryCode()); in telephonyCountryCodeChangeAfterSupplicantStop()
316 mWifiCountryCode.setTelephonyCountryCodeAndUpdate(mTelephonyCountryCode); in telephonyCountryCodeChangeAfterSupplicantStop()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java95 private String mTelephonyCountryCode = null; field in WifiCountryCode
312 if (mTelephonyCountryCode == null) { in initializeTelephonyCountryCodeIfNeeded()
389 mTelephonyCountryCode = null; in setTelephonyCountryCode()
392 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in setTelephonyCountryCode()
432 if (mTelephonyCountryCode != null) { in updateCountryCodeFromScanResults()
517 if (mTelephonyCountryCode == null in shouldDisconnectWifiToForceUpdate()
518 || mTelephonyCountryCode.equals(mDriverCountryCode)) { in shouldDisconnectWifiToForceUpdate()
595 pw.println("mTelephonyCountryCode: " + mTelephonyCountryCode); in dump()
649 if (mTelephonyCountryCode != null) { in pickCountryCode()
650 return mTelephonyCountryCode; in pickCountryCode()