Searched refs:WifiCountryCode (Results 1 – 16 of 16) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCountryCodeTest.java | 104 @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 …]
|
D | SoftApManagerTest.java | 220 @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()
|
D | WifiShellCommandTest.java | 98 @Mock WifiCountryCode mWifiCountryCode;
|
D | WifiNativeTest.java | 278 @Mock private WifiCountryCode.ChangeListener mWifiCountryCodeChangeListener;
|
D | WifiConnectivityManagerTest.java | 324 @Mock private WifiCountryCode mWifiCountryCode;
|
D | WifiServiceImplTest.java | 400 @Mock WifiCountryCode mWifiCountryCode; 8710 verify(mWifiCountryCode).registerListener(any(WifiCountryCode.ChangeListener.class)); in testHandleBootCompleted()
|
D | ClientModeImplTest.java | 600 @Mock WifiCountryCode mWifiCountryCode;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCountryCode.java | 54 public class WifiCountryCode { class 201 public WifiCountryCode( in WifiCountryCode() method in WifiCountryCode 238 return WifiCountryCode.isValid(country) ? country.toUpperCase(Locale.US) : null; in getOemDefaultCountryCode()
|
D | WifiInjector.java | 163 private final WifiCountryCode mCountryCode; 529 mCountryCode = new WifiCountryCode(mContext, mActiveModeWarden, mWifiP2pMetrics, in WifiInjector() 737 public WifiCountryCode getWifiCountryCode() { in getWifiCountryCode()
|
D | WifiSettingsConfigStore.java | 136 new Key<>("wifi_default_country_code", WifiCountryCode.getOemDefaultCountryCode());
|
D | WifiNative.java | 299 private WifiCountryCode.ChangeListener mListener; 301 public void setChangeListener(@NonNull WifiCountryCode.ChangeListener listener) { in setChangeListener() 5002 public void registerCountryCodeEventListener(WifiCountryCode.ChangeListener listener) {
|
D | WifiConnectivityManager.java | 157 private final WifiCountryCode mWifiCountryCode; 1356 WifiCountryCode wifiCountryCode, in WifiConnectivityManager()
|
D | WifiShellCommand.java | 201 private final WifiCountryCode mWifiCountryCode; 898 if (!WifiCountryCode.isValid(countryCode)) { in onCommand()
|
D | WifiServiceImpl.java | 283 private final WifiCountryCode mCountryCode; 1928 public final class CountryCodeTracker implements WifiCountryCode.ChangeListener { 4954 if (!WifiCountryCode.isValid(countryCode)) { 5001 if (!WifiCountryCode.isValid(countryCode)) {
|
D | SoftApManager.java | 1407 private final WifiCountryCode.ChangeListener mCountryCodeChangeListener =
|
/packages/modules/Wifi/service/tests/wifitests/ |
D | Android.bp | 548 "com.android.server.wifi.WifiCountryCode", 549 "com.android.server.wifi.WifiCountryCode$*", 550 "com.android.server.wifi.WifiCountryCode.**",
|