Home
last modified time | relevance | path

Searched refs:ServiceStateModel (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
DServiceStateModel.kt25 data class ServiceStateModel(val isEmergencyOnly: Boolean) { dataClass
27 fun fromServiceState(serviceState: ServiceState): ServiceStateModel { in fromServiceState()
28 return ServiceStateModel(isEmergencyOnly = serviceState.isEmergencyOnly) in fromServiceState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileConnectionsRepository.kt24 import com.android.systemui.statusbar.pipeline.mobile.data.model.ServiceStateModel
106 val deviceServiceState: StateFlow<ServiceStateModel?>
DMobileRepositorySwitcher.kt28 import com.android.systemui.statusbar.pipeline.mobile.data.model.ServiceStateModel in <lambda>()
155 override val deviceServiceState: StateFlow<ServiceStateModel?> = in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionsRepository.kt26 import com.android.systemui.statusbar.pipeline.mobile.data.model.ServiceStateModel in <lambda>()
97 override val deviceServiceState = MutableStateFlow<ServiceStateModel?>(null)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryImpl.kt52 import com.android.systemui.statusbar.pipeline.mobile.data.model.ServiceStateModel in <lambda>()
179 override val deviceServiceState: StateFlow<ServiceStateModel?> = in <lambda>()
199 ServiceStateModel.fromServiceState(serviceState) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionsRepository.kt30 import com.android.systemui.statusbar.pipeline.mobile.data.model.ServiceStateModel in <lambda>()
141 override val deviceServiceState: StateFlow<ServiceStateModel?> = MutableStateFlow(null) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractorTest.kt31 import com.android.systemui.statusbar.pipeline.mobile.data.model.ServiceStateModel
898 ServiceStateModel(isEmergencyOnly = true) in deviceBasedEmergencyMode_emergencyCallsOnly_followsDeviceServiceStateFromRepo()
903 ServiceStateModel(isEmergencyOnly = false) in deviceBasedEmergencyMode_emergencyCallsOnly_followsDeviceServiceStateFromRepo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt59 import com.android.systemui.statusbar.pipeline.mobile.data.model.ServiceStateModel in <lambda>()
619 val expected = ServiceStateModel(isEmergencyOnly = false) in <lambda>()
634 val deviceBasedState = ServiceStateModel(isEmergencyOnly = false) in <lambda>()