/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/demo/ |
D | DemoDeviceBasedSatelliteRepositoryTest.kt | 22 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState 42 connectionState = SatelliteConnectionState.Unknown, 71 connectionState = SatelliteConnectionState.On, in startProcessing_getsNewUpdates() 75 assertThat(latestConnection).isEqualTo(SatelliteConnectionState.On) in startProcessing_getsNewUpdates() 80 connectionState = SatelliteConnectionState.Connected, in startProcessing_getsNewUpdates() 84 assertThat(latestConnection).isEqualTo(SatelliteConnectionState.Connected) in startProcessing_getsNewUpdates() 98 connectionState = SatelliteConnectionState.On, in stopProcessing_stopsGettingUpdates() 101 assertThat(latestConnection).isEqualTo(SatelliteConnectionState.On) in stopProcessing_stopsGettingUpdates() 109 connectionState = SatelliteConnectionState.Connected, in stopProcessing_stopsGettingUpdates() 115 assertThat(latestConnection).isEqualTo(SatelliteConnectionState.On) in stopProcessing_stopsGettingUpdates()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/demo/ |
D | DemoDeviceBasedSatelliteDataSource.kt | 24 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState in <lambda>() 64 val connectionState: SatelliteConnectionState, in <lambda>() 68 private fun String?.toConnectionState(): SatelliteConnectionState { in <lambda>() 70 return SatelliteConnectionState.Unknown in <lambda>() 75 SatelliteConnectionState.valueOf(this.replaceFirstChar { it.uppercase() }) in <lambda>() 77 SatelliteConnectionState.Unknown in <lambda>() 82 val DEFAULT_VALUE = DemoSatelliteEvent(SatelliteConnectionState.Unknown, signalStrength = 0) in <lambda>()
|
D | DemoDeviceBasedSatelliteRepository.kt | 22 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState in <lambda>() 40 override val connectionState = MutableStateFlow(SatelliteConnectionState.Unknown) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/ui/model/ |
D | SatelliteIconModel.kt | 22 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState 30 connectionState: SatelliteConnectionState, in fromConnectionState() 35 SatelliteConnectionState.Unknown, in fromConnectionState() 36 SatelliteConnectionState.Off, in fromConnectionState() 37 SatelliteConnectionState.On -> in fromConnectionState() 45 SatelliteConnectionState.Connected -> fromSignalStrength(signalStrength) in fromConnectionState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/ |
D | DeviceBasedSatelliteInteractorTest.kt | 29 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState 131 repo.connectionState.value = SatelliteConnectionState.Off in connectionState_matchesRepositoryValue() 132 assertThat(latest).isEqualTo(SatelliteConnectionState.Off) in connectionState_matchesRepositoryValue() 135 repo.connectionState.value = SatelliteConnectionState.On in connectionState_matchesRepositoryValue() 136 assertThat(latest).isEqualTo(SatelliteConnectionState.On) in connectionState_matchesRepositoryValue() 139 repo.connectionState.value = SatelliteConnectionState.Connected in connectionState_matchesRepositoryValue() 140 assertThat(latest).isEqualTo(SatelliteConnectionState.Connected) in connectionState_matchesRepositoryValue() 143 repo.connectionState.value = SatelliteConnectionState.Unknown in connectionState_matchesRepositoryValue() 144 assertThat(latest).isEqualTo(SatelliteConnectionState.Unknown) in connectionState_matchesRepositoryValue() 168 repo.connectionState.value = SatelliteConnectionState.Off in connectionState_offWhenFeatureIsDisabled() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/ |
D | DeviceBasedSatelliteViewModel.kt | 29 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState in <lambda>() 141 SatelliteConnectionState.On, in connectionState() 142 SatelliteConnectionState.Connected -> in connectionState() 144 SatelliteConnectionState.Off, in connectionState() 145 SatelliteConnectionState.Unknown -> { in connectionState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/ |
D | DeviceBasedSatelliteViewModelTest.kt | 30 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState 328 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_nullWhenShouldNotShow_notAllOos() 350 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_nullWhenShouldNotShow_isEmergencyOnly() 380 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_nullWhenShouldNotShow_apmIsEnabled() 402 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_satelliteIsOn() 427 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_hysteresisWhenEnablingText() 461 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_deviceIsProvisioned() 495 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_wifiIsActive() 537 repo.connectionState.value = SatelliteConnectionState.Unknown in carrierText_connectionStateUnknown_null() 558 repo.connectionState.value = SatelliteConnectionState.Off in carrierText_connectionStateOff_null() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/ |
D | DeviceBasedSatelliteRepository.kt | 19 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState 32 val connectionState: StateFlow<SatelliteConnectionState>
|
D | DeviceBasedSatelliteRepositorySwitcher.kt | 26 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState in <lambda>() 105 override val connectionState: StateFlow<SatelliteConnectionState> = in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/ |
D | DeviceBasedSatelliteRepositoryImplTest.kt | 47 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState 110 assertThat(connectionState).isEqualTo(SatelliteConnectionState.Off) in nullSatelliteManager_usesDefaultValues() 131 assertThat(latest).isEqualTo(SatelliteConnectionState.Off) in connectionState_mapsFromSatelliteModemState() 133 assertThat(latest).isEqualTo(SatelliteConnectionState.Off) in connectionState_mapsFromSatelliteModemState() 137 assertThat(latest).isEqualTo(SatelliteConnectionState.On) in connectionState_mapsFromSatelliteModemState() 139 assertThat(latest).isEqualTo(SatelliteConnectionState.On) in connectionState_mapsFromSatelliteModemState() 141 assertThat(latest).isEqualTo(SatelliteConnectionState.On) in connectionState_mapsFromSatelliteModemState() 145 assertThat(latest).isEqualTo(SatelliteConnectionState.Connected) in connectionState_mapsFromSatelliteModemState() 147 assertThat(latest).isEqualTo(SatelliteConnectionState.Connected) in connectionState_mapsFromSatelliteModemState() 149 assertThat(latest).isEqualTo(SatelliteConnectionState.Connected) in connectionState_mapsFromSatelliteModemState() [all …]
|
D | FakeDeviceBasedSatelliteRepository.kt | 20 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState.Off
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/ |
D | DeviceBasedSatelliteInteractor.kt | 27 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState in <lambda>() 66 flowOf(SatelliteConnectionState.Off) in <lambda>() 68 .stateIn(scope, SharingStarted.WhileSubscribed(), SatelliteConnectionState.Off) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/ |
D | DeviceBasedSatelliteRepositoryImpl.kt | 45 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState in <lambda>() 425 orElse = flowOf(SatelliteConnectionState.Off), 428 .stateIn(scope, SharingStarted.Eagerly, SatelliteConnectionState.Off) 431 private fun connectionStateFlow(sm: SupportedSatelliteManager): Flow<SatelliteConnectionState> = in connectionStateFlow() 435 trySend(SatelliteConnectionState.fromModemState(state)) in connectionStateFlow()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/ |
D | DeviceBasedSatelliteRepositorySwitcherTest.kt | 30 import com.android.systemui.statusbar.pipeline.satellite.shared.model.SatelliteConnectionState 73 connectionState = SatelliteConnectionState.Unknown, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/shared/model/ |
D | SatelliteConnectionState.kt | 30 enum class SatelliteConnectionState { class
|
/frameworks/base/packages/SystemUI/docs/ |
D | demo_mode.md | 42 …`` | ```connected```, ```off```, ```on```, or ```unknown``` (matches SatelliteConnectionState enum)
|