Searched refs:WIFI_IFACE_NAME (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNativeTest.java | 54 private static final String WIFI_IFACE_NAME = "mockWlan"; field in WifiNativeTest 472 assertFalse(mWifiNative.startPktFateMonitoring(WIFI_IFACE_NAME)); in testStartPktFateMonitoringReturnsFalseWhenHalIsNotStarted() 482 assertFalse(mWifiNative.getTxPktFates(WIFI_IFACE_NAME, fateReports)); in testGetTxPktFatesReturnsErrorWhenHalIsNotStarted() 492 assertFalse(mWifiNative.getRxPktFates(WIFI_IFACE_NAME, fateReports)); in testGetRxPktFatesReturnsErrorWhenHalIsNotStarted() 517 when(mWificondControl.signalPoll(WIFI_IFACE_NAME)) in testSignalPoll() 520 WifiNative.SignalPollResult pollResult = mWifiNative.signalPoll(WIFI_IFACE_NAME); in testSignalPoll() 526 verify(mWificondControl).signalPoll(WIFI_IFACE_NAME); in testSignalPoll() 534 when(mWificondControl.getTxPacketCounters(WIFI_IFACE_NAME)) in testGetTxPacketCounters() 537 assertEquals(PACKET_COUNTERS_RESULT, mWifiNative.getTxPacketCounters(WIFI_IFACE_NAME)); in testGetTxPacketCounters() 538 verify(mWificondControl).getTxPacketCounters(WIFI_IFACE_NAME); in testGetTxPacketCounters() [all …]
|
D | ClientModeImplTest.java | 325 static final String WIFI_IFACE_NAME = "mockWlan"; field in ClientModeImplTest 447 when(mWifiNative.getFactoryMacAddress(WIFI_IFACE_NAME)).thenReturn( in setUp() 449 when(mWifiNative.getMacAddress(WIFI_IFACE_NAME)) in setUp() 451 when(mWifiNative.setMacAddress(eq(WIFI_IFACE_NAME), anyObject())) in setUp() 622 mCmi.setOperationalMode(ClientModeImpl.CONNECT_MODE, WIFI_IFACE_NAME); in shouldStartSupplicantWhenConnectModeRequested() 825 mCmi.setOperationalMode(ClientModeImpl.CONNECT_MODE, WIFI_IFACE_NAME); in startSupplicantAndDispatchMessages() 902 verify(mWifiNative).removeAllNetworks(WIFI_IFACE_NAME); in setupAndStartConnectSequence() 914 verify(mWifiNative).connectToNetwork(eq(WIFI_IFACE_NAME), eq(config)); in validateSuccessfulConnectSequence() 923 verify(mWifiNative, never()).connectToNetwork(eq(WIFI_IFACE_NAME), eq(config)); in validateFailureConnectSequence() 963 verify(mWifiNative).connectToNetwork(eq(WIFI_IFACE_NAME), eq(config)); in triggerConnectFromNonSettingsApp() [all …]
|
D | WifiServiceImplTest.java | 173 private static final String WIFI_IFACE_NAME = "wlan0"; field in WifiServiceImplTest 721 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled() local 749 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testSetWifiEnabledFromAppFailsWhenApEnabled() local 990 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testGetWifiApEnabled() local 1477 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testTetheringDoesNotStartWhenAlreadyTetheringActive() 1495 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testHotspotDoesNotStartWhenAlreadyTethering() 1958 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric() local 1983 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel() local 2009 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testRegisteredCallbacksTriggeredOnSoftApDisabling() 2018 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testRegisteredCallbacksTriggeredOnSoftApDisabling() local [all …]
|
D | ActiveModeWardenTest.java | 60 private static final String WIFI_IFACE_NAME = "mockWlan"; field in ActiveModeWardenTest
|