Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileTelephonyHelpers.kt40 fun signalStrength(gsmLevel: Int, cdmaLevel: Int, isGsm: Boolean): SignalStrength { in signalStrength()
42 whenever(signalStrength.isGsm).thenReturn(isGsm) in signalStrength()
DMobileConnectionRepositoryTest.kt216 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()
251 fun isGsm() = in isGsm() method in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.MobileConnectionRepositoryTest
254 val job = underTest.isGsm.onEach { latest = it }.launchIn(this) in isGsm()
257 var strength = signalStrength(gsmLevel = 1, cdmaLevel = 2, isGsm = true) in isGsm()
262 strength = signalStrength(gsmLevel = 1, cdmaLevel = 2, isGsm = false) in isGsm()
DMobileConnectionTelephonySmokeTests.kt320 val strength = signalStrength(gsmLevel = 1, cdmaLevel = 2, isGsm = true) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractor.kt274 connectionRepository.isGsm,
277 ) { carrierNetworkChangeActive, isGsm, isRoaming, cdmaRoaming -> in isRoaming() method
280 } else if (isGsm) { in isRoaming()
290 connectionRepository.isGsm,
294 ) { isGsm, primaryLevel, cdmaLevel, alwaysUseCdmaLevel -> in primaryLevel() method
297 isGsm -> primaryLevel in primaryLevel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt90 connectionRepository.isGsm.value = true in gsm_usesGsmLevel()
105 connectionRepository.isGsm.value = true in gsm_alwaysShowCdmaTrue_stillUsesGsmLevel()
121 connectionRepository.isGsm.value = false in notGsm_level_default_unknown()
133 connectionRepository.isGsm.value = false in notGsm_alwaysShowCdmaTrue_usesCdmaLevel()
149 connectionRepository.isGsm.value = false in notGsm_alwaysShowCdmaFalse_usesPrimaryLevel()
404 connectionRepository.isGsm.value = true in roaming_isGsm_usesConnectionModel()
423 connectionRepository.isGsm.value = false in roaming_isCdma_usesCdmaRoamingBit()
429 connectionRepository.isGsm.value = false in roaming_isCdma_usesCdmaRoamingBit()
444 connectionRepository.isGsm.value = false in roaming_falseWhileCarrierNetworkChangeActive()
451 connectionRepository.isGsm.value = true in roaming_falseWhileCarrierNetworkChangeActive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepository.kt195 override val isGsm = in <lambda>() constant
197 .flatMapLatest { it.isGsm } in <lambda>()
202 activeRepo.value.isGsm.value in <lambda>()
204 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.isGsm.value) in <lambda>()
DCarrierMergedConnectionRepository.kt174 override val isGsm = MutableStateFlow(false).asStateFlow() in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
DMobileConnectionRepositoryImpl.kt243 override val isGsm = in <lambda>() constant
246 .map { it.signalStrength.isGsm } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileConnectionRepository.kt97 val isGsm: StateFlow<Boolean> constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DMobileState.kt122 return signalStrength != null && !signalStrength!!.isGsm in isCdma()
302 "isGsm=$isGsm," + in minLog()
DMobileSignalController.java462 if (!signalStrength.isGsm() && mConfig.alwaysShowCdmaRssi) { in getSignalLevel()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt41 override val isGsm = MutableStateFlow(false) constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository
/frameworks/base/services/core/java/com/android/server/am/
DDataConnectionStats.java135 return mSignalStrength != null && !mSignalStrength.isGsm(); in isCdma()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVoiceIndication.java66 public void callRing(int indicationType, boolean isGsm, in callRing() argument
73 if (!isGsm) { in callRing()
DRadioIndication.java487 public void callRing(int indicationType, boolean isGsm, CdmaSignalInfoRecord record) { in callRing() argument
493 if (!isGsm) { in callRing()
DGsmCdmaPhone.java4569 (ServiceState.isGsm(volteReplacementRat) || in phoneObjectUpdater()
4604 boolean matchGsm = ServiceState.isGsm(newVoiceRadioTech); in phoneObjectUpdater()
4662 + (ServiceState.isGsm(newVoiceRadioTech) ? "GSM" : "CDMA")); in switchVoiceRadioTech()
4672 } else if (ServiceState.isGsm(newVoiceRadioTech)) { in switchVoiceRadioTech()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java182 assertFalse("RAT " + rat + " should not be GSM", ServiceState.isGsm(rat.first)); in testRAT()
185 assertTrue("RAT " + rat + " should be GSM", ServiceState.isGsm(rat.first)); in testRAT()
DSignalStrengthControllerTest.java456 assertEquals(mSsc.getSignalStrength().isGsm(), true); in testSignalStrength()
471 assertEquals(mSsc.getSignalStrength().isGsm(), true); in testSignalStrength()
485 assertEquals(mSsc.getSignalStrength().isGsm(), false); in testSignalStrength()
DSignalStrengthTest.java130 assertEquals(true, s.isGsm()); in testDefaults()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionsRepositoryTest.kt586 assertThat(conn.isGsm.value).isFalse() in <lambda>()
606 assertThat(conn.isGsm.value).isFalse() in <lambda>()
DDemoMobileConnectionParameterizedTest.kt175 assertThat(conn.isGsm.value).isFalse() in TestScope()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java423 setCurrentAppType(ServiceState.isGsm(radioTech)); in setVoiceRadioTech()
428 private void setCurrentAppType(boolean isGsm) { in setCurrentAppType() argument
432 if (isGsm) { in setCurrentAppType()
1170 setCurrentAppType(ServiceState.isGsm(mRadioTech)); in update()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionRepository.kt141 override val isGsm = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
/frameworks/base/telephony/java/android/telephony/
DSignalStrength.java706 public boolean isGsm() { in isGsm() method in SignalStrength
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerBaseTest.java486 when(mSignalStrength.isGsm()).thenReturn(gsm); in setIsGsm()

12