Home
last modified time | relevance | path

Searched refs:mWifiHotspotSecurity (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java104 Preference mWifiHotspotSecurity; field in WifiTetherSettings
161 mWifiHotspotSecurity = findPreference(KEY_WIFI_HOTSPOT_SECURITY); in setupSpeedFeature()
163 if (mWifiHotspotSecurity == null || mWifiHotspotSpeed == null) { in setupSpeedFeature()
166 mWifiHotspotSecurity.setVisible(isSpeedFeatureAvailable); in setupSpeedFeature()
261 mWifiHotspotSecurity.setSummary(securityResId); in onSecuritySummaryChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java117 private Preference mWifiHotspotSecurity; field in WifiTetherSettingsTest
178 when(mSettings.findPreference(KEY_WIFI_HOTSPOT_SECURITY)).thenReturn(mWifiHotspotSecurity); in setUp()
232 mSettings.mWifiHotspotSecurity = mock(Preference.class); in onSecuritySummaryChanged_canNotShowWifiHotspot_returnFalse()
236 verify(mSettings.mWifiHotspotSecurity).setSummary(stringResId); in onSecuritySummaryChanged_canNotShowWifiHotspot_returnFalse()
381 verify(mWifiHotspotSecurity).setVisible(true); in setupSpeedFeature_speedFeatureIsAvailable_setVisibleToTrue()
391 verify(mWifiHotspotSecurity).setVisible(false); in setupSpeedFeature_speedFeatureIsNotAvailable_setVisibleToFalse()