Home
last modified time | relevance | path

Searched refs:underlyingCarrierMergedInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiStatusTrackerTest.java194 WifiInfo underlyingCarrierMergedInfo = Mockito.mock(WifiInfo.class); in isCarrierMerged_cellularWithUnderlyingCarrierMergedWifi_true() local
195 when(underlyingCarrierMergedInfo.isPrimary()).thenReturn(true); in isCarrierMerged_cellularWithUnderlyingCarrierMergedWifi_true()
196 when(underlyingCarrierMergedInfo.isCarrierMerged()).thenReturn(true); in isCarrierMerged_cellularWithUnderlyingCarrierMergedWifi_true()
202 .thenReturn(underlyingCarrierMergedInfo); in isCarrierMerged_cellularWithUnderlyingCarrierMergedWifi_true()
278 WifiInfo underlyingCarrierMergedInfo = Mockito.mock(WifiInfo.class); in isDefaultNetwork_cellularWithUnderlyingCarrierMergedWifi_true() local
279 when(underlyingCarrierMergedInfo.isPrimary()).thenReturn(true); in isDefaultNetwork_cellularWithUnderlyingCarrierMergedWifi_true()
280 when(underlyingCarrierMergedInfo.isCarrierMerged()).thenReturn(true); in isDefaultNetwork_cellularWithUnderlyingCarrierMergedWifi_true()
286 .thenReturn(underlyingCarrierMergedInfo); in isDefaultNetwork_cellularWithUnderlyingCarrierMergedWifi_true()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerWifiTest.java284 WifiInfo underlyingCarrierMergedInfo = Mockito.mock(WifiInfo.class); in vcnOnlyOnUnderlyingNetwork() local
285 when(underlyingCarrierMergedInfo.isCarrierMerged()).thenReturn(true); in vcnOnlyOnUnderlyingNetwork()
286 when(underlyingCarrierMergedInfo.isPrimary()).thenReturn(true); in vcnOnlyOnUnderlyingNetwork()
288 when(underlyingCarrierMergedInfo.getRssi()).thenReturn(calculateRssiForLevel(zeroLevel)); in vcnOnlyOnUnderlyingNetwork()
294 .thenReturn(underlyingCarrierMergedInfo); in vcnOnlyOnUnderlyingNetwork()
324 when(underlyingCarrierMergedInfo.getRssi()).thenReturn(rssi); in vcnOnlyOnUnderlyingNetwork()