Home
last modified time | relevance | path

Searched refs:isEmergencyOnly (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/
DDeviceBasedSatelliteViewModelTest.kt96 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/
DServiceStateModel.kt25 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/
DDeviceBasedSatelliteInteractorTest.kt278 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/
DCellularNetworkService.java204 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/
DServiceStateStatsTest.java170 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/
DDeviceBasedSatelliteInteractor.kt87 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/
DFullMobileConnectionRepository.kt128 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>()
DCarrierMergedConnectionRepository.kt170 override val isEmergencyOnly = MutableStateFlow(false).asStateFlow() in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
DMobileConnectionRepositoryImpl.kt207 override val isEmergencyOnly = in <lambda>() constant
210 .map { it.serviceState.isEmergencyOnly } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DMobileState.kt125 fun isEmergencyOnly(): Boolean { in isEmergencyOnly() method
126 return serviceState != null && serviceState!!.isEmergencyOnly in isEmergencyOnly()
295 "isEmergencyOnly=$isEmergencyOnly," + in ServiceState()
DMobileSignalController.java506 if (mCurrentState.isEmergencyOnly() != mCurrentState.isEmergency) { in updateTelephony()
507 mCurrentState.isEmergency = mCurrentState.isEmergencyOnly(); in updateTelephony()
DNetworkControllerImpl.java574 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/
DServiceStateStats.java139 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/
DMobileInputLogger.kt45 bool1 = serviceState.isEmergencyOnly in logOnServiceStateChanged()
62 bool1 = serviceState.isEmergencyOnly in logTopLevelServiceStateBroadcastEmergencyOnly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractor.kt73 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/
DFakeMobileIconInteractor.kt63 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/
DMobileConnectionRepository.kt61 val isEmergencyOnly: StateFlow<Boolean> constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt36 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/
DMobileConnectionTelephonySmokeTests.kt297 serviceState.isEmergencyOnly = true in <lambda>()
302 val job = underTest.isEmergencyOnly.onEach { latest = it }.launchIn(this) in <lambda>()
DFullMobileConnectionRepositoryTest.kt468 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()
DMobileConnectionRepositoryTest.kt180 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/
DNetworkControllerSignalTest.java180 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/
DDemoMobileConnectionParameterizedTest.kt144 launch { conn.isEmergencyOnly.collect {} } in TestScope()
174 assertThat(conn.isEmergencyOnly.value).isFalse() in TestScope()
DDemoMobileConnectionsRepositoryTest.kt553 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/
DLocationBasedMobileIconViewModelTest.kt103 isEmergencyOnly.value = false in setUp()

12