Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiQualifiedNetworkSelectorTest.java1654 WifiConfiguration unTrustedNetworkCandidate = mock(WifiConfiguration.class); in selectQualifiedNetworkChoosesEphemeral() local
1659 unTrustedNetworkCandidate.SSID = null; in selectQualifiedNetworkChoosesEphemeral()
1660 unTrustedNetworkCandidate.networkId = WifiConfiguration.INVALID_NETWORK_ID; in selectQualifiedNetworkChoosesEphemeral()
1664 .thenReturn(unTrustedNetworkCandidate); in selectQualifiedNetworkChoosesEphemeral()
1668 when(unTrustedNetworkCandidate.getNetworkSelectionStatus()).thenReturn(selectionStatus); in selectQualifiedNetworkChoosesEphemeral()
1680 assertSame(unTrustedNetworkCandidate, candidate); in selectQualifiedNetworkChoosesEphemeral()
1716 WifiConfiguration unTrustedNetworkCandidate = mock(WifiConfiguration.class); in testGetFilteredScanDetailsReturnsOnlyConsideredScanDetails_untrustedAllowed() local
1717 unTrustedNetworkCandidate.SSID = null; in testGetFilteredScanDetailsReturnsOnlyConsideredScanDetails_untrustedAllowed()
1718 unTrustedNetworkCandidate.networkId = WifiConfiguration.INVALID_NETWORK_ID; in testGetFilteredScanDetailsReturnsOnlyConsideredScanDetails_untrustedAllowed()
1722 .thenReturn(unTrustedNetworkCandidate); in testGetFilteredScanDetailsReturnsOnlyConsideredScanDetails_untrustedAllowed()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiQualifiedNetworkSelector.java895 WifiConfiguration unTrustedNetworkCandidate = in getExternalScoreCandidate() local
900 unTrustedNetworkCandidate.ephemeral = true; in getExternalScoreCandidate()
902 unTrustedNetworkCandidate.meteredHint = in getExternalScoreCandidate()
905 mWifiConfigManager.saveNetwork(unTrustedNetworkCandidate, in getExternalScoreCandidate()
910 toScanId(untrustedScanResultCandidate), unTrustedNetworkCandidate.networkId, in getExternalScoreCandidate()
911 unTrustedNetworkCandidate.meteredHint)); in getExternalScoreCandidate()
913 unTrustedNetworkCandidate.getNetworkSelectionStatus() in getExternalScoreCandidate()
915 networkCandidate = unTrustedNetworkCandidate; in getExternalScoreCandidate()