Searched defs:IFACE_NAME (Results 1 - 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DWificondPnoScannerTest.java54 private static final String IFACE_NAME = "a_test_interface_name"; field in class:WificondPnoScannerTest
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...]
H A DBaseWifiScannerImplTest.java61 protected static final String IFACE_NAME = "a_test_interface_name"; field in class:BaseWifiScannerImplTest
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), anyIn
[all...]
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
H A DTetherInterfaceStateMachineTest.java68 private static final String IFACE_NAME = "testnet1"; field in class:TetherInterfaceStateMachineTest
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, mInterfaceConfiguratio
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DHostapdHalTest.java49 private static final String IFACE_NAME = "mock-wlan0"; field in class:HostapdHalTest
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, configuratio
[all...]
H A DSupplicantStaNetworkHalTest.java60 private static final String IFACE_NAME = "wlan0"; field in class:SupplicantStaNetworkHalTest
637 IFACE_NAME, mContext, mWifiMonitor);
758 eq(IFACE_NAME), eq(config.networkId), eq(config.SSID), eq(expectedRands));
783 eq(IFACE_NAME), eq(config.networkId), eq(config.SSID), eq(expectedRands));
799 eq(IFACE_NAME), eq(config.networkId), eq(config.SSID));
1328 new SupplicantStaNetworkHal(mISupplicantStaNetworkMock, IFACE_NAME, mContext,

Completed in 189 milliseconds