Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DHalWifiScannerImpl.java42 private final String mIfaceName; field in HalWifiScannerImpl
49 mIfaceName = ifaceName; in HalWifiScannerImpl()
53 new WificondScannerImpl(context, mIfaceName, wifiNative, wifiMonitor, in HalWifiScannerImpl()
71 mIfaceName, capabilities); in getScanCapabilities()
98 mIfaceName, settings, eventHandler); in startBatchedScan()
103 mWifiNative.stopBgScan(mIfaceName); in stopBatchedScan()
108 mWifiNative.pauseBgScan(mIfaceName); in pauseBatchedScan()
113 mWifiNative.restartBgScan(mIfaceName); in restartBatchedScan()
118 return mWifiNative.getBgScanResults(mIfaceName); in getLatestBatchedScanResults()
DWificondScannerImpl.java63 private final String mIfaceName; field in WificondScannerImpl
100 mIfaceName = ifaceName; in WificondScannerImpl()
112 wifiMonitor.registerHandler(mIfaceName, in WificondScannerImpl()
114 wifiMonitor.registerHandler(mIfaceName, in WificondScannerImpl()
116 wifiMonitor.registerHandler(mIfaceName, in WificondScannerImpl()
126 mWifiMonitor.deregisterHandler(mIfaceName, in cleanup()
128 mWifiMonitor.deregisterHandler(mIfaceName, in cleanup()
130 mWifiMonitor.deregisterHandler(mIfaceName, in cleanup()
193 mIfaceName, settings.scanType, freqs, hiddenNetworkSSIDSet); in startSingleScan()
324 mNativePnoScanResults = mWifiNative.getPnoScanResults(mIfaceName); in pollLatestScanDataForPno()
[all …]
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java238 private final String mIfaceName; field in IpServer
295 mIfaceName = ifaceName; in IpServer()
314 mLog.e("Failed to create IpNeighborMonitor on " + mIfaceName); in IpServer()
333 return mIfaceName; in interfaceName()
520 return new RouteInfo(PrefixUtils.asIpPrefix(ipv4Address), null, mIfaceName, RTN_UNICAST); in getDirectConnectedRoute()
552 mIfaceName, params, new DhcpServerCallbacksImpl(mDhcpServerStartIndex)); in startDhcp()
663 mInterfaceParams = mDeps.getInterfaceParams(mIfaceName); in startIPv6()
764 mNetd.networkAddInterface(INetd.LOCAL_NET_ID, mIfaceName); in addRoutesToLocalNetwork()
768 RouteUtils.addRoutesToLocalNetwork(mNetd, mIfaceName, toBeAdded); in addRoutesToLocalNetwork()
774 mLog.e("Failed to add " + mIfaceName + " to local table: ", e); in addRoutesToLocalNetwork()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java95 final String mIfaceName = "virtual_interface_name"; field in SupplicantP2pIfaceHalTest
198 mP2pIface = createIfaceInfo(IfaceType.P2P, mIfaceName); in setUp()
294 assertFalse(mDut.setupIface(mIfaceName)); in testDuplicateSetupIfaceV1_1_Fails()
310 assertTrue(mDut.teardownIface(mIfaceName)); in testTeardown_successV1_1()
319 assertFalse(mDut.teardownIface(mIfaceName)); in testInvalidTeardownInterfaceV1_1_Fails()
331 cb.onValues(mStatusSuccess, mIfaceName); in testGetName_success()
339 assertEquals(mIfaceName, mDut.getName()); in testGetName_success()
532 when(mISupplicantP2pIfaceMock.setPowerSave(eq(mIfaceName), anyBoolean())) in testSetPowerSave_success()
535 assertFalse(mDut.setPowerSave(mIfaceName, true)); in testSetPowerSave_success()
537 assertTrue(mDut.setPowerSave(mIfaceName, true)); in testSetPowerSave_success()
[all …]
/frameworks/base/core/java/android/net/
DLinkProperties.java58 private String mIfaceName; field in LinkProperties
185 mIfaceName = source.mIfaceName; in LinkProperties()
214 mIfaceName = iface; in setInterfaceName()
228 return mIfaceName; in getInterfaceName()
237 if (mIfaceName != null) interfaceNames.add(mIfaceName); in getAllInterfaceNames()
688 mIfaceName, in routeWithInterface()
715 if (routeIface != null && !routeIface.equals(mIfaceName)) { in addRoute()
718 + " vs. " + mIfaceName); in addRoute()
750 return Objects.equals(mIfaceName, route.getInterface()) && mRoutes.remove(route); in removeRoute()
769 addRoute(new RouteInfo(addr, null, mIfaceName)); in ensureDirectlyConnectedRoutes()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java2496 private String mIfaceName; field in SupplicantStaIfaceHal.SupplicantStaIfaceHalCallback
2500 mIfaceName = ifaceName; in SupplicantStaIfaceHalCallback()
2573 mIfaceName, getCurrentNetworkId(mIfaceName), bssidStr); in onStateChanged()
2576 mIfaceName, getCurrentNetworkId(mIfaceName), wifiSsid, in onStateChanged()
2600 mIfaceName, new AnqpEvent(NativeUtil.macAddressToLong(bssid), elementsMap)); in onAnqpQueryDone()
2610 mIfaceName, in onHs20IconQueryDone()
2621 mIfaceName, in onHs20SubscriptionRemediation()
2632 mIfaceName, in onHs20DeauthImminentNotice()
2650 mIfaceName, WifiManager.ERROR_AUTH_FAILURE_WRONG_PSWD, -1); in onDisconnected()
2653 mIfaceName, locallyGenerated ? 1 : 0, reasonCode, in onDisconnected()
[all …]
DWificondControl.java114 private String mIfaceName; field in WificondControl.ScanEventHandler
117 mIfaceName = ifaceName; in ScanEventHandler()
123 mWifiMonitor.broadcastScanResultEvent(mIfaceName); in OnScanResultReady()
129 mWifiMonitor.broadcastScanFailedEvent(mIfaceName); in OnScanFailed()
145 private String mIfaceName; field in WificondControl.PnoScanEventHandler
148 mIfaceName = ifaceName; in PnoScanEventHandler()
154 mWifiMonitor.broadcastPnoScanResultEvent(mIfaceName); in OnPnoNetworkFound()
DSupplicantStaNetworkHal.java91 private final String mIfaceName; field in SupplicantStaNetworkHal
137 mIfaceName = ifaceName; in SupplicantStaNetworkHal()
3114 mIfaceName, mFramewokNetworkId, mSsid, data); in onNetworkEapSimGsmAuthRequest()
3127 mIfaceName, mFramewokNetworkId, mSsid, data); in onNetworkEapSimUmtsAuthRequest()
3136 mIfaceName, mFramewokNetworkId, mSsid); in onNetworkEapIdentityRequest()
DHalDeviceManager.java2119 private final String mIfaceName; field in HalDeviceManager.InterfaceDestroyedListenerProxy
2124 mIfaceName = ifaceName; in InterfaceDestroyedListenerProxy()
2129 mListener.onDestroyed(mIfaceName); in action()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java2781 private final String mIfaceName; field in HalDeviceManagerTest.InterfaceDestroyedListenerWithIfaceName
2786 mIfaceName = ifaceName; in InterfaceDestroyedListenerWithIfaceName()
2791 verify(mListener).onDestroyed(mIfaceName); in validate()