Searched refs:KEY_INSTANT_HOTSPOT (Results 1 – 2 of 2) sorted by relevance
26 import static com.android.settings.wifi.tether.WifiTetherSettings.KEY_INSTANT_HOTSPOT;180 when(mSettings.findPreference(KEY_INSTANT_HOTSPOT)).thenReturn(mInstantHotspot); in setUp()279 assertThat(keys).doesNotContain(WifiTetherSettings.KEY_INSTANT_HOTSPOT); in getNonIndexableKeys_tetherAvailable_keysNotReturned()297 assertThat(keys).contains(WifiTetherSettings.KEY_INSTANT_HOTSPOT); in getNonIndexableKeys_tetherNotAvailable_keysReturned()315 assertThat(keys).contains(WifiTetherSettings.KEY_INSTANT_HOTSPOT); in getNonIndexableKeys_hotspotNotAvailable_keysReturned()350 assertThat(keys).contains(WifiTetherSettings.KEY_INSTANT_HOTSPOT); in getNonIndexableKeys_instantHotspotNotAvailableOnly_keysContainInstantHotspotOnly()411 verify(mSettings, never()).findPreference(KEY_INSTANT_HOTSPOT); in setupInstantHotspot_featureNotAvailable_doNothing()421 verify(mSettings).findPreference(KEY_INSTANT_HOTSPOT); in setupInstantHotspot_featureAvailable_doSetup()
79 static final String KEY_INSTANT_HOTSPOT = "wifi_hotspot_instant"; field in WifiTetherSettings179 mInstantHotspot = findPreference(KEY_INSTANT_HOTSPOT); in setupInstantHotspot()181 Log.e(TAG, "Failed to find Instant Hotspot preference:" + KEY_INSTANT_HOTSPOT); in setupInstantHotspot()377 keys.add(KEY_INSTANT_HOTSPOT); in getNonIndexableKeys()379 keys.add(KEY_INSTANT_HOTSPOT); in getNonIndexableKeys()