/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | FullMobileConnectionRepositoryTest.kt | 219 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 …]
|
D | CarrierMergedConnectionRepositoryTest.kt | 120 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()
|
D | MobileConnectionRepositoryTest.kt | 234 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/ |
D | MobileIconInteractorTest.kt | 91 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/ |
D | FakeMobileConnectionRepository.kt | 43 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/ |
D | MobileIconInteractor.kt | 291 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/ |
D | FullMobileConnectionRepository.kt | 217 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>()
|
D | CarrierMergedConnectionRepository.kt | 128 override val primaryLevel = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
|
D | MobileConnectionRepositoryImpl.kt | 264 override val primaryLevel = in <lambda>() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileConnectionRepository.kt | 108 val primaryLevel: StateFlow<Int> constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionParameterizedTest.kt | 138 launch { conn.primaryLevel.collect {} } in TestScope() 160 assertThat(conn.primaryLevel.value).isEqualTo(model.level) in TestScope()
|
D | DemoMobileConnectionsRepositoryTest.kt | 547 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/ |
D | LocationBasedMobileIconViewModelTest.kt | 102 primaryLevel.value = 1 in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionRepository.kt | 163 override val primaryLevel = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
|