Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java56 private String mTelephonyCountryCode = "JP"; field in WifiCountryCodeTest
121 when(mTelephonyManager.getNetworkCountryIso()).thenReturn(mTelephonyCountryCode); in useTelephonyCountryCodeOnBootup()
127 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCodeSentToDriver()); in useTelephonyCountryCodeOnBootup()
136 sendCountryCodeChangedBroadcast(mTelephonyCountryCode); in useTelephonyCountryCodeOnChange()
143 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCodeSentToDriver()); in useTelephonyCountryCodeOnChange()
156 sendCountryCodeChangedBroadcast(mTelephonyCountryCode); in telephonyCountryCodeChangeAfterSupplicantStarts()
160 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCodeSentToDriver()); in telephonyCountryCodeChangeAfterSupplicantStarts()
174 sendCountryCodeChangedBroadcast(mTelephonyCountryCode); in telephonyCountryCodeChangeAfterL2Connected()
180 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCodeSentToDriver()); in telephonyCountryCodeChangeAfterL2Connected()
193 sendCountryCodeChangedBroadcast(mTelephonyCountryCode); in resetCountryCodeWhenOutOfService()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java53 private String mTelephonyCountryCode = null; field in WifiCountryCode
96 if (mTelephonyCountryCode == null) { in initializeTelephonyCountryCodeIfNeeded()
131 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in enableForceCountryCode()
147 mTelephonyCountryCode = null; in disableForceCountryCode()
171 mTelephonyCountryCode = null; in setCountryCode()
174 mTelephonyCountryCode = countryCode.toUpperCase(Locale.US); in setCountryCode()
233 pw.println("mTelephonyCountryCode: " + mTelephonyCountryCode); in dump()
261 if (mTelephonyCountryCode != null) { in pickCountryCode()
262 return mTelephonyCountryCode; in pickCountryCode()