/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/ |
D | DataConnectionState.kt | 31 enum class DataConnectionState : Diffable<DataConnectionState> { class 41 override fun logDiffs(prevVal: DataConnectionState, row: TableRowLogger) { in logDiffs() 52 fun @receiver:DataState Int.toDataConnectionType(): DataConnectionState = in toDataConnectionType() 54 DATA_CONNECTED -> DataConnectionState.Connected in toDataConnectionType() 55 DATA_CONNECTING -> DataConnectionState.Connecting in toDataConnectionType() 56 DATA_DISCONNECTED -> DataConnectionState.Disconnected in toDataConnectionType() 57 DATA_DISCONNECTING -> DataConnectionState.Disconnecting in toDataConnectionType() 58 DATA_SUSPENDED -> DataConnectionState.Suspended in toDataConnectionType() 59 DATA_HANDOVER_IN_PROGRESS -> DataConnectionState.HandoverInProgress in toDataConnectionType() 60 DATA_UNKNOWN -> DataConnectionState.Unknown in toDataConnectionType() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | CarrierMergedConnectionRepository.kt | 27 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState in <lambda>() 159 DataConnectionState.Connected in <lambda>() 161 DataConnectionState.Disconnected in <lambda>() 164 .stateIn(scope, SharingStarted.WhileSubscribed(), DataConnectionState.Disconnected) in <lambda>()
|
D | MobileConnectionRepositoryImpl.kt | 53 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState.Disconnected in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionRepositoryTest.kt | 77 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState 273 var latest: DataConnectionState? = null in dataConnectionState_connected() 280 assertThat(latest).isEqualTo(DataConnectionState.Connected) in dataConnectionState_connected() 288 var latest: DataConnectionState? = null in dataConnectionState_connecting() 295 assertThat(latest).isEqualTo(DataConnectionState.Connecting) in dataConnectionState_connecting() 303 var latest: DataConnectionState? = null in dataConnectionState_disconnected() 310 assertThat(latest).isEqualTo(DataConnectionState.Disconnected) in dataConnectionState_disconnected() 318 var latest: DataConnectionState? = null in dataConnectionState_disconnecting() 325 assertThat(latest).isEqualTo(DataConnectionState.Disconnecting) in dataConnectionState_disconnecting() 333 var latest: DataConnectionState? = null in dataConnectionState_suspended() [all …]
|
D | CarrierMergedConnectionRepositoryTest.kt | 25 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState 81 var latestConnState: DataConnectionState? = null in inactiveWifi_isDefault() 90 assertThat(latestConnState).isEqualTo(DataConnectionState.Disconnected) in inactiveWifi_isDefault() 100 var latestConnState: DataConnectionState? = null in activeWifi_isDefault() 109 assertThat(latestConnState).isEqualTo(DataConnectionState.Disconnected) in activeWifi_isDefault()
|
D | MobileConnectionTelephonySmokeTests.kt | 39 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState in <lambda>() 212 var latest: DataConnectionState? = null in <lambda>() 229 assertThat(latest).isEqualTo(DataConnectionState.Connected) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileConnectionRepository.kt | 23 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState 111 val dataConnectionState: StateFlow<DataConnectionState>
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | FakeMobileConnectionRepository.kt | 21 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState 44 override val dataConnectionState = MutableStateFlow(DataConnectionState.Disconnected)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionRepository.kt | 24 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState in <lambda>() 173 private val _dataConnectionState = MutableStateFlow(DataConnectionState.Disconnected) in <lambda>() 264 _dataConnectionState.value = DataConnectionState.Connected in <lambda>() 289 _dataConnectionState.value = DataConnectionState.Connected in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | LocationBasedMobileIconViewModelTest.kt | 29 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState 106 dataConnectionState.value = DataConnectionState.Connected in setUp()
|
D | MobileIconViewModelTest.kt | 42 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState 110 dataConnectionState.value = DataConnectionState.Connected in setUp() 409 repository.dataConnectionState.value = DataConnectionState.Connected in networkTypeIcon_notNull_whenEnabled() 434 repository.dataConnectionState.value = DataConnectionState.Disconnected in networkType_nullWhenDataDisconnects() 487 repository.dataConnectionState.value = DataConnectionState.Disconnected in networkType_alwaysShow_shownEvenWhenDisconnected() 574 repository.dataConnectionState.value = DataConnectionState.Connected in networkType_notShownWhenNotDefault()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionParameterizedTest.kt | 27 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState 176 assertThat(conn.dataConnectionState.value).isEqualTo(DataConnectionState.Connected) in TestScope()
|
D | DemoMobileConnectionsRepositoryTest.kt | 28 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState in <lambda>() 587 assertThat(conn.dataConnectionState.value).isEqualTo(DataConnectionState.Connected) in <lambda>() 607 assertThat(conn.dataConnectionState.value).isEqualTo(DataConnectionState.Connected) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconInteractorTest.kt | 29 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState 360 connectionRepository.dataConnectionState.value = DataConnectionState.Connected in dataState_connected() 373 connectionRepository.dataConnectionState.value = DataConnectionState.Disconnected in dataState_notConnected()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/ |
D | InternetTileViewModelTest.kt | 34 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState 93 dataConnectionState.value = DataConnectionState.Connected in setUp()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/ |
D | InternetTileDataInteractorTest.kt | 43 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState in <lambda>() 109 dataConnectionState.value = DataConnectionState.Connected in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconInteractor.kt | 28 import com.android.systemui.statusbar.pipeline.mobile.data.model.DataConnectionState.Connected in <lambda>()
|