Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiSettingsBackupRestoreTest.java55 add(WifiSettingsConfigStore.WIFI_WEP_ALLOWED); }};
119 verify(mWifiSettingsConfigStore).put(eq(WifiSettingsConfigStore.WIFI_WEP_ALLOWED), in testRestoreWifiSettings()
DWifiServiceImplTest.java75 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_WEP_ALLOWED;
704 when(mWifiSettingsConfigStore.get(eq(WIFI_WEP_ALLOWED))).thenReturn(true); in setUp()
12280 when(mWifiSettingsConfigStore.get(eq(WIFI_WEP_ALLOWED))).thenReturn(false); in testSetWepAllowedWithPermission()
12283 verify(mWifiSettingsConfigStore).get(eq(WIFI_WEP_ALLOWED)); in testSetWepAllowedWithPermission()
12290 verify(mWifiSettingsConfigStore).put(eq(WIFI_WEP_ALLOWED), eq(true)); in testSetWepAllowedWithPermission()
12309 verify(mWifiSettingsConfigStore).put(eq(WIFI_WEP_ALLOWED), eq(false)); in testSetWepDisAllowedWithPermission()
12327 when(mWifiSettingsConfigStore.get(eq(WIFI_WEP_ALLOWED))).thenReturn(false); in testQueryWepAllowedNormalCase()
12330 verify(mWifiSettingsConfigStore).get(eq(WIFI_WEP_ALLOWED)); in testQueryWepAllowedNormalCase()
12336 when(mWifiSettingsConfigStore.get(eq(WIFI_WEP_ALLOWED))).thenReturn(true); in testQueryWepAllowedNormalCase()
12339 verify(mWifiSettingsConfigStore, times(2)).get(eq(WIFI_WEP_ALLOWED)); in testQueryWepAllowedNormalCase()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiSettingsConfigStore.java191 public static final Key<Boolean> WIFI_WEP_ALLOWED = new Key<>("wep_allowed", true); field in WifiSettingsConfigStore
207 WIFI_WEP_ALLOWED,
DWifiServiceImpl.java66 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_WEP_ALLOWED;
609 mSettingsConfigStore.registerChangeListener(WIFI_WEP_ALLOWED, in checkAndStartWifi()
618 mWifiGlobals.setWepAllowed(mSettingsConfigStore.get(WIFI_WEP_ALLOWED)); in checkAndStartWifi()
8393 mSettingsConfigStore.put(WIFI_WEP_ALLOWED, isAllowed);
8431 listener.onResult(mSettingsConfigStore.get(WIFI_WEP_ALLOWED));