Searched refs:unTrustedNetworkCandidate (Results 1 – 2 of 2) sorted by relevance
1654 WifiConfiguration unTrustedNetworkCandidate = mock(WifiConfiguration.class); in selectQualifiedNetworkChoosesEphemeral() local1659 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() local1717 unTrustedNetworkCandidate.SSID = null; in testGetFilteredScanDetailsReturnsOnlyConsideredScanDetails_untrustedAllowed()1718 unTrustedNetworkCandidate.networkId = WifiConfiguration.INVALID_NETWORK_ID; in testGetFilteredScanDetailsReturnsOnlyConsideredScanDetails_untrustedAllowed()1722 .thenReturn(unTrustedNetworkCandidate); in testGetFilteredScanDetailsReturnsOnlyConsideredScanDetails_untrustedAllowed()[all …]
895 WifiConfiguration unTrustedNetworkCandidate = in getExternalScoreCandidate() local900 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()