/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() 42 whenever(signalStrength.isGsm).thenReturn(isGsm) in signalStrength()
|
D | MobileConnectionRepositoryTest.kt | 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() 251 fun isGsm() = in isGsm() method 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()
|
D | MobileConnectionTelephonySmokeTests.kt | 320 val strength = signalStrength(gsmLevel = 1, cdmaLevel = 2, isGsm = true) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconInteractor.kt | 274 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/ |
D | MobileIconInteractorTest.kt | 90 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/ |
D | FullMobileConnectionRepository.kt | 195 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>()
|
D | CarrierMergedConnectionRepository.kt | 174 override val isGsm = MutableStateFlow(false).asStateFlow() in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
|
D | MobileConnectionRepositoryImpl.kt | 243 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/ |
D | MobileConnectionRepository.kt | 97 val isGsm: StateFlow<Boolean> constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | MobileState.kt | 122 return signalStrength != null && !signalStrength!!.isGsm in isCdma() 302 "isGsm=$isGsm," + in minLog()
|
D | MobileSignalController.java | 462 if (!signalStrength.isGsm() && mConfig.alwaysShowCdmaRssi) { in getSignalLevel()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | FakeMobileConnectionRepository.kt | 41 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/ |
D | DataConnectionStats.java | 135 return mSignalStrength != null && !mSignalStrength.isGsm(); in isCdma()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | VoiceIndication.java | 66 public void callRing(int indicationType, boolean isGsm, in callRing() argument 73 if (!isGsm) { in callRing()
|
D | RadioIndication.java | 487 public void callRing(int indicationType, boolean isGsm, CdmaSignalInfoRecord record) { in callRing() argument 493 if (!isGsm) { in callRing()
|
D | GsmCdmaPhone.java | 4569 (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/ |
D | ServiceStateTest.java | 182 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()
|
D | SignalStrengthControllerTest.java | 456 assertEquals(mSsc.getSignalStrength().isGsm(), true); in testSignalStrength() 471 assertEquals(mSsc.getSignalStrength().isGsm(), true); in testSignalStrength() 485 assertEquals(mSsc.getSignalStrength().isGsm(), false); in testSignalStrength()
|
D | SignalStrengthTest.java | 130 assertEquals(true, s.isGsm()); in testDefaults()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionsRepositoryTest.kt | 586 assertThat(conn.isGsm.value).isFalse() in <lambda>() 606 assertThat(conn.isGsm.value).isFalse() in <lambda>()
|
D | DemoMobileConnectionParameterizedTest.kt | 175 assertThat(conn.isGsm.value).isFalse() in TestScope()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccProfile.java | 423 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/ |
D | DemoMobileConnectionRepository.kt | 141 override val isGsm = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
|
/frameworks/base/telephony/java/android/telephony/ |
D | SignalStrength.java | 706 public boolean isGsm() { in isGsm() method in SignalStrength
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerBaseTest.java | 486 when(mSignalStrength.isGsm()).thenReturn(gsm); in setIsGsm()
|