HomeSort by relevance Sort by last modified time
    Searched refs:IFACE_NAME (Results 1 - 11 of 11) sorted by null

  /frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
TetherInterfaceStateMachineTest.java 68 private static final String IFACE_NAME = "testnet1";
86 IFACE_NAME, mLooper.getLooper(), interfaceType, mSharedLog,
93 when(mNMService.getInterfaceConfig(IFACE_NAME)).thenReturn(mInterfaceConfiguration);
103 when(mNMService.getInterfaceConfig(IFACE_NAME)).thenReturn(mInterfaceConfiguration);
113 mTestedSm = new TetherInterfaceStateMachine(IFACE_NAME, mLooper.getLooper(),
161 inOrder.verify(mNMService).tetherInterface(IFACE_NAME);
175 inOrder.verify(mNMService).untetherInterface(IFACE_NAME);
176 inOrder.verify(mNMService).setInterfaceConfig(eq(IFACE_NAME), any());
190 inOrder.verify(mNMService).getInterfaceConfig(IFACE_NAME);
191 inOrder.verify(mNMService).setInterfaceConfig(IFACE_NAME, mInterfaceConfiguration)
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
HalWifiScannerTest.java 37 mScanner = new HalWifiScannerImpl(mContext, BaseWifiScannerImplTest.IFACE_NAME,
WificondPnoScannerTest.java 54 private static final String IFACE_NAME = "a_test_interface_name";
79 when(mWifiNative.getClientInterfaceName()).thenReturn(IFACE_NAME);
122 when(mWifiNative.stopPnoScan(IFACE_NAME)).thenReturn(false);
125 verify(mWifiNative).stopPnoScan(IFACE_NAME);
138 mScanner = new WificondScannerImpl(mContext, IFACE_NAME, mWifiNative, mWifiMonitor,
179 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(true);
180 when(mWifiNative.startPnoScan(eq(IFACE_NAME), any(WifiNative.PnoSettings.class)))
182 when(mWifiNative.stopPnoScan(IFACE_NAME)).thenReturn(true);
213 when(mWifiNative.getPnoScanResults(IFACE_NAME))
215 when(mWifiNative.getScanResults(IFACE_NAME))
    [all...]
BaseWifiScannerImplTest.java 61 protected static final String IFACE_NAME = "a_test_interface_name";
84 when(mWifiNative.getClientInterfaceName()).thenReturn(IFACE_NAME);
244 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(true);
267 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(false);
297 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(true);
331 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(true);
338 mWifiMonitor.sendMessage(eq(IFACE_NAME), WifiMonitor.SCAN_FAILED_EVENT);
386 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(true);
459 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(true);
464 order.verify(mWifiNative).scan(eq(IFACE_NAME), anyInt(), eq(expectedScan), any(Set.class))
    [all...]
WificondScannerTest.java 58 mScanner = new WificondScannerImpl(mContext, BaseWifiScannerImplTest.IFACE_NAME,
76 mScanner = new WificondScannerImpl(mContext, BaseWifiScannerImplTest.IFACE_NAME,
98 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT);
123 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT);
143 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(true);
153 mWifiMonitor.sendMessage(IFACE_NAME, WifiMonitor.SCAN_RESULTS_EVENT);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
HostapdHalTest.java 49 private static final String IFACE_NAME = "mock-wlan0";
168 assertTrue(mHostapdHal.addAccessPoint(IFACE_NAME, configuration));
171 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName);
201 assertTrue(mHostapdHal.addAccessPoint(IFACE_NAME, configuration));
204 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName);
235 assertTrue(mHostapdHal.addAccessPoint(IFACE_NAME, configuration));
238 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName);
273 assertTrue(mHostapdHal.addAccessPoint(IFACE_NAME, configuration));
276 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName);
311 assertTrue(mHostapdHal.addAccessPoint(IFACE_NAME, configuration))
    [all...]
SupplicantStaNetworkHalTest.java 60 private static final String IFACE_NAME = "wlan0";
637 IFACE_NAME, mContext, mWifiMonitor);
    [all...]
  /external/autotest/client/cros/cellular/
net_interface.py 26 IFACE_NAME = 'pseudomodem0'
27 PEER_IFACE_NAME = IFACE_NAME + 'p'
43 interface_name=self.IFACE_NAME,
98 utils.run('sudo ifconfig %s up' % self.IFACE_NAME)
105 utils.run('sudo ifconfig %s down' % self.IFACE_NAME);
  /external/autotest/client/cros/cellular/pseudomodem/
bearer.py 35 'Interface': net_interface.PseudoNetInterface.IFACE_NAME,
modem.py 114 [net_interface.PseudoNetInterface.IFACE_NAME,
  /external/autotest/client/cros/cellular/wardmodem/
wardmodem.py 578 net_interface.PseudoNetInterface.IFACE_NAME + ' '

Completed in 4108 milliseconds