Home
last modified time | relevance | path

Searched refs:primaryNetwork (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiStatusTrackerTest.java97 Network primaryNetwork = Mockito.mock(Network.class); in testWifiInfoClearedOnPrimaryNetworkLost() local
99 when(primaryNetwork.getNetId()).thenReturn(primaryNetworkId); in testWifiInfoClearedOnPrimaryNetworkLost()
100 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in testWifiInfoClearedOnPrimaryNetworkLost()
134 mNetworkCallbackCaptor.getValue().onLost(primaryNetwork); in testWifiInfoClearedOnPrimaryNetworkLost()
149 Network primaryNetwork = Mockito.mock(Network.class); in isCarrierMerged_typicalWifi_false() local
151 when(primaryNetwork.getNetId()).thenReturn(primaryNetworkId); in isCarrierMerged_typicalWifi_false()
153 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in isCarrierMerged_typicalWifi_false()
163 Network primaryNetwork = Mockito.mock(Network.class); in isCarrierMerged_typicalCellular_false() local
165 when(primaryNetwork.getNetId()).thenReturn(primaryNetworkId); in isCarrierMerged_typicalCellular_false()
167 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in isCarrierMerged_typicalCellular_false()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerWifiTest.java306 Network primaryNetwork = Mockito.mock(Network.class); in vcnOnlyOnUnderlyingNetwork() local
308 when(primaryNetwork.getNetId()).thenReturn(primaryNetworkId); in vcnOnlyOnUnderlyingNetwork()
312 primaryNetwork, mainCapabilitiesBuilder.build()); in vcnOnlyOnUnderlyingNetwork()
327 primaryNetwork, mainCapabilitiesBuilder.build()); in vcnOnlyOnUnderlyingNetwork()
332 primaryNetwork, mainCapabilitiesBuilder.build()); in vcnOnlyOnUnderlyingNetwork()
344 primaryNetwork, mainCapabilitiesBuilder.build()); in vcnOnlyOnUnderlyingNetwork()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImpl.kt102 primaryNetwork = WIFI_NETWORK_DEFAULT, in <lambda>()
153 newPrimaryNetwork: WifiNetworkModel = current.primaryNetwork, in <lambda>()
200 .map { it.primaryNetwork } in <lambda>()
402 val primaryNetwork: WifiNetworkModel, in <lambda>() constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.prod.WifiPickerTrackerInfo