Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java106 Preference mWifiHotspotSpeed; field in WifiTetherSettings
162 mWifiHotspotSpeed = findPreference(KEY_WIFI_HOTSPOT_SPEED); in setupSpeedFeature()
163 if (mWifiHotspotSecurity == null || mWifiHotspotSpeed == null) { in setupSpeedFeature()
167 mWifiHotspotSpeed.setVisible(isSpeedFeatureAvailable); in setupSpeedFeature()
265 mWifiHotspotSpeed.setSummary(summaryResId); in onSpeedSummaryChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java121 private Preference mWifiHotspotSpeed; field in WifiTetherSettingsTest
179 when(mSettings.findPreference(KEY_WIFI_HOTSPOT_SPEED)).thenReturn(mWifiHotspotSpeed); in setUp()
242 mSettings.mWifiHotspotSpeed = mock(Preference.class); in onSpeedSummaryChanged_canNotShowWifiHotspot_returnFalse()
246 verify(mSettings.mWifiHotspotSpeed).setSummary(stringResId); in onSpeedSummaryChanged_canNotShowWifiHotspot_returnFalse()
382 verify(mWifiHotspotSpeed).setVisible(true); in setupSpeedFeature_speedFeatureIsAvailable_setVisibleToTrue()
392 verify(mWifiHotspotSpeed).setVisible(false); in setupSpeedFeature_speedFeatureIsNotAvailable_setVisibleToFalse()