Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java110 private WifiCountryCode mWifiCountryCode; field in WifiCountryCodeTest
198 mWifiCountryCode = new WifiCountryCode( in createWifiCountryCode()
208 mWifiCountryCode.enableVerboseLogging(true); in createWifiCountryCode()
228 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCurrentDriverCountryCode()); in useDefaultCountryCode()
244 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCurrentDriverCountryCode()); in useTelephonyCountryCodeOnBootup()
253 mWifiCountryCode.setTelephonyCountryCodeAndUpdate(mTelephonyCountryCode); in useTelephonyCountryCodeOnChange()
254 assertEquals(null, mWifiCountryCode.getCurrentDriverCountryCode()); in useTelephonyCountryCodeOnChange()
260 assertEquals(mTelephonyCountryCode, mWifiCountryCode.getCurrentDriverCountryCode()); in useTelephonyCountryCodeOnChange()
271 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCurrentDriverCountryCode()); in telephonyCountryCodeChangeAfterSupplicantStarts()
276 assertEquals(mDefaultCountryCode, mWifiCountryCode.getCurrentDriverCountryCode()); in telephonyCountryCodeChangeAfterSupplicantStarts()
[all …]
DSoftApManagerTest.java220 @Mock WifiCountryCode mWifiCountryCode; field in SoftApManagerTest
409 when(mWifiInjector.getWifiCountryCode()).thenReturn(mWifiCountryCode); in setUp()
2535 verify(mWifiCountryCode).registerListener(changeListenerCaptor.capture()); in startSoftApAndVerifyEnabled()
2547 verify(mWifiCountryCode).unregisterListener(changeListenerCaptor.getValue()); in startSoftApAndVerifyEnabled()
2557 verify(mWifiCountryCode).registerListener(changeListenerCaptor.capture()); in startSoftApAndVerifyEnabled()
2561 verify(mWifiCountryCode).unregisterListener(changeListenerCaptor.getValue()); in startSoftApAndVerifyEnabled()
3805 verify(mWifiCountryCode).registerListener(changeListenerCaptor.capture()); in testWaitForDriverCountryCodeTimedOut()
3813 verify(mWifiCountryCode).unregisterListener(changeListenerCaptor.getValue()); in testWaitForDriverCountryCodeTimedOut()
DWifiShellCommandTest.java98 @Mock WifiCountryCode mWifiCountryCode; field in WifiShellCommandTest
129 when(mWifiInjector.getWifiCountryCode()).thenReturn(mWifiCountryCode); in setUp()
DWifiServiceImplTest.java400 @Mock WifiCountryCode mWifiCountryCode; field in WifiServiceImplTest
538 when(mWifiInjector.getWifiCountryCode()).thenReturn(mWifiCountryCode); in setUp()
806 reset(mWifiCountryCode); in makeWifiServiceImplWithMockRunnerWhichTimesOut()
6491 verify(mWifiCountryCode, never()).setTelephonyCountryCodeAndUpdate(any()); in testSimStateChangeDoesNotResetCountryCode()
6513 verify(mWifiCountryCode, never()).setTelephonyCountryCodeAndUpdate(any()); in testSimStateChangeDoesNotResetCountryCodeForRebroadcastedIntent()
8710 verify(mWifiCountryCode).registerListener(any(WifiCountryCode.ChangeListener.class)); in testHandleBootCompleted()
9428 verify(mWifiCountryCode).setTelephonyCountryCodeAndUpdate(any()); in testCountryCodeBroadcastHanding()
9795 verify(mWifiCountryCode).setOverrideCountryCode(TEST_COUNTRY_CODE); in testSetOverrideCountryCode()
9822 verify(mWifiCountryCode).clearOverrideCountryCode(); in testClearOverrideCountryCode()
9849 verify(mWifiCountryCode).setDefaultCountryCode(TEST_COUNTRY_CODE); in testSetDefaultCountryCode()
[all …]
DClientModeImplTest.java600 @Mock WifiCountryCode mWifiCountryCode; field in ClientModeImplTest
688 when(mWifiInjector.getWifiCountryCode()).thenReturn(mWifiCountryCode); in setUp()
7505 when(mWifiCountryCode.getCountryCode()).thenReturn("CN"); in testIpReachabilityFailureConfirmTriggersDisconnection()
7526 when(mWifiCountryCode.getCountryCode()).thenReturn("CN"); in testIpReachabilityFailureConfirmDoesNotTriggersDisconnectionForWapi()
7619 when(mWifiCountryCode.getCurrentDriverCountryCode()).thenReturn("CN"); in testIpReachabilityFailureConfirm_disableHandleRssiOrganicKernelFailuresFlag()
DWifiConnectivityManagerTest.java324 @Mock private WifiCountryCode mWifiCountryCode; field in WifiConnectivityManagerTest
647 mWifiCountryCode, in createConnectivityManager()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbCountryCode.java106 private String mWifiCountryCode = null; field in UwbCountryCode
230 mWifiCountryCode = null; in initialize()
314 mWifiCountryCode = null; in setWifiCountryCode()
316 mWifiCountryCode = countryCode.toUpperCase(Locale.US); in setWifiCountryCode()
364 if (mWifiCountryCode != null) { in pickCountryCode()
365 return mWifiCountryCode; in pickCountryCode()
501 pw.println("mWifiCountryCode: " + mWifiCountryCode); in dump()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java201 private final WifiCountryCode mWifiCountryCode; field in WifiShellCommand
454 mWifiCountryCode = wifiInjector.getWifiCountryCode(); in WifiShellCommand()
904 mWifiCountryCode.setOverrideCountryCode(countryCode); in onCommand()
907 mWifiCountryCode.clearOverrideCountryCode(); in onCommand()
913 + mWifiCountryCode.getCountryCode()); in onCommand()
DWifiConnectivityManager.java157 private final WifiCountryCode mWifiCountryCode; field in WifiConnectivityManager
603 mWifiCountryCode.updateCountryCodeFromScanResults(scanDetails); in handleScanResults()
1388 mWifiCountryCode = wifiCountryCode; in WifiConnectivityManager()