Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java679 List<ScanDetail> mockScanDetails = new ArrayList<ScanDetail>(); in buildMockScanDetailList() local
680 mockScanDetails.add(buildMockScanDetail(true, null, "[ESS]", 0)); in buildMockScanDetailList()
681 mockScanDetails.add(buildMockScanDetail(false, null, "[WPA2-PSK-CCMP][ESS]", FEATURE_11AX)); in buildMockScanDetailList()
682 mockScanDetails.add(buildMockScanDetail(false, null, "[WPA-PSK-CCMP]", 0)); in buildMockScanDetailList()
683 mockScanDetails.add(buildMockScanDetail(false, null, "[WPA2-SAE-CCMP]", FEATURE_MBO)); in buildMockScanDetailList()
684 mockScanDetails.add(buildMockScanDetail(false, null, "[WPA-PSK-CCMP]", in buildMockScanDetailList()
686 mockScanDetails.add(buildMockScanDetail(false, null, "[WEP]", 0)); in buildMockScanDetailList()
687 mockScanDetails.add(buildMockScanDetail(false, null, "[WPA2-SAE-CCMP]", in buildMockScanDetailList()
689 mockScanDetails.add(buildMockScanDetail(false, null, "[WPA2-OWE-CCMP]", in buildMockScanDetailList()
691 mockScanDetails.add(buildMockScanDetail(false, null, "[RSN-SUITE_B_192][MFPR]", in buildMockScanDetailList()
[all …]
DWifiConnectivityManagerTest.java4573 List<ScanDetail> mockScanDetails = new ArrayList<>(); in verifyBlocklistRefreshedAfterScanResults() local
4574 mockScanDetails.add(mock(ScanDetail.class)); in verifyBlocklistRefreshedAfterScanResults()
4575 when(mWifiBlocklistMonitor.tryEnablingBlockedBssids(any())).thenReturn(mockScanDetails); in verifyBlocklistRefreshedAfterScanResults()
4601 List<ScanDetail> mockScanDetails = new ArrayList<>(); in verifyBlocklistRefreshedAfterScanResultsButIgnorePermanentlyDisabledConfigs() local
4602 mockScanDetails.add(mock(ScanDetail.class)); in verifyBlocklistRefreshedAfterScanResultsButIgnorePermanentlyDisabledConfigs()
4603 when(mWifiBlocklistMonitor.tryEnablingBlockedBssids(any())).thenReturn(mockScanDetails); in verifyBlocklistRefreshedAfterScanResultsButIgnorePermanentlyDisabledConfigs()