Searched refs:isHotspotAvailable (Results 1 – 2 of 2) sorted by relevance
154 when(mWifiRestriction.isHotspotAvailable(mContext)).thenReturn(true); in setUp()199 when(mWifiRestriction.isHotspotAvailable(mContext)).thenReturn(false); in onCreate_uiIsRestricted_shouldNotGetViewModel()221 when(mWifiRestriction.isHotspotAvailable(mContext)).thenReturn(false); in onStart_hotspotNotAvailable_removeAllPreferences()267 when(mWifiRestriction.isHotspotAvailable(mContext)).thenReturn(true); in getNonIndexableKeys_tetherAvailable_keysNotReturned()285 when(mWifiRestriction.isHotspotAvailable(mContext)).thenReturn(true); in getNonIndexableKeys_tetherNotAvailable_keysReturned()303 when(mWifiRestriction.isHotspotAvailable(mContext)).thenReturn(false); in getNonIndexableKeys_hotspotNotAvailable_keysReturned()321 when(mWifiRestriction.isHotspotAvailable(mContext)).thenReturn(false); in getNonIndexableKeys_tetherAndHotspotNotAvailable_keysReturned()338 when(mWifiRestriction.isHotspotAvailable(mContext)).thenReturn(true); in getNonIndexableKeys_instantHotspotNotAvailableOnly_keysContainInstantHotspotOnly()
145 mUnavailable = isUiRestricted() || !mWifiRestriction.isHotspotAvailable(getContext()); in onCreate()224 if (!mWifiRestriction.isHotspotAvailable(getContext())) { in onStart()371 || !mWifiRestriction.isHotspotAvailable(context)) { in getNonIndexableKeys()412 public boolean isHotspotAvailable(@Nullable Context context) { in isHotspotAvailable() method in WifiTetherSettings.WifiRestriction