Home
last modified time | relevance | path

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

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiCountryCodeTest.java65 private WifiCountryCode mWifiCountryCode; field in WifiCountryCodeTest
111 mWifiCountryCode = new WifiCountryCode( in createWifiCountryCode()
161 assertEquals(null, mWifiCountryCode.getCountryCodeSentToDriver()); in useTelephonyCountryCodeOnChange()
301 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCode()); in resetCountryCodeWhenOutOfService()
303 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCountryCode()); in resetCountryCodeWhenOutOfService()
305 mWifiCountryCode.setTelephonyCountryCodeAndUpdate(""); in resetCountryCodeWhenOutOfService()
306 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCode()); in resetCountryCodeWhenOutOfService()
323 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCountryCode()); in doNotResetCountryCodeWhenOutOfService()
327 mWifiCountryCode.setTelephonyCountryCodeAndUpdate(""); in doNotResetCountryCodeWhenOutOfService()
367 mWifiCountryCode.dump(null, pw, null); in dumpDoesNotFail()
[all …]
H A DWifiShellCommandTest.java86 @Mock WifiCountryCode mWifiCountryCode; field in WifiShellCommandTest
114 when(mWifiInjector.getWifiCountryCode()).thenReturn(mWifiCountryCode); in setUp()
H A 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()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A 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()