Home
last modified time | relevance | path

Searched refs:airplaneModeRepository (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/
DDeviceBasedSatelliteViewModelTest.kt50 private lateinit var airplaneModeRepository: FakeAirplaneModeRepository variable in com.android.systemui.statusbar.pipeline.satellite.ui.viewmodel.DeviceBasedSatelliteViewModelTest
64 airplaneModeRepository = FakeAirplaneModeRepository() in setUp()
80 airplaneModeRepository, in setUp()
99 airplaneModeRepository.setIsAirplaneMode(false) in icon_nullWhenShouldNotShow_satelliteNotAllowed()
119 airplaneModeRepository.setIsAirplaneMode(false) in icon_nullWhenShouldNotShow_notAllOos()
140 airplaneModeRepository.setIsAirplaneMode(false) in icon_nullWhenShouldNotShow_isEmergencyOnly()
169 airplaneModeRepository.setIsAirplaneMode(true) in icon_nullWhenShouldNotShow_apmIsEnabled()
190 airplaneModeRepository.setIsAirplaneMode(false) in icon_satelliteIsOn()
214 airplaneModeRepository.setIsAirplaneMode(false) in icon_hysteresisWhenEnablingIcon()
226 airplaneModeRepository.setIsAirplaneMode(true) in icon_hysteresisWhenEnablingIcon()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/domain/interactor/
DAirplaneModeInteractorTest.kt45 private val airplaneModeRepository = FakeAirplaneModeRepository() constant
50 airplaneModeRepository,
60 airplaneModeRepository.setIsAirplaneMode(true) in <lambda>()
64 airplaneModeRepository.setIsAirplaneMode(false) in <lambda>()
68 airplaneModeRepository.setIsAirplaneMode(true) in <lambda>()
101 assertThat(airplaneModeRepository.isAirplaneMode.value).isFalse() in <lambda>()
112 assertThat(airplaneModeRepository.isAirplaneMode.value).isTrue() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/ui/viewmodel/
DAirplaneModeViewModelImplTest.kt47 private lateinit var airplaneModeRepository: FakeAirplaneModeRepository variable in com.android.systemui.statusbar.pipeline.airplane.ui.viewmodel.AirplaneModeViewModelImplTest
55 airplaneModeRepository = FakeAirplaneModeRepository() in setUp()
59 airplaneModeRepository, in setUp()
77 airplaneModeRepository.setIsAirplaneMode(false) in isAirplaneModeIconVisible_notAirplaneMode_outputsFalse()
91 airplaneModeRepository.setIsAirplaneMode(true) in isAirplaneModeIconVisible_forceHidden_outputsFalse()
105 airplaneModeRepository.setIsAirplaneMode(true) in isAirplaneModeIconVisible_isAirplaneModeAndNotForceHidden_outputsTrue()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/airplate/domain/interactor/
DAirplaneModeTileUserActionInteractorTest.kt47 private val airplaneModeRepository = FakeAirplaneModeRepository() constant in com.android.systemui.qs.tiles.impl.airplate.domain.interactor.AirplaneModeTileUserActionInteractorTest
53 airplaneModeRepository,
63 airplaneModeRepository.setIsAirplaneMode(isInAirplaneMode) in <lambda>()
72 assertThat(airplaneModeRepository.isAirplaneMode.value).isFalse() in <lambda>()
78 airplaneModeRepository.setIsAirplaneMode(isInAirplaneMode) in <lambda>()
84 assertThat(airplaneModeRepository.isAirplaneMode.value).isTrue() in <lambda>()
DAirplaneModeTileDataInteractorTest.kt44 private val airplaneModeRepository = FakeAirplaneModeRepository() constant
47 AirplaneModeTileDataInteractor(airplaneModeRepository)
63 airplaneModeRepository.setIsAirplaneMode(true) in <lambda>()
66 airplaneModeRepository.setIsAirplaneMode(false) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/airplane/domain/interactor/
DAirplaneModeInteractor.kt39 private val airplaneModeRepository: AirplaneModeRepository, constant in com.android.systemui.statusbar.pipeline.airplane.domain.interactor.AirplaneModeInteractor
44 val isAirplaneMode: StateFlow<Boolean> = airplaneModeRepository.isAirplaneMode
55 airplaneModeRepository.setIsAirplaneMode(isInAirplaneMode)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DOperatorNameViewControllerTest.kt69 private val airplaneModeRepository = FakeAirplaneModeRepository() constant
79 airplaneModeRepository, in setup()
115 airplaneModeRepository.setIsAirplaneMode(false) in updateFromSubInfo_showsCarrieName()
140 airplaneModeRepository.setIsAirplaneMode(false) in notDataCapable_doesNotShowOperatorName()
164 airplaneModeRepository.setIsAirplaneMode(true) in airplaneMode_doesNotShowOperatorName()
195 airplaneModeRepository.setIsAirplaneMode(false) in notInService_doesNotShowOperatorName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/airplane/domain/interactor/
DAirplaneModeTileDataInteractor.kt33 private val airplaneModeRepository: AirplaneModeRepository, constant in com.android.systemui.qs.tiles.impl.airplane.domain.interactor.AirplaneModeTileDataInteractor
40 airplaneModeRepository.isAirplaneMode.map { AirplaneModeTileModel(it) } in tileData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DInternetTileNewImplTest.kt69 private var airplaneModeRepository = FakeAirplaneModeRepository() variable
100 airplaneModeRepository, in setUp()
166 airplaneModeRepository.setIsAirplaneMode(true) in airplaneMode_enabled_wifiDisabled()
181 airplaneModeRepository.setIsAirplaneMode(true) in airplaneMode_enabled_wifiEnabledButNotConnected()
196 airplaneModeRepository.setIsAirplaneMode(true) in airplaneMode_enabled_wifiEnabledAndConnected()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/
DModernStatusBarMobileViewTest.kt71 private lateinit var airplaneModeRepository: FakeAirplaneModeRepository variable in com.android.systemui.statusbar.pipeline.mobile.ui.view.ModernStatusBarMobileViewTest
86 airplaneModeRepository = FakeAirplaneModeRepository() in setUp()
89 airplaneModeRepository, in setUp()
205 airplaneModeRepository.setIsAirplaneMode(false) in <lambda>()
224 airplaneModeRepository.setIsAirplaneMode(true) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelTest.kt67 private lateinit var airplaneModeRepository: FakeAirplaneModeRepository variable in com.android.systemui.statusbar.pipeline.wifi.ui.viewmodel.WifiViewModelTest
78 airplaneModeRepository = FakeAirplaneModeRepository() in setUp()
87 airplaneModeRepository, in setUp()
407 airplaneModeRepository.setIsAirplaneMode(false) in airplaneSpacer_notAirplaneMode_outputsFalse()
417 airplaneModeRepository.setIsAirplaneMode(true) in airplaneSpacer_airplaneForceHidden_outputsFalse()
428 airplaneModeRepository.setIsAirplaneMode(true) in airplaneSpacer_airplaneIconVisible_outputsTrue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModelTest.kt84 private lateinit var airplaneModeRepository: FakeAirplaneModeRepository variable in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.MobileIconViewModelTest
116 airplaneModeRepository = FakeAirplaneModeRepository() in setUp()
119 airplaneModeRepository, in setUp()
176 airplaneModeRepository.setIsAirplaneMode(false) in isVisible_notAirplane_notForceHidden_true()
189 airplaneModeRepository.setIsAirplaneMode(true) in isVisible_airplaneAndNotAllowed_false()
205 airplaneModeRepository.setIsAirplaneMode(true) in isVisible_airplaneButAllowed_true()
220 airplaneModeRepository.setIsAirplaneMode(false) in isVisible_forceHidden_false()
234 airplaneModeRepository.setIsAirplaneMode(false) in isVisible_respondsToUpdates()
239 airplaneModeRepository.setIsAirplaneMode(true) in isVisible_respondsToUpdates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/
DDeviceBasedSatelliteViewModel.kt72 airplaneModeRepository: AirplaneModeRepository,
84 airplaneModeRepository.isAirplaneMode in allOos()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/
DModernStatusBarWifiViewTest.kt70 private lateinit var airplaneModeRepository: FakeAirplaneModeRepository variable in com.android.systemui.statusbar.pipeline.wifi.ui.view.ModernStatusBarWifiViewTest
83 airplaneModeRepository = FakeAirplaneModeRepository() in setUp()
92 airplaneModeRepository, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelIconParameterizedTest.kt73 private lateinit var airplaneModeRepository: FakeAirplaneModeRepository in <lambda>() variable in com.android.systemui.statusbar.pipeline.wifi.ui.viewmodel.WifiViewModelIconParameterizedTest
83 airplaneModeRepository = FakeAirplaneModeRepository() in <lambda>()
92 airplaneModeRepository, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModel.kt60 airplaneModeRepository: AirplaneModeRepository, in <lambda>()
198 airplaneModeRepository.isAirplaneMode, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractor.kt64 airplaneModeRepository: AirplaneModeRepository, in <lambda>()
212 airplaneModeRepository.isAirplaneMode, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryImpl.kt104 airplaneModeRepository: AirplaneModeRepository, in <lambda>()
135 airplaneModeRepository.isAirplaneMode, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModelTest.kt64 private val airplaneModeRepository = FakeAirplaneModeRepository() constant in com.android.systemui.statusbar.pipeline.shared.ui.viewmodel.InternetTileViewModelTest
117 airplaneModeRepository, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt121 private lateinit var airplaneModeRepository: FakeAirplaneModeRepository in <lambda>() variable in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.MobileConnectionsRepositoryTest
190 airplaneModeRepository = FakeAirplaneModeRepository() in <lambda>()
255 airplaneModeRepository, in <lambda>()
1168 airplaneModeRepository.setIsAirplaneMode(true) in <lambda>()
1232 airplaneModeRepository, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/dagger/
DStatusBarPipelineModule.kt76 abstract fun airplaneModeRepository(impl: AirplaneModeRepositoryImpl): AirplaneModeRepository in airplaneModeRepository() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt81 private val airplaneModeRepository = FakeAirplaneModeRepository() in <lambda>() constant in com.android.systemui.qs.tiles.impl.internet.domain.interactor.InternetTileDataInteractorTest
149 airplaneModeRepository, in <lambda>()