Home
last modified time | relevance | path

Searched refs:WIFI_DEFAULT_COUNTRY_CODE (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java21 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_DEFAULT_COUNTRY_CODE;
158 when(mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)) in setUp()
161 }).when(mSettingsConfigStore).put(eq(WIFI_DEFAULT_COUNTRY_CODE), any(String.class)); in setUp()
163 when(mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)).thenReturn(mDefaultCountryCode); in setUp()
530 verify(mSettingsConfigStore).put(eq(WIFI_DEFAULT_COUNTRY_CODE), eq(TEST_COUNTRY_CODE)); in setDefaultCountryCode()
531 assertEquals(TEST_COUNTRY_CODE, mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)); in setDefaultCountryCode()
770 when(mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)).thenReturn(mDefaultCountryCode); in testUpdateountryCodeGenericTwoGoodScanResultUs()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java19 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_DEFAULT_COUNTRY_CODE;
579 mSettingsConfigStore.put(WIFI_DEFAULT_COUNTRY_CODE, in setDefaultCountryCode()
594 + mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)); in dump()
660 return mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE); in pickCountryCode()
DWifiSettingsConfigStore.java135 public static final Key<String> WIFI_DEFAULT_COUNTRY_CODE = field in WifiSettingsConfigStore