Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java103 protected MutableLiveData<Boolean> m5gAvailable; field in WifiHotspotRepository
410 if (m5gAvailable == null) { in get5gAvailable()
411 m5gAvailable = new MutableLiveData<>(); in get5gAvailable()
412 m5gAvailable.setValue(is5gAvailable()); in get5gAvailable()
414 return m5gAvailable; in get5gAvailable()
418 if (m5gAvailable != null) { in update5gAvailable()
419 m5gAvailable.setValue(is5gAvailable()); in update5gAvailable()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java65 MutableLiveData<Boolean> m5gAvailable; field in WifiHotspotSpeedViewModelTest
82 when(mWifiHotspotRepository.get5gAvailable()).thenReturn(m5gAvailable); in setUp()
95 verify(m5gAvailable).observeForever(mViewModel.m5gAvailableObserver); in constructor_observeDataAndSetAutoRefresh()
122 verify(m5gAvailable).removeObserver(mViewModel.m5gAvailableObserver); in onCleared_removeObserverData()