Home
last modified time | relevance | path

Searched refs:primaryLevel (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepositoryTest.kt219 val levelJob = underTest.primaryLevel.onEach { latestLevel = it }.launchIn(this) in connectionInfo_getsUpdatesFromRepo_carrierMerged()
226 carrierMergedRepo.primaryLevel.value = level1 in connectionInfo_getsUpdatesFromRepo_carrierMerged()
234 carrierMergedRepo.primaryLevel.value = level2 in connectionInfo_getsUpdatesFromRepo_carrierMerged()
242 carrierMergedRepo.primaryLevel.value = level3 in connectionInfo_getsUpdatesFromRepo_carrierMerged()
260 val levelJob = underTest.primaryLevel.onEach { latestLevel = it }.launchIn(this) in connectionInfo_getsUpdatesFromRepo_mobile()
267 mobileRepo.primaryLevel.value = level1 in connectionInfo_getsUpdatesFromRepo_mobile()
275 mobileRepo.primaryLevel.value = level2 in connectionInfo_getsUpdatesFromRepo_mobile()
283 mobileRepo.primaryLevel.value = level3 in connectionInfo_getsUpdatesFromRepo_mobile()
301 val levelJob = underTest.primaryLevel.onEach { latestLevel = it }.launchIn(this) in connectionInfo_updatesWhenCarrierMergedUpdates()
306 carrierMergedRepo.primaryLevel.value = carrierMergedLevel in connectionInfo_updatesWhenCarrierMergedUpdates()
[all …]
DCarrierMergedConnectionRepositoryTest.kt120 val job = underTest.primaryLevel.onEach { latest = it }.launchIn(this) in carrierMergedWifi_isValidAndFieldsComeFromWifiNetwork()
181 val levelJob = underTest.primaryLevel.onEach { latestLevel = it }.launchIn(this) in carrierMergedWifi_wrongSubId_isDefault()
204 val job = underTest.primaryLevel.onEach { latest = it }.launchIn(this) in carrierMergedButNotEnabled_isDefault()
225 val job = underTest.primaryLevel.onEach { latest = it }.launchIn(this) in carrierMergedButWifiNotDefault_isDefault()
DMobileConnectionRepositoryTest.kt234 val job = underTest.primaryLevel.onEach { latest = it }.launchIn(this) in gsmLevelUpdates()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt91 connectionRepository.primaryLevel.value = GSM_LEVEL in gsm_usesGsmLevel()
106 connectionRepository.primaryLevel.value = GSM_LEVEL in gsm_alwaysShowCdmaTrue_stillUsesGsmLevel()
134 connectionRepository.primaryLevel.value = GSM_LEVEL in notGsm_alwaysShowCdmaTrue_usesCdmaLevel()
150 connectionRepository.primaryLevel.value = GSM_LEVEL in notGsm_alwaysShowCdmaFalse_usesPrimaryLevel()
186 connectionRepository.primaryLevel.value = 4 in inflateSignalStrength_arbitrarilyAddsOneToTheReportedLevel()
190 connectionRepository.primaryLevel.value = 4 in inflateSignalStrength_arbitrarilyAddsOneToTheReportedLevel()
562 connectionRepository.primaryLevel.value = 1 in cellBasedIconId_correctLevel_notCutout()
587 connectionRepository.primaryLevel.value = 3 in icon_usesLevelFromInteractor()
590 connectionRepository.primaryLevel.value = 1 in icon_usesLevelFromInteractor()
685 connectionRepository.primaryLevel.value = 2 in cellBasedIcon_usesEmptyState_whenNotInService()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt43 override val primaryLevel = MutableStateFlow(0) constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository
81 primaryLevel.value = level in setAllLevels()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractor.kt291 connectionRepository.primaryLevel,
294 ) { isGsm, primaryLevel, cdmaLevel, alwaysUseCdmaLevel -> in primaryLevel() method
297 isGsm -> primaryLevel in primaryLevel()
299 else -> primaryLevel in primaryLevel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepository.kt217 override val primaryLevel = in <lambda>() constant
219 .flatMapLatest { it.primaryLevel } in <lambda>()
224 activeRepo.value.primaryLevel.value in <lambda>()
226 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.primaryLevel.value) in <lambda>()
DCarrierMergedConnectionRepository.kt128 override val primaryLevel = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
DMobileConnectionRepositoryImpl.kt264 override val primaryLevel = in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileConnectionRepository.kt108 val primaryLevel: StateFlow<Int> constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionParameterizedTest.kt138 launch { conn.primaryLevel.collect {} } in TestScope()
160 assertThat(conn.primaryLevel.value).isEqualTo(model.level) in TestScope()
DDemoMobileConnectionsRepositoryTest.kt547 launch { conn.primaryLevel.collect {} } in <lambda>()
571 assertThat(conn.primaryLevel.value).isEqualTo(model.level) in <lambda>()
602 assertThat(conn.primaryLevel.value).isEqualTo(model.level) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DLocationBasedMobileIconViewModelTest.kt102 primaryLevel.value = 1 in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionRepository.kt163 override val primaryLevel = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository