Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java103 private static final String WIFI_IFACE_NAME = "mockWlan"; field in WifiNativeTest
302 .thenReturn(WIFI_IFACE_NAME); in setUp()
304 .thenReturn(WIFI_IFACE_NAME); in setUp()
663 assertFalse(mWifiNative.startPktFateMonitoring(WIFI_IFACE_NAME)); in testStartPktFateMonitoringReturnsFalseWhenHalIsNotStarted()
672 assertEquals(0, mWifiNative.getTxPktFates(WIFI_IFACE_NAME).size()); in testGetTxPktFatesReturnsErrorWhenHalIsNotStarted()
681 assertEquals(0, mWifiNative.getRxPktFates(WIFI_IFACE_NAME).size()); in testGetRxPktFatesReturnsErrorWhenHalIsNotStarted()
709 mWifiNative.getWifiLinkLayerStats(WIFI_IFACE_NAME); in testGetWifiLinkLayerStatsForClientInConnectivityMode()
710 mWifiNative.getWifiLinkLayerStats(WIFI_IFACE_NAME); in testGetWifiLinkLayerStatsForClientInConnectivityMode()
711 verify(mWifiVendorHal, times(2)).getWifiLinkLayerStats(eq(WIFI_IFACE_NAME)); in testGetWifiLinkLayerStatsForClientInConnectivityMode()
722 order.verify(mWificondControl).setupInterfaceForClientMode(eq(WIFI_IFACE_NAME), any(), in testClientModeScanSuccess()
[all …]
DTwtManagerTest.java67 private static final String WIFI_IFACE_NAME = "wlan0"; field in TwtManagerTest
127 when(mWifiNative.getTwtCapabilities(eq(WIFI_IFACE_NAME))).thenReturn( in setUp()
201 when(mWifiNative.getTwtCapabilities(eq(WIFI_IFACE_NAME))).thenReturn(null); in testGetTwtCapabilities()
207 when(mWifiNative.getTwtCapabilities(eq(WIFI_IFACE_NAME))).thenReturn(mockTwtCapabilities); in testGetTwtCapabilities()
208 mTwtManager.getTwtCapabilities(WIFI_IFACE_NAME, iTwtCapabilitiesListener); in testGetTwtCapabilities()
213 mTwtManager.getTwtCapabilities(WIFI_IFACE_NAME, iTwtCapabilitiesListener); in testGetTwtCapabilities()
224 when(mWifiNative.setupTwtSession(eq(1), eq(WIFI_IFACE_NAME), eq(twtRequest))).thenReturn( in testOuiBlockListing()
226 mTwtManager.setupTwtSession(WIFI_IFACE_NAME, twtRequest, iTwtCallback, in testOuiBlockListing()
246 when(mWifiNative.setupTwtSession(eq(1), eq(WIFI_IFACE_NAME), eq(twtRequest))).thenReturn( in testSetupTwtSession()
248 mTwtManager.setupTwtSession(WIFI_IFACE_NAME, twtRequest, iTwtCallback, in testSetupTwtSession()
[all …]
DClientModeImplTest.java497 static final String WIFI_IFACE_NAME = "mockWlan"; field in ClientModeImplTest
620 when(mWifiNative.getStaFactoryMacAddress(WIFI_IFACE_NAME)).thenReturn( in setUpWifiNative()
628 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in setUpWifiNative()
632 when(mWifiNative.getConnectionCapabilities(WIFI_IFACE_NAME)) in setUpWifiNative()
634 when(mWifiNative.setStaMacAddress(eq(WIFI_IFACE_NAME), anyObject())) in setUpWifiNative()
694 mWifiInfo = new ExtendedWifiInfo(mWifiGlobals, WIFI_IFACE_NAME); in setUp()
715 when(mFrameworkFacade.getTxBytes(eq(WIFI_IFACE_NAME))).thenReturn(TEST_TX_BYTES); in setUp()
716 when(mFrameworkFacade.getRxBytes(eq(WIFI_IFACE_NAME))).thenReturn(TEST_RX_BYTES); in setUp()
775 verify(mWifiNative).getStaFactoryMacAddress(WIFI_IFACE_NAME); in setUp()
836 WIFI_IFACE_NAME, mClientModeManager, mCmiMonitor, in initializeCmi()
[all …]
DWifiLinkLayerStatsTest.java43 private static final String WIFI_IFACE_NAME = "wlanTest"; field in WifiLinkLayerStatsTest
54 mWifiInfo = new ExtendedWifiInfo(mock(WifiGlobals.class), WIFI_IFACE_NAME); in setUp()
DWifiScoreCardTest.java102 private static final String WIFI_IFACE_NAME = "wlanTest"; field in WifiScoreCardTest
144 mWifiInfo = new ExtendedWifiInfo(mock(WifiGlobals.class), WIFI_IFACE_NAME); in setUp()
1017 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in makeDisconnectionConnectingExample()
1077 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in testNetworkSwitchWithOverlapping()
1079 mWifiScoreCard.resetConnectionState(WIFI_IFACE_NAME); in testNetworkSwitchWithOverlapping()
1085 mWifiScoreCard.resetConnectionState(WIFI_IFACE_NAME); in testNetworkSwitchWithOverlapping()
1125 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in makeShortConnectionExample()
1154 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in makeShortConnectionOldRssiPollingExample()
1474 mWifiScoreCard.detectAbnormalDisconnection(WIFI_IFACE_NAME)); in testRegressionAfterSwBuildChange()
DInsecureEapNetworkHandlerTest.java90 private static final String WIFI_IFACE_NAME = "wlan-test-9"; field in InsecureEapNetworkHandlerTest
744 WIFI_IFACE_NAME, in setupTest()
1004 WIFI_IFACE_NAME, in verifySetPendingCertificateNoCrashWithNoConfig()
1261 WIFI_IFACE_NAME, in configureTofuWithAidlVersion2Value()
DWifiHealthMonitorTest.java84 private static final String WIFI_IFACE_NAME = "wlanTest"; field in WifiHealthMonitorTest
158 mWifiInfo = new ExtendedWifiInfo(mock(WifiGlobals.class), WIFI_IFACE_NAME); in setUp()
351 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in makeNetworkConnectionExample()
DWifiServiceImplTest.java317 private static final String WIFI_IFACE_NAME = "wlan0"; field in WifiServiceImplTest
617 when(mClientModeManager.getInterfaceName()).thenReturn(WIFI_IFACE_NAME); in setUp()
745 mTestSoftApInfo.setApInstanceIdentifier(WIFI_IFACE_NAME); in setUp()
752 mTestSoftApClients.put(WIFI_IFACE_NAME, new ArrayList<WifiClient>()); in setUp()
754 mTestSoftApInfos.put(WIFI_IFACE_NAME, mTestSoftApInfo); in setUp()
789 mLohsInterfaceName = WIFI_IFACE_NAME; in makeWifiServiceImpl()
3672 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
3700 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testStartTetheredHotspotDoesNotStartWhenAlreadyTetheringActive()
3726 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testStartTetheredHotspotRequestDoesNotStartWhenAlreadyTetheringActive()
3751 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testHotspotDoesNotStartWhenAlreadyTethering()
[all …]
DActiveModeWardenTest.java145 private static final String WIFI_IFACE_NAME = "mockWlan"; field in ActiveModeWardenTest
228 when(mClientModeManager.getInterfaceName()).thenReturn(WIFI_IFACE_NAME); in setUp()
388 when(mWifiNative.getSupportedFeatureSet(WIFI_IFACE_NAME)).thenReturn(testFeatureSet); in enterClientModeActiveState()
408 verify(mWifiNative, atLeastOnce()).getSupportedFeatureSet(WIFI_IFACE_NAME); in enterClientModeActiveState()
432 when(mClientModeManager.getInterfaceName()).thenReturn(WIFI_IFACE_NAME); in enterScanOnlyModeActiveState()
1391 verify(mWifiNative).setMultiStaPrimaryConnection(WIFI_IFACE_NAME); in enableWifi()
3104 assertEquals(WIFI_IFACE_NAME, ifaceNameCaptor.getValue()); in requestAdditionalClientModeManager()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/b2b/
DWifiRoamingModeManagerTest.java51 private static final String WIFI_IFACE_NAME = "wlan0"; field in WifiRoamingModeManagerTest
69 when(mClientModeManager.getInterfaceName()).thenReturn(WIFI_IFACE_NAME); in setUp()
82 verify(mWifiNative).setRoamingMode(WIFI_IFACE_NAME, TEST_ROAMING_MODE); in testSetPerSsidRoamingMode()
107 mWifiRoamingModeManager.applyWifiRoamingMode(WIFI_IFACE_NAME, TEST_SSID); in testApplyWifiRoamingMode()
108 verify(mWifiNative).setRoamingMode(WIFI_IFACE_NAME, DEFAULT_ROAMING_MODE); in testApplyWifiRoamingMode()