Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java84 private static final String WIFI_IFACE_NAME = "mockWlan"; field in WifiNativeTest
272 when(mWifiVendorHal.createStaIface(any(), any())).thenReturn(WIFI_IFACE_NAME); in setUp()
580 assertFalse(mWifiNative.startPktFateMonitoring(WIFI_IFACE_NAME)); in testStartPktFateMonitoringReturnsFalseWhenHalIsNotStarted()
589 assertEquals(0, mWifiNative.getTxPktFates(WIFI_IFACE_NAME).size()); in testGetTxPktFatesReturnsErrorWhenHalIsNotStarted()
598 assertEquals(0, mWifiNative.getRxPktFates(WIFI_IFACE_NAME).size()); in testGetRxPktFatesReturnsErrorWhenHalIsNotStarted()
624 verify(mWificondControl).setupInterfaceForClientMode(eq(WIFI_IFACE_NAME), any(), in testClientModeScanSuccess()
628 verify(mWifiMonitor).broadcastScanResultEvent(WIFI_IFACE_NAME); in testClientModeScanSuccess()
637 verify(mWificondControl).setupInterfaceForClientMode(eq(WIFI_IFACE_NAME), any(), in testClientModeScanFailure()
641 verify(mWifiMonitor).broadcastScanFailedEvent(WIFI_IFACE_NAME); in testClientModeScanFailure()
650 verify(mWificondControl).setupInterfaceForClientMode(eq(WIFI_IFACE_NAME), any(), in testClientModePnoScanSuccess()
[all …]
DClientModeImplTest.java396 static final String WIFI_IFACE_NAME = "mockWlan"; field in ClientModeImplTest
482 when(mWifiNative.getStaFactoryMacAddress(WIFI_IFACE_NAME)).thenReturn( in setUpWifiNative()
490 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in setUpWifiNative()
494 when(mWifiNative.getConnectionCapabilities(WIFI_IFACE_NAME)) in setUpWifiNative()
496 when(mWifiNative.setStaMacAddress(eq(WIFI_IFACE_NAME), anyObject())) in setUpWifiNative()
542 mWifiInfo = new ExtendedWifiInfo(mWifiGlobals, WIFI_IFACE_NAME); in setUp()
598 verify(mWifiNative).getStaFactoryMacAddress(WIFI_IFACE_NAME); in setUp()
683 WIFI_IFACE_NAME, mClientModeManager, mCmiMonitor, mBroadcastQueue, in initializeCmi()
814 verify(mWifiNative).removeAllNetworks(WIFI_IFACE_NAME); in setupAndStartConnectSequence()
828 verify(mWifiNative).connectToNetwork(eq(WIFI_IFACE_NAME), eq(config)); in validateSuccessfulConnectSequence()
[all …]
DWifiLinkLayerStatsTest.java36 private static final String WIFI_IFACE_NAME = "wlanTest"; field in WifiLinkLayerStatsTest
47 mWifiInfo = new ExtendedWifiInfo(mock(WifiGlobals.class), WIFI_IFACE_NAME); in setUp()
DWifiScoreCardTest.java101 private static final String WIFI_IFACE_NAME = "wlanTest"; field in WifiScoreCardTest
143 mWifiInfo = new ExtendedWifiInfo(mock(WifiGlobals.class), WIFI_IFACE_NAME); in setUp()
1013 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in makeDisconnectionConnectingExample()
1072 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in testNetworkSwitchWithOverlapping()
1074 mWifiScoreCard.resetConnectionState(WIFI_IFACE_NAME); in testNetworkSwitchWithOverlapping()
1080 mWifiScoreCard.resetConnectionState(WIFI_IFACE_NAME); in testNetworkSwitchWithOverlapping()
1120 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in makeShortConnectionExample()
1149 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in makeShortConnectionOldRssiPollingExample()
1466 mWifiScoreCard.detectAbnormalDisconnection(WIFI_IFACE_NAME)); in testRegressionAfterSwBuildChange()
DWifiServiceImplTest.java236 private static final String WIFI_IFACE_NAME = "wlan0"; field in WifiServiceImplTest
460 when(mClientModeManager.getInterfaceName()).thenReturn(WIFI_IFACE_NAME); in setUp()
560 mTestSoftApInfo.setApInstanceIdentifier(WIFI_IFACE_NAME); in setUp()
567 mTestSoftApClients.put(WIFI_IFACE_NAME, new ArrayList<WifiClient>()); in setUp()
569 mTestSoftApInfos.put(WIFI_IFACE_NAME, mTestSoftApInfo); in setUp()
602 mLohsInterfaceName = WIFI_IFACE_NAME; in makeWifiServiceImpl()
2890 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
2917 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testStartTetheredHotspotDoesNotStartWhenAlreadyTetheringActive()
2939 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testHotspotDoesNotStartWhenAlreadyTethering()
3785 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testAllRegisteredCallbacksTriggeredWhenSoftApStops()
[all …]
DWifiHealthMonitorTest.java84 private static final String WIFI_IFACE_NAME = "wlanTest"; field in WifiHealthMonitorTest
153 mWifiInfo = new ExtendedWifiInfo(mock(WifiGlobals.class), WIFI_IFACE_NAME); in setUp()
340 mWifiScoreCard.noteNonlocalDisconnect(WIFI_IFACE_NAME, disconnectionReason); in makeNetworkConnectionExample()
DActiveModeWardenTest.java124 private static final String WIFI_IFACE_NAME = "mockWlan"; field in ActiveModeWardenTest
189 when(mClientModeManager.getInterfaceName()).thenReturn(WIFI_IFACE_NAME); in setUp()
1174 verify(mWifiNative).setMultiStaPrimaryConnection(WIFI_IFACE_NAME); in enableWifi()
2661 assertEquals(WIFI_IFACE_NAME, ifaceNameCaptor.getValue()); in requestAdditionalClientModeManager()