Home
last modified time | relevance | path

Searched refs:isPrimaryNetwork (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt278 whenever(this.isPrimaryNetwork).thenReturn(true) in wifiNetwork_primaryWifiNetworkAdded_flowHasNetwork()
298 whenever(this.isPrimaryNetwork).thenReturn(true) in accessPointInfo_alwaysFalse()
319 whenever(this.isPrimaryNetwork).thenReturn(true) in wifiNetwork_unreachableLevel_inactiveNetwork()
335 whenever(this.isPrimaryNetwork).thenReturn(true) in wifiNetwork_levelTooHigh_inactiveNetwork()
351 whenever(this.isPrimaryNetwork).thenReturn(true) in wifiNetwork_levelTooLow_inactiveNetwork()
367 whenever(this.isPrimaryNetwork).thenReturn(true) in wifiNetwork_levelIsMax_activeNetworkWithMaxLevel()
384 whenever(this.isPrimaryNetwork).thenReturn(true) in wifiNetwork_levelIsMin_activeNetworkWithMinLevel()
401 mock<WifiEntry>().apply { whenever(this.isPrimaryNetwork).thenReturn(true) } in wifiNetwork_notHotspot_none()
531 whenever(this.isPrimaryNetwork).thenReturn(true) in wifiNetwork_isCarrierMerged_flowHasCarrierMerged()
552 whenever(this.isPrimaryNetwork).thenReturn(true) in wifiNetwork_isCarrierMerged_getsMaxSignalLevel()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java212 Comparator.comparing((WifiEntry entry) -> !entry.isPrimaryNetwork())
354 && isPrimaryNetwork(); in shouldShowXLevelIcon()
394 public synchronized boolean isPrimaryNetwork() { in isPrimaryNetwork() method in WifiEntry
407 return isPrimaryNetwork() && hasInternetAccess() && !isDefaultNetwork() in isLowQuality()
1275 if (isPrimaryNetwork()) { in toString()
DWifiPickerTracker.java673 if (primaryWifiEntry.isPrimaryNetwork()) { in updateWifiEntries()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImpl.kt117 .filter { it != connectedEntry && !it.isPrimaryNetwork } in <lambda>()
241 return if (!this.isPrimaryNetwork) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt1400 whenever(this.isPrimaryNetwork).thenReturn(true) in <lambda>()
1409 whenever(this.isPrimaryNetwork).thenReturn(true) in <lambda>()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DWifiPickerTrackerTest.java661 assertThat(entry.isPrimaryNetwork()).isTrue(); in testGetConnectedEntry_networkL2Connected_returnsConnectedEntry()
1939 assertThat(primaryWifiEntry.isPrimaryNetwork()).isTrue(); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
1940 assertThat(oemWifiEntry.isPrimaryNetwork()).isFalse(); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
1959 assertThat(oemWifiEntry.isPrimaryNetwork()).isTrue(); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()