Searched refs:DefaultConnectionModel (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/model/ |
D | DefaultConnectionModelTest.kt | 30 DefaultConnectionModel( in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 31 DefaultConnectionModel.Wifi(isDefault = false), in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 32 DefaultConnectionModel.Mobile(isDefault = true), in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 33 DefaultConnectionModel.CarrierMerged(isDefault = true), in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 34 DefaultConnectionModel.Ethernet(isDefault = false), in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 52 DefaultConnectionModel( in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo() 53 DefaultConnectionModel.Wifi(isDefault = true), in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo() 54 DefaultConnectionModel.Mobile(isDefault = false), in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo() 55 DefaultConnectionModel.CarrierMerged(isDefault = false), in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo() 56 DefaultConnectionModel.Ethernet(isDefault = false), in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/shared/data/repository/ |
D | FakeConnectivityRepository.kt | 20 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel 30 override val defaultConnections: MutableStateFlow<DefaultConnectionModel> = 31 MutableStateFlow(DefaultConnectionModel()) 50 DefaultConnectionModel( in setMobileConnected() 51 mobile = DefaultConnectionModel.Mobile(default), in setMobileConnected() 63 DefaultConnectionModel( in setEthernetConnected() 64 ethernet = DefaultConnectionModel.Ethernet(default), in setEthernetConnected() 75 DefaultConnectionModel( in setWifiConnected() 76 wifi = DefaultConnectionModel.Wifi(default), in setWifiConnected()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/repository/ |
D | ConnectivityRepository.kt | 43 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel in <lambda>() 44 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel.CarrierMerg… in <lambda>() 45 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel.Ethernet in <lambda>() 46 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel.Mobile in <lambda>() 47 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel.Wifi in <lambda>() 72 val defaultConnections: StateFlow<DefaultConnectionModel> in <lambda>() 178 override val defaultConnections: StateFlow<DefaultConnectionModel> = 184 DefaultConnectionModel( in networkCapabilities() 203 DefaultConnectionModel( in networkCapabilities() 214 .stateIn(scope, SharingStarted.Eagerly, DefaultConnectionModel())
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | InternetTileNewImplTest.kt | 39 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel 40 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel.Wifi 134 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in noDefaultConnection_noNetworkAvailable() 148 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in noDefaultConnection_networksAvailable() 167 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in airplaneMode_enabled_wifiDisabled() 182 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in airplaneMode_enabled_wifiEnabledButNotConnected() 198 DefaultConnectionModel( in airplaneMode_enabled_wifiEnabledAndConnected() 216 DefaultConnectionModel( in wifiConnected()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ |
D | ConnectivityInputLogger.kt | 25 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel 56 fun logDefaultConnectionsChanged(model: DefaultConnectionModel) { in logDefaultConnectionsChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/repository/ |
D | ConnectivityRepositoryImplTest.kt | 34 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel 240 var latest: DefaultConnectionModel? = null in defaultConnections_noTransports_nothingIsDefault() 263 var latest: DefaultConnectionModel? = null in defaultConnections_cellularTransport_mobileIsDefault() 286 var latest: DefaultConnectionModel? = null in defaultConnections_wifiTransport_wifiIsDefault() 309 var latest: DefaultConnectionModel? = null in defaultConnections_ethernetTransport_ethernetIsDefault() 332 var latest: DefaultConnectionModel? = null in defaultConnections_carrierMergedViaWifi_wifiAndCarrierMergedDefault() 357 var latest: DefaultConnectionModel? = null in defaultConnections_carrierMergedViaMobile_mobileCarrierMergedWifiDefault() 382 var latest: DefaultConnectionModel? = null in defaultConnections_carrierMergedViaWifiWithVcnTransport_wifiAndCarrierMergedDefault() 407 var latest: DefaultConnectionModel? = null in defaultConnections_carrierMergedViaMobileWithVcnTransport_mobileCarrierMergedWifiDefault() 432 var latest: DefaultConnectionModel? = null in defaultConnections_notCarrierMergedViaWifi_carrierMergedNotDefault() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/model/ |
D | DefaultConnectionModel.kt | 33 data class DefaultConnectionModel( dataClass
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | CastTile.java | 60 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel; 346 private final Consumer<DefaultConnectionModel> mNetworkModelConsumer = (model) -> {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/ |
D | InternetTileViewModelTest.kt | 41 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel 132 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in noDefault_noNetworksAvailable()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/ |
D | InternetTileDataInteractorTest.kt | 50 import com.android.systemui.statusbar.pipeline.shared.data.model.DefaultConnectionModel in <lambda>() 165 connectivityRepository.defaultConnections.value = DefaultConnectionModel() in <lambda>()
|