Home
last modified time | relevance | path

Searched refs:connectivityRepository (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/ethernet/domain/
DEthernetInteractorTest.kt34 private val connectivityRepository = FakeConnectivityRepository() constant in com.android.systemui.statusbar.pipeline.ethernet.domain.EthernetInteractorTest
35 private val underTest = EthernetInteractor(connectivityRepository)
44 connectivityRepository.setEthernetConnected(default = true, validated = true) in icon_default_validated()
62 connectivityRepository.setEthernetConnected(default = true, validated = false) in icon_default_notValidated()
80 connectivityRepository.setEthernetConnected(default = false, validated = true) in icon_notDefault_validated()
90 connectivityRepository.setEthernetConnected(default = false, validated = false) in icon_notDefault_notValidated()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/ui/viewmodel/
DAirplaneModeViewModelImplTest.kt48 private lateinit var connectivityRepository: FakeConnectivityRepository variable in com.android.systemui.statusbar.pipeline.airplane.ui.viewmodel.AirplaneModeViewModelImplTest
56 connectivityRepository = FakeConnectivityRepository() in setUp()
60 connectivityRepository, in setUp()
76 connectivityRepository.setForceHiddenIcons(setOf()) in isAirplaneModeIconVisible_notAirplaneMode_outputsFalse()
90 connectivityRepository.setForceHiddenIcons(setOf(ConnectivitySlot.AIRPLANE)) in isAirplaneModeIconVisible_forceHidden_outputsFalse()
104 connectivityRepository.setForceHiddenIcons(setOf()) in isAirplaneModeIconVisible_isAirplaneModeAndNotForceHidden_outputsTrue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DInternetTileNewImplTest.kt70 private var connectivityRepository = FakeConnectivityRepository() variable in com.android.systemui.qs.tiles.InternetTileNewImplTest
71 private var ethernetInteractor = EthernetInteractor(connectivityRepository)
75 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope)
101 connectivityRepository, in setUp()
134 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in noDefaultConnection_noNetworkAvailable()
148 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in noDefaultConnection_networksAvailable()
167 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in airplaneMode_enabled_wifiDisabled()
182 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in airplaneMode_enabled_wifiEnabledButNotConnected()
197 connectivityRepository.defaultConnections.value = in airplaneMode_enabled_wifiEnabledAndConnected()
215 connectivityRepository.defaultConnections.value = in wifiConnected()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModelTest.kt65 private val connectivityRepository = FakeConnectivityRepository() constant in com.android.systemui.statusbar.pipeline.shared.ui.viewmodel.InternetTileViewModelTest
66 private val ethernetInteractor = EthernetInteractor(connectivityRepository)
71 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope)
108 connectivityRepository, in setUp()
118 connectivityRepository, in setUp()
132 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in noDefault_noNetworksAvailable()
160 connectivityRepository.setWifiConnected() in wifiDefaultAndActive()
188 connectivityRepository.setWifiConnected() in wifiDefaultAndActive_hotspotNone()
296 connectivityRepository.setWifiConnected(validated = false) in wifiDefaultAndNotActive_noNetworksAvailable()
311 connectivityRepository.setWifiConnected(validated = false) in wifiDefaultAndNotActive_networksAvailable()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt82 private val connectivityRepository = FakeConnectivityRepository() in <lambda>() constant
83 private val ethernetInteractor = EthernetInteractor(connectivityRepository) in <lambda>()
87 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) in <lambda>()
124 connectivityRepository, in <lambda>()
150 connectivityRepository, in <lambda>()
165 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in <lambda>()
196 connectivityRepository.setWifiConnected() in <lambda>()
230 connectivityRepository.setWifiConnected() in <lambda>()
405 connectivityRepository.setWifiConnected(validated = false) in <lambda>()
423 connectivityRepository.setWifiConnected(validated = false) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/domain/interactor/
DAirplaneModeInteractorTest.kt46 private val connectivityRepository = FakeConnectivityRepository() constant
51 connectivityRepository,
75 connectivityRepository.setForceHiddenIcons(setOf(ConnectivitySlot.AIRPLANE)) in <lambda>()
86 connectivityRepository.setForceHiddenIcons(setOf()) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
DWifiInteractorKosmos.kt21 import com.android.systemui.statusbar.pipeline.shared.data.repository.connectivityRepository
27 connectivityRepository, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/ethernet/domain/
DEthernetInteractor.kt37 connectivityRepository: ConnectivityRepository,
41 connectivityRepository.defaultConnections.map { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/airplane/domain/interactor/
DAirplaneModeInteractor.kt40 connectivityRepository: ConnectivityRepository,
48 connectivityRepository.forceHiddenSlots.map { it.contains(ConnectivitySlot.AIRPLANE) } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
DWifiInteractorImplTest.kt51 private lateinit var connectivityRepository: FakeConnectivityRepository variable in com.android.systemui.statusbar.pipeline.wifi.domain.interactor.WifiInteractorImplTest
58 connectivityRepository = FakeConnectivityRepository() in setUp()
61 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) in setUp()
281 connectivityRepository.setForceHiddenIcons(setOf(ConnectivitySlot.WIFI)) in isForceHidden_repoHasWifiHidden_outputsTrue()
295 connectivityRepository.setForceHiddenIcons(setOf()) in isForceHidden_repoDoesNotHaveWifiHidden_outputsFalse()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelIconParameterizedTest.kt74 private lateinit var connectivityRepository: FakeConnectivityRepository in <lambda>() variable in com.android.systemui.statusbar.pipeline.wifi.ui.viewmodel.WifiViewModelIconParameterizedTest
84 connectivityRepository = FakeConnectivityRepository() in <lambda>()
88 interactor = WifiInteractorImpl(connectivityRepository, wifiRepository, scope) in <lambda>()
93 connectivityRepository, in <lambda>()
111 connectivityRepository.setForceHiddenIcons( in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/shared/data/repository/
DConnectivityRepositoryKosmos.kt23 val Kosmos.connectivityRepository: ConnectivityRepository by constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
DWifiInteractor.kt72 connectivityRepository: ConnectivityRepository,
103 connectivityRepository.forceHiddenSlots.map { it.contains(ConnectivitySlot.WIFI) } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/airplate/domain/interactor/
DAirplaneModeTileUserActionInteractorTest.kt46 private val connectivityRepository = FakeConnectivityRepository() constant
54 connectivityRepository,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/
DModernStatusBarWifiViewTest.kt71 private lateinit var connectivityRepository: FakeConnectivityRepository variable in com.android.systemui.statusbar.pipeline.wifi.ui.view.ModernStatusBarWifiViewTest
84 connectivityRepository = FakeConnectivityRepository() in setUp()
88 interactor = WifiInteractorImpl(connectivityRepository, wifiRepository, scope) in setUp()
93 connectivityRepository, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DLocationBasedMobileIconViewModelTest.kt72 private val connectivityRepository = FakeConnectivityRepository() constant
111 connectivityRepository.apply { setMobileConnected() } in setUp()
118 connectivityRepository, in setUp()
DMobileIconViewModelTest.kt77 private var connectivityRepository = FakeConnectivityRepository() variable in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.MobileIconViewModelTest
120 connectivityRepository, in setUp()
129 connectivityRepository, in setUp()
191 connectivityRepository.setForceHiddenIcons(setOf()) in isVisible_airplaneAndNotAllowed_false()
207 connectivityRepository.setForceHiddenIcons(setOf()) in isVisible_airplaneButAllowed_true()
221 connectivityRepository.setForceHiddenIcons(setOf(ConnectivitySlot.MOBILE)) in isVisible_forceHidden_false()
235 connectivityRepository.setForceHiddenIcons(setOf()) in isVisible_respondsToUpdates()
245 connectivityRepository.setForceHiddenIcons(setOf(ConnectivitySlot.MOBILE)) in isVisible_respondsToUpdates()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelTest.kt68 private lateinit var connectivityRepository: FakeConnectivityRepository variable in com.android.systemui.statusbar.pipeline.wifi.ui.viewmodel.WifiViewModelTest
79 connectivityRepository = FakeConnectivityRepository() in setUp()
83 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) in setUp()
88 connectivityRepository, in setUp()
418 connectivityRepository.setForceHiddenIcons(setOf(ConnectivitySlot.AIRPLANE)) in airplaneSpacer_airplaneForceHidden_outputsFalse()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractorTest.kt60 private lateinit var connectivityRepository: FakeConnectivityRepository variable in com.android.systemui.statusbar.pipeline.mobile.domain.interactor.MobileIconsInteractorTest
88 connectivityRepository = FakeConnectivityRepository() in setUp()
106 connectivityRepository, in setUp()
265 connectivityRepository.vcnSubId.value = SUB_3_ID in filteredSubscriptions_vcnSubId_agreesWithActiveSubId_usesActiveAkaVcnSub()
285 connectivityRepository.vcnSubId.value = SUB_1_ID in filteredSubscriptions_vcnSubId_disagreesWithActiveSubId_usesVcnSub()
867 connectivityRepository.setForceHiddenIcons(setOf(ConnectivitySlot.MOBILE)) in isForceHidden_repoHasMobileHidden_true()
877 connectivityRepository.setForceHiddenIcons(setOf(ConnectivitySlot.WIFI)) in isForceHidden_repoDoesNotHaveMobileHidden_false()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractor.kt136 connectivityRepository: ConnectivityRepository,
225 connectivityRepository.vcnSubId,
383 connectivityRepository.forceHiddenSlots
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileRepositorySwitcherTest.kt85 private lateinit var connectivityRepository: ConnectivityRepository variable in com.android.systemui.statusbar.pipeline.mobile.data.repository.MobileRepositorySwitcherTest
121 connectivityRepository = FakeConnectivityRepository() in setUp()
125 connectivityRepository, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryImpl.kt92 connectivityRepository: ConnectivityRepository, in <lambda>()
134 connectivityRepository.defaultConnections, in <lambda>()
341 connectivityRepository.defaultConnections in <lambda>()
365 connectivityRepository.defaultConnections in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DOperatorNameViewControllerTest.kt70 private val connectivityRepository = FakeConnectivityRepository() constant
80 connectivityRepository, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModel.kt61 connectivityRepository: ConnectivityRepository, in <lambda>()
233 connectivityRepository.defaultConnections.flatMapLatest { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractor.kt65 private val connectivityRepository: ConnectivityRepository, in <lambda>() constant
252 connectivityRepository.defaultConnections.flatMapLatest { in <lambda>()

12