Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java605 ScanResult mockScanResult = mock(ScanResult.class); in buildMockScanDetail() local
607 when(mockScanDetail.getScanResult()).thenReturn(mockScanResult); in buildMockScanDetail()
610 mockScanResult.capabilities = capabilities; in buildMockScanDetail()
625 when(mockScanResult.is6GHz()).thenReturn(true); in buildMockScanDetail()
628 when(mockScanResult.is6GhzPsc()).thenReturn(true); in buildMockScanDetail()
3301 ScanResult mockScanResult = mock(ScanResult.class); in testObserved80211mcAps() local
3302 mockScanResult.capabilities = ""; in testObserved80211mcAps()
3305 when(mockScanDetailNon80211mc.getScanResult()).thenReturn(mockScanResult); in testObserved80211mcAps()
3306 when(mockScanDetail80211mc.getScanResult()).thenReturn(mockScanResult); in testObserved80211mcAps()