Home
last modified time | relevance | path

Searched refs:mSharedConnectivityRepository (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherViewModel.java87 private SharedConnectivityRepository mSharedConnectivityRepository; field in WifiTetherViewModel
99 mSharedConnectivityRepository = featureProvider.getSharedConnectivityRepository(); in WifiTetherViewModel()
100 if (mSharedConnectivityRepository.isServiceAvailable()) { in WifiTetherViewModel()
101 mSharedConnectivityRepository.getSettingsState() in WifiTetherViewModel()
114 if (mSharedConnectivityRepository.isServiceAvailable()) { in onCleared()
115 mSharedConnectivityRepository.getSettingsState() in onCleared()
205 return mSharedConnectivityRepository.isServiceAvailable(); in isInstantHotspotFeatureAvailable()
234 mSharedConnectivityRepository.launchSettings(); in launchInstantHotspotSettings()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherViewModelTest.java68 private SharedConnectivityRepository mSharedConnectivityRepository; field in WifiTetherViewModelTest
87 .thenReturn(mSharedConnectivityRepository); in setUp()
88 when(mSharedConnectivityRepository.isServiceAvailable()).thenReturn(true); in setUp()
89 when(mSharedConnectivityRepository.getSettingsState()).thenReturn(mSettingsState); in setUp()
171 when(mSharedConnectivityRepository.isServiceAvailable()).thenReturn(true); in isInstantHotspotFeatureAvailable_serviceAvailable_returnTrue()
178 when(mSharedConnectivityRepository.isServiceAvailable()).thenReturn(false); in isInstantHotspotFeatureAvailable_serviceNotAvailable_returnFalse()
221 verify(mSharedConnectivityRepository).launchSettings(); in launchInstantHotspotSettings_launchSettingsByRepository()
/packages/apps/Settings/src/com/android/settings/wifi/factory/
DWifiFeatureProvider.java49 private SharedConnectivityRepository mSharedConnectivityRepository; field in WifiFeatureProvider
102 if (mSharedConnectivityRepository == null) { in getSharedConnectivityRepository()
103 mSharedConnectivityRepository = new SharedConnectivityRepository(mAppContext); in getSharedConnectivityRepository()
104 verboseLog(TAG, "getSharedConnectivityRepository():" + mSharedConnectivityRepository); in getSharedConnectivityRepository()
106 return mSharedConnectivityRepository; in getSharedConnectivityRepository()