/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileTelephonyHelpers.kt | 40 fun signalStrength(gsmLevel: Int, cdmaLevel: Int, isGsm: Boolean): SignalStrength { in signalStrength() 45 mock<CellSignalStrengthCdma>().also { whenever(it.level).thenReturn(cdmaLevel) } in signalStrength()
|
D | MobileConnectionRepositoryTest.kt | 213 val job = underTest.cdmaLevel.onEach { latest = it }.launchIn(this) in cdmaLevelUpdates() 216 var strength = signalStrength(gsmLevel = 1, cdmaLevel = 2, isGsm = true) in cdmaLevelUpdates() 222 strength = signalStrength(gsmLevel = 3, cdmaLevel = 2, isGsm = true) in cdmaLevelUpdates() 237 var strength = signalStrength(gsmLevel = 1, cdmaLevel = 2, isGsm = true) in gsmLevelUpdates() 242 strength = signalStrength(gsmLevel = 3, cdmaLevel = 2, isGsm = true) in gsmLevelUpdates() 257 var strength = signalStrength(gsmLevel = 1, cdmaLevel = 2, isGsm = true) in isGsm() 262 strength = signalStrength(gsmLevel = 1, cdmaLevel = 2, isGsm = false) in isGsm()
|
D | MobileConnectionTelephonySmokeTests.kt | 320 val strength = signalStrength(gsmLevel = 1, cdmaLevel = 2, isGsm = true) in <lambda>() 325 val job = underTest.cdmaLevel.onEach { latest = it }.launchIn(this) in <lambda>()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrengthCdma.java | 122 int cdmaLevel = getCdmaLevel(); in updateLevel() local 127 } else if (cdmaLevel == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) { in updateLevel() 132 mLevel = cdmaLevel < evdoLevel ? cdmaLevel : evdoLevel; in updateLevel()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | FakeMobileConnectionRepository.kt | 42 override val cdmaLevel = MutableStateFlow(0) constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository 80 cdmaLevel.value = level in setAllLevels()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | FullMobileConnectionRepository.kt | 206 override val cdmaLevel = in <lambda>() constant 208 .flatMapLatest { it.cdmaLevel } in <lambda>() 213 activeRepo.value.cdmaLevel.value in <lambda>() 215 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.cdmaLevel.value) in <lambda>()
|
D | CarrierMergedConnectionRepository.kt | 133 override val cdmaLevel = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
|
D | MobileConnectionRepositoryImpl.kt | 249 override val cdmaLevel = in <lambda>() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconInteractor.kt | 292 connectionRepository.cdmaLevel, 294 ) { isGsm, primaryLevel, cdmaLevel, alwaysUseCdmaLevel -> in primaryLevel() method 298 alwaysUseCdmaLevel -> cdmaLevel in primaryLevel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileConnectionRepository.kt | 104 val cdmaLevel: StateFlow<Int> constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconInteractorTest.kt | 92 connectionRepository.cdmaLevel.value = CDMA_LEVEL in gsm_usesGsmLevel() 107 connectionRepository.cdmaLevel.value = CDMA_LEVEL in gsm_alwaysShowCdmaTrue_stillUsesGsmLevel() 135 connectionRepository.cdmaLevel.value = CDMA_LEVEL in notGsm_alwaysShowCdmaTrue_usesCdmaLevel() 151 connectionRepository.cdmaLevel.value = CDMA_LEVEL in notGsm_alwaysShowCdmaFalse_usesPrimaryLevel() 710 connectionRepository.cdmaLevel.value = 1 in cellBasedIcon_usesCarrierNetworkState_whenInCarrierNetworkChangeMode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionParameterizedTest.kt | 137 launch { conn.cdmaLevel.collect {} } in TestScope() 159 assertThat(conn.cdmaLevel.value).isEqualTo(model.level) in TestScope()
|
D | DemoMobileConnectionsRepositoryTest.kt | 546 launch { conn.cdmaLevel.collect {} } in <lambda>() 570 assertThat(conn.cdmaLevel.value).isEqualTo(model.level) in <lambda>() 601 assertThat(conn.cdmaLevel.value).isEqualTo(model.level) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | LocationBasedMobileIconViewModelTest.kt | 101 cdmaLevel.value = 1 in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionRepository.kt | 152 override val cdmaLevel = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
|