Searched refs:mSharedConnectivityRepository (Results 1 – 3 of 3) sorted by relevance
87 private SharedConnectivityRepository mSharedConnectivityRepository; field in WifiTetherViewModel99 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()
68 private SharedConnectivityRepository mSharedConnectivityRepository; field in WifiTetherViewModelTest87 .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()
49 private SharedConnectivityRepository mSharedConnectivityRepository; field in WifiFeatureProvider102 if (mSharedConnectivityRepository == null) { in getSharedConnectivityRepository()103 mSharedConnectivityRepository = new SharedConnectivityRepository(mAppContext); in getSharedConnectivityRepository()104 verboseLog(TAG, "getSharedConnectivityRepository():" + mSharedConnectivityRepository); in getSharedConnectivityRepository()106 return mSharedConnectivityRepository; in getSharedConnectivityRepository()