Home
last modified time | relevance | path

Searched refs:WifiCountryCode (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java104 @Mock WifiCountryCode.ChangeListener mExternalChangeListener;
110 private WifiCountryCode mWifiCountryCode;
119 private ArgumentCaptor<WifiCountryCode.ChangeListener> mChangeListenerCaptor;
198 mWifiCountryCode = new WifiCountryCode( in createWifiCountryCode()
540 assertEquals(WifiCountryCode.isValid(null), false); in testValidCountryCode()
541 assertEquals(WifiCountryCode.isValid("JPUS"), false); in testValidCountryCode()
542 assertEquals(WifiCountryCode.isValid("JP"), true); in testValidCountryCode()
543 assertEquals(WifiCountryCode.isValid("00"), true); in testValidCountryCode()
544 assertEquals(WifiCountryCode.isValid("0U"), true); in testValidCountryCode()
709 mScanResult1.level = WifiCountryCode.MIN_SCAN_RSSI_DBM; in setupScanDetails()
[all …]
DSoftApManagerTest.java220 @Mock WifiCountryCode mWifiCountryCode;
2533 ArgumentCaptor<WifiCountryCode.ChangeListener> changeListenerCaptor = in startSoftApAndVerifyEnabled()
2534 ArgumentCaptor.forClass(WifiCountryCode.ChangeListener.class); in startSoftApAndVerifyEnabled()
2555 ArgumentCaptor<WifiCountryCode.ChangeListener> changeListenerCaptor = in startSoftApAndVerifyEnabled()
2556 ArgumentCaptor.forClass(WifiCountryCode.ChangeListener.class); in startSoftApAndVerifyEnabled()
3803 ArgumentCaptor<WifiCountryCode.ChangeListener> changeListenerCaptor = in testWaitForDriverCountryCodeTimedOut()
3804 ArgumentCaptor.forClass(WifiCountryCode.ChangeListener.class); in testWaitForDriverCountryCodeTimedOut()
DWifiShellCommandTest.java98 @Mock WifiCountryCode mWifiCountryCode;
DWifiNativeTest.java278 @Mock private WifiCountryCode.ChangeListener mWifiCountryCodeChangeListener;
DWifiConnectivityManagerTest.java324 @Mock private WifiCountryCode mWifiCountryCode;
DWifiServiceImplTest.java400 @Mock WifiCountryCode mWifiCountryCode;
8710 verify(mWifiCountryCode).registerListener(any(WifiCountryCode.ChangeListener.class)); in testHandleBootCompleted()
DClientModeImplTest.java600 @Mock WifiCountryCode mWifiCountryCode;
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java54 public class WifiCountryCode { class
201 public WifiCountryCode( in WifiCountryCode() method in WifiCountryCode
238 return WifiCountryCode.isValid(country) ? country.toUpperCase(Locale.US) : null; in getOemDefaultCountryCode()
DWifiInjector.java163 private final WifiCountryCode mCountryCode;
529 mCountryCode = new WifiCountryCode(mContext, mActiveModeWarden, mWifiP2pMetrics, in WifiInjector()
737 public WifiCountryCode getWifiCountryCode() { in getWifiCountryCode()
DWifiSettingsConfigStore.java136 new Key<>("wifi_default_country_code", WifiCountryCode.getOemDefaultCountryCode());
DWifiNative.java299 private WifiCountryCode.ChangeListener mListener;
301 public void setChangeListener(@NonNull WifiCountryCode.ChangeListener listener) { in setChangeListener()
5002 public void registerCountryCodeEventListener(WifiCountryCode.ChangeListener listener) {
DWifiConnectivityManager.java157 private final WifiCountryCode mWifiCountryCode;
1356 WifiCountryCode wifiCountryCode, in WifiConnectivityManager()
DWifiShellCommand.java201 private final WifiCountryCode mWifiCountryCode;
898 if (!WifiCountryCode.isValid(countryCode)) { in onCommand()
DWifiServiceImpl.java283 private final WifiCountryCode mCountryCode;
1928 public final class CountryCodeTracker implements WifiCountryCode.ChangeListener {
4954 if (!WifiCountryCode.isValid(countryCode)) {
5001 if (!WifiCountryCode.isValid(countryCode)) {
DSoftApManager.java1407 private final WifiCountryCode.ChangeListener mCountryCodeChangeListener =
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp548 "com.android.server.wifi.WifiCountryCode",
549 "com.android.server.wifi.WifiCountryCode$*",
550 "com.android.server.wifi.WifiCountryCode.**",