Searched refs:currentNetwork (Results 1 – 2 of 2) sorted by relevance
317 ScanResult currentNetwork = null; in testScanResultMatchesWifiInfo() local321 currentNetwork = scanResults.stream().filter(r -> r.BSSID.equals(wifiInfo.getBSSID())) in testScanResultMatchesWifiInfo()324 if (currentNetwork != null) { in testScanResultMatchesWifiInfo()330 .that(currentNetwork).isNotNull(); in testScanResultMatchesWifiInfo()333 String scanResultSsidUnquoted = currentNetwork.SSID; in testScanResultMatchesWifiInfo()340 assertThat(currentNetwork.frequency).isEqualTo(wifiInfo.getFrequency()); in testScanResultMatchesWifiInfo()
2872 WifiInfo currentNetwork = ShellIdentityUtils.invokeWithShellPermissions( in testPnoScan() local2897 () -> mWifiManager.enableNetwork(currentNetwork.getNetworkId(), false)); in testPnoScan()2898 disabledNetworkIds.remove(currentNetwork.getNetworkId()); in testPnoScan()