Home
last modified time | relevance | path

Searched refs:mWifiCountryCode (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java65 private WifiCountryCode mWifiCountryCode; field in WifiCountryCodeTest
111 mWifiCountryCode = new WifiCountryCode( in createWifiCountryCode()
136 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCodeSentToDriver()); in useDefaultCountryCode()
151 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCodeSentToDriver()); in useTelephonyCountryCodeOnBootup()
160 mWifiCountryCode.setTelephonyCountryCodeAndUpdate(mTelephonyCountryCode); in useTelephonyCountryCodeOnChange()
161 assertEquals(null, mWifiCountryCode.getCountryCodeSentToDriver()); in useTelephonyCountryCodeOnChange()
167 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCodeSentToDriver()); in useTelephonyCountryCodeOnChange()
178 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCodeSentToDriver()); in telephonyCountryCodeChangeAfterSupplicantStarts()
183 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCodeSentToDriver()); in telephonyCountryCodeChangeAfterSupplicantStarts()
186 mWifiCountryCode.setTelephonyCountryCodeAndUpdate(mTelephonyCountryCode); in telephonyCountryCodeChangeAfterSupplicantStarts()
[all …]
DWifiShellCommandTest.java86 @Mock WifiCountryCode mWifiCountryCode; field in WifiShellCommandTest
114 when(mWifiInjector.getWifiCountryCode()).thenReturn(mWifiCountryCode); in setUp()
DWifiServiceImplTest.java303 @Mock WifiCountryCode mWifiCountryCode; field in WifiServiceImplTest
403 when(mWifiInjector.getWifiCountryCode()).thenReturn(mWifiCountryCode); in setUp()
619 reset(mWifiCountryCode); in makeWifiServiceImplWithMockRunnerWhichTimesOut()
5369 verify(mWifiCountryCode, never()).setTelephonyCountryCodeAndUpdate(any()); in testSimStateChangeDoesNotResetCountryCode()
5389 verify(mWifiCountryCode, never()).setTelephonyCountryCodeAndUpdate(any()); in testSimStateChangeDoesNotResetCountryCodeForRebroadcastedIntent()
6865 verify(mWifiCountryCode).registerListener(any(WifiCountryCode.ChangeListener.class)); in testHandleBootCompleted()
7605 verify(mWifiCountryCode).setTelephonyCountryCodeAndUpdate(any()); in testCountryCodeBroadcastHanding()
7859 verify(mWifiCountryCode).setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCode()
7886 verify(mWifiCountryCode).clearOverrideCountryCode(); in testClearOverrideCountryCode()
7913 verify(mWifiCountryCode).setDefaultCountryCode(TEST_COUNTRY_CODE); in testSetDefaultCountryCode()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java150 private final WifiCountryCode mWifiCountryCode; field in WifiShellCommand
212 mWifiCountryCode = wifiInjector.getWifiCountryCode(); in WifiShellCommand()
503 mWifiCountryCode.setOverrideCountryCode(countryCode); in onCommand()
506 mWifiCountryCode.clearOverrideCountryCode(); in onCommand()
512 + mWifiCountryCode.getCountryCode()); in onCommand()