/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/ |
D | DeviceBasedSatelliteViewModelTest.kt | 96 i1.isEmergencyOnly.value = false in icon_nullWhenShouldNotShow_satelliteNotAllowed() 116 i1.isEmergencyOnly.value = false in icon_nullWhenShouldNotShow_notAllOos() 137 i1.isEmergencyOnly.value = false in icon_nullWhenShouldNotShow_isEmergencyOnly() 149 i1.isEmergencyOnly.value = true in icon_nullWhenShouldNotShow_isEmergencyOnly() 166 i1.isEmergencyOnly.value = false in icon_nullWhenShouldNotShow_apmIsEnabled() 187 i1.isEmergencyOnly.value = false in icon_satelliteIsOn() 211 i1.isEmergencyOnly.value = false in icon_hysteresisWhenEnablingIcon() 244 i1.isEmergencyOnly.value = false in icon_deviceIsProvisioned() 277 i1.isEmergencyOnly.value = false in icon_wifiIsActive() 312 i1.isEmergencyOnly.value = false in carrierText_nullWhenShouldNotShow_satelliteNotAllowed() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/ |
D | ServiceStateModel.kt | 25 data class ServiceStateModel(val isEmergencyOnly: Boolean) { constant in com.android.systemui.statusbar.pipeline.mobile.data.model.ServiceStateModel 28 return ServiceStateModel(isEmergencyOnly = serviceState.isEmergencyOnly) in fromServiceState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/ |
D | DeviceBasedSatelliteInteractorTest.kt | 278 i1.isEmergencyOnly.value = false in areAllConnectionsOutOfService_oneConnectionInService_thenLost_noDeviceEmergencyCalls_yes() 304 i1.isEmergencyOnly.value = false in areAllConnectionsOutOfService_oneConnectionInService_thenLost_deviceEmergencyCalls_no() 331 i1.isEmergencyOnly.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_noDeviceEmergencyCalls_yes() 334 i2.isEmergencyOnly.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_noDeviceEmergencyCalls_yes() 355 i1.isEmergencyOnly.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_deviceEmergencyCalls_no() 358 i2.isEmergencyOnly.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_deviceEmergencyCalls_no() 379 i1.isEmergencyOnly.value = false in areAllConnectionsOutOfService_twoConnectionsOos_noDeviceEmergencyCalls_oneNtn_no() 382 i2.isEmergencyOnly.value = false in areAllConnectionsOutOfService_twoConnectionsOos_noDeviceEmergencyCalls_oneNtn_no() 404 i1.isEmergencyOnly.value = false in areAllConnectionsOutOfService_oneConnectionOos_noDeviceEmergencyCalls_nonNtn_yes() 424 i1.isEmergencyOnly.value = false in areAllConnectionsOutOfService_oneConnectionOos_nonNtn_no() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellularNetworkService.java | 204 private boolean isEmergencyOnly(int halRegState) { in isEmergencyOnly() method in CellularNetworkService.CellularNetworkServiceProvider 295 boolean emergencyOnly = isEmergencyOnly(voiceRegState.regState); in createRegistrationStateFromVoiceRegState() 349 boolean emergencyOnly = isEmergencyOnly(dataRegState.base.regState); in createRegistrationStateFromDataRegState() 376 final boolean isEmergencyOnly = isEmergencyOnly(regResult.regState); in getNetworkRegistrationInfo() 378 regState, domain, isEmergencyOnly); in getNetworkRegistrationInfo() 433 networkType, reasonForDenial, isEmergencyOnly, availableServices, in getNetworkRegistrationInfo() 441 reasonForDenial, isEmergencyOnly, availableServices, cellIdentity, in getNetworkRegistrationInfo() 451 final boolean isEmergencyOnly = isEmergencyOnly(regResult.regState); in getNetworkRegistrationInfoAidl() 453 regState, domain, isEmergencyOnly); in getNetworkRegistrationInfoAidl() 521 networkType, reasonForDenial, isEmergencyOnly, availableServices, in getNetworkRegistrationInfoAidl() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | ServiceStateStatsTest.java | 170 assertEquals(false, state.isEmergencyOnly); in conclude_inService() 206 assertEquals(false, state.isEmergencyOnly); in conclude_outOfService() 274 assertEquals(true, state.isEmergencyOnly); in conclude_noSimCardEmergencyOnly() 311 assertEquals(false, state.isEmergencyOnly); in conclude_noSimCardOutOfService() 343 assertEquals(false, state.isEmergencyOnly); in conclude_longOnGoingServiceState() 356 assertEquals(false, state.isEmergencyOnly); in conclude_longOnGoingServiceState() 394 assertEquals(false, state.isEmergencyOnly); in onImsVoiceRegistrationChanged_wifiCallingWhileOos() 407 assertEquals(false, state.isEmergencyOnly); in onImsVoiceRegistrationChanged_wifiCallingWhileOos() 466 assertEquals(false, state.isEmergencyOnly); in onInternetDataNetworkDisconnected() 479 assertEquals(false, state.isEmergencyOnly); in onInternetDataNetworkDisconnected() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/ |
D | DeviceBasedSatelliteInteractor.kt | 87 combine(intr.isInService, intr.isEmergencyOnly, intr.isNonTerrestrial) { in <lambda>() 89 isEmergencyOnly, in <lambda>() method 91 !isInService && !isEmergencyOnly && !isNtn in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | FullMobileConnectionRepository.kt | 128 override val isEmergencyOnly = in <lambda>() constant 130 .flatMapLatest { it.isEmergencyOnly } in <lambda>() 135 activeRepo.value.isEmergencyOnly.value in <lambda>() 140 activeRepo.value.isEmergencyOnly.value in <lambda>()
|
D | CarrierMergedConnectionRepository.kt | 170 override val isEmergencyOnly = MutableStateFlow(false).asStateFlow() in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
|
D | MobileConnectionRepositoryImpl.kt | 207 override val isEmergencyOnly = in <lambda>() constant 210 .map { it.serviceState.isEmergencyOnly } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | MobileState.kt | 125 fun isEmergencyOnly(): Boolean { in isEmergencyOnly() method 126 return serviceState != null && serviceState!!.isEmergencyOnly in isEmergencyOnly() 295 "isEmergencyOnly=$isEmergencyOnly," + in ServiceState()
|
D | MobileSignalController.java | 506 if (mCurrentState.isEmergencyOnly() != mCurrentState.isEmergency) { in updateTelephony() 507 mCurrentState.isEmergency = mCurrentState.isEmergencyOnly(); in updateTelephony()
|
D | NetworkControllerImpl.java | 574 mCallbackHandler.setEmergencyCallsOnly(isEmergencyOnly()); in addEmergencyListener() 670 boolean isEmergencyOnly() { in isEmergencyOnly() method in NetworkControllerImpl 675 return mLastServiceState != null && mLastServiceState.isEmergencyOnly(); in isEmergencyOnly() 716 mIsEmergency = isEmergencyOnly(); in recalculateEmergency()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ServiceStateStats.java | 139 newState.isEmergencyOnly = isEmergencyOnly(serviceState); in onServiceStateChanged() 316 copy.isEmergencyOnly = state.isEmergencyOnly; in copyOf() 400 private static boolean isEmergencyOnly(ServiceState state) { in isEmergencyOnly() method in ServiceStateStats
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/ |
D | MobileInputLogger.kt | 45 bool1 = serviceState.isEmergencyOnly in logOnServiceStateChanged() 62 bool1 = serviceState.isEmergencyOnly in logTopLevelServiceStateBroadcastEmergencyOnly()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconInteractor.kt | 73 val isEmergencyOnly: StateFlow<Boolean> in <lambda>() constant 313 override val isEmergencyOnly: StateFlow<Boolean> = connectionRepository.isEmergencyOnly constant
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | FakeMobileIconInteractor.kt | 63 override val isEmergencyOnly = MutableStateFlow(true) constant in com.android.systemui.statusbar.pipeline.mobile.domain.interactor.FakeMobileIconInteractor
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileConnectionRepository.kt | 61 val isEmergencyOnly: StateFlow<Boolean> constant
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | FakeMobileConnectionRepository.kt | 36 override val isEmergencyOnly = MutableStateFlow(false) constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionTelephonySmokeTests.kt | 297 serviceState.isEmergencyOnly = true in <lambda>() 302 val job = underTest.isEmergencyOnly.onEach { latest = it }.launchIn(this) in <lambda>()
|
D | FullMobileConnectionRepositoryTest.kt | 468 val emergencyJob = underTest.isEmergencyOnly.launchIn(this) in connectionInfo_logging_notCarrierMerged_getsUpdates() 474 serviceState.isEmergencyOnly = true in connectionInfo_logging_notCarrierMerged_getsUpdates() 485 serviceState2.isEmergencyOnly = false in connectionInfo_logging_notCarrierMerged_getsUpdates()
|
D | MobileConnectionRepositoryTest.kt | 180 val job = underTest.isEmergencyOnly.onEach { latest = it }.launchIn(this) in emergencyOnly() 183 serviceState.isEmergencyOnly = true in emergencyOnly() 196 val job = underTest.isEmergencyOnly.onEach { latest = it }.launchIn(this) in emergencyOnly_toggles() 199 callback.onServiceStateChanged(ServiceState().also { it.isEmergencyOnly = true }) in emergencyOnly_toggles() 202 callback.onServiceStateChanged(ServiceState().also { it.isEmergencyOnly = false }) in emergencyOnly_toggles()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerSignalTest.java | 180 when(mServiceState.isEmergencyOnly()).thenReturn(true); in testServiceStateInitialState() 758 private void verifyEmergencyOnly(boolean isEmergencyOnly) { in verifyEmergencyOnly() argument 762 assertEquals(isEmergencyOnly, (boolean) emergencyOnly.getValue()); in verifyEmergencyOnly()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionParameterizedTest.kt | 144 launch { conn.isEmergencyOnly.collect {} } in TestScope() 174 assertThat(conn.isEmergencyOnly.value).isFalse() in TestScope()
|
D | DemoMobileConnectionsRepositoryTest.kt | 553 launch { conn.isEmergencyOnly.collect {} } in <lambda>() 585 assertThat(conn.isEmergencyOnly.value).isFalse() in <lambda>() 605 assertThat(conn.isEmergencyOnly.value).isFalse() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | LocationBasedMobileIconViewModelTest.kt | 103 isEmergencyOnly.value = false in setUp()
|