Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiPickerTracker.java672 WifiEntry primaryWifiEntry = activeWifiEntries.get(0); in updateWifiEntries() local
673 if (primaryWifiEntry.isPrimaryNetwork()) { in updateWifiEntries()
674 connectedWifiEntry = primaryWifiEntry; in updateWifiEntries()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DWifiPickerTrackerTest.java1926 WifiEntry primaryWifiEntry = wifiPickerTracker.getActiveWifiEntries().get(0); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks() local
1930 assertThat(primaryWifiEntry.getTitle()).isEqualTo("primary"); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
1934 assertThat(primaryWifiEntry.getConnectedState()).isEqualTo(CONNECTED_STATE_CONNECTED); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
1939 assertThat(primaryWifiEntry.isPrimaryNetwork()).isTrue(); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
1943 assertThat(wifiPickerTracker.getConnectedWifiEntry()).isEqualTo(primaryWifiEntry); in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()
1948 assertThat(primaryWifiEntry.getConnectedState()) in testGetActiveWifiEntries_oemNetworksConnected_returnsPrimaryAndOemNetworks()