Home
last modified time | relevance | path

Searched refs:ifName (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/net/aidl/networkstack/1/android/net/
DINetworkStackConnector.aidl3 …oneway void makeDhcpServer(in String ifName, in android.net.dhcp.DhcpServingParamsParcel params, i… in makeDhcpServer() argument
5 oneway void makeIpClient(in String ifName, in android.net.ip.IIpClientCallbacks callbacks); in makeIpClient() argument
/frameworks/base/services/net/aidl/networkstack/3/android/net/
DINetworkStackConnector.aidl20 …oneway void makeDhcpServer(in String ifName, in android.net.dhcp.DhcpServingParamsParcel params, i… in makeDhcpServer() argument
22 oneway void makeIpClient(in String ifName, in android.net.ip.IIpClientCallbacks callbacks); in makeIpClient() argument
/frameworks/base/services/net/aidl/networkstack/2/android/net/
DINetworkStackConnector.aidl3 …oneway void makeDhcpServer(in String ifName, in android.net.dhcp.DhcpServingParamsParcel params, i… in makeDhcpServer() argument
5 oneway void makeIpClient(in String ifName, in android.net.ip.IIpClientCallbacks callbacks); in makeIpClient() argument
/frameworks/base/services/net/java/android/net/
DINetworkStackConnector.aidl27 void makeDhcpServer(in String ifName, in DhcpServingParamsParcel params, in makeDhcpServer() argument
30 void makeIpClient(in String ifName, in IIpClientCallbacks callbacks); in makeIpClient() argument
DNetworkStackClient.java142 public void makeDhcpServer(final String ifName, final DhcpServingParamsParcel params, in makeDhcpServer() argument
146 connector.makeDhcpServer(ifName, params, cb); in makeDhcpServer()
158 public void makeIpClient(String ifName, IIpClientCallbacks cb) { in makeIpClient() argument
161 connector.makeIpClient(ifName, cb); in makeIpClient()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java670 public void onQuotaLimitReached(String alertName, String ifName) in onQuotaLimitReached() argument
672 mDaemonHandler.post(() -> notifyLimitReached(alertName, ifName)); in onQuotaLimitReached()
676 public void onInterfaceDnsServerInfo(String ifName, in onInterfaceDnsServerInfo() argument
678 mDaemonHandler.post(() -> notifyInterfaceDnsServerInfo(ifName, lifetime, servers)); in onInterfaceDnsServerInfo()
683 String ifName, int flags, int scope) throws RemoteException { in onInterfaceAddressUpdated() argument
685 mDaemonHandler.post(() -> notifyAddressUpdated(ifName, address)); in onInterfaceAddressUpdated()
690 String ifName, int flags, int scope) throws RemoteException { in onInterfaceAddressRemoved() argument
692 mDaemonHandler.post(() -> notifyAddressRemoved(ifName, address)); in onInterfaceAddressRemoved()
696 public void onInterfaceAdded(String ifName) throws RemoteException { in onInterfaceAdded() argument
697 mDaemonHandler.post(() -> notifyInterfaceAdded(ifName)); in onInterfaceAdded()
[all …]
/frameworks/base/tests/net/java/android/net/ip/
DInterfaceControllerTest.java71 assertEquals(TEST_IFACE, parcel.ifName); in testSetIPv4Address()
83 assertEquals(TEST_IFACE, parcel.ifName); in testClearIPv4Address()
DIpServerTest.java233 inOrder.verify(mNetd).interfaceSetCfg(argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in canUnrequestTethering()
331 inOrder.verify(mNetd).interfaceSetCfg(argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in canUnrequestTetheringWithUpstream()
/frameworks/base/services/net/java/android/net/ip/
DIpClientUtil.java78 public static void makeIpClient(Context context, String ifName, IpClientCallbacks callback) { in makeIpClient() argument
80 NetworkStackClient.getInstance().makeIpClient(ifName, new IpClientCallbacksProxy(callback)); in makeIpClient()
DInterfaceController.java53 ifConfig.ifName = mIfName; in setInterfaceAddress()
DIpServer.java137 public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() argument
138 return InterfaceParams.getByName(ifName); in getInterfaceParams()
148 public void makeDhcpServer(String ifName, DhcpServingParamsParcel params, in makeDhcpServer() argument
150 NetworkStackClient.getInstance().makeDhcpServer(ifName, params, cb); in makeDhcpServer()
/frameworks/native/cmds/service/
Dservice.cpp132 String16 ifName = get_interface_name(service); in main() local
134 if (service != nullptr && ifName.size() > 0) { in main()
138 data.writeInterfaceToken(ifName); in main()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java208 public InterfaceParams getInterfaceParams(String ifName) { in getInterfaceParams() argument
209 assertTrue("Non-mocked interface " + ifName, in getInterfaceParams()
210 ifName.equals(TEST_USB_IFNAME) in getInterfaceParams()
211 || ifName.equals(TEST_WLAN_IFNAME) in getInterfaceParams()
212 || ifName.equals(TEST_MOBILE_IFNAME)); in getInterfaceParams()
215 return new InterfaceParams(ifName, ArrayUtils.indexOf(ifaces, ifName) + IFINDEX_OFFSET, in getInterfaceParams()
225 public void makeDhcpServer(String ifName, DhcpServingParamsParcel params, in makeDhcpServer() argument
818 verify(mNetd, times(1)).interfaceSetCfg(argThat(p -> TEST_WLAN_IFNAME.equals(p.ifName))); in failureEnablingIpForwarding()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java163 ev.ifName = ifname; in buildEvent()
348 } else if (ev.ifName != null) { in inferLinkLayer()
349 linkLayer = ifnameToLinkLayer(ev.ifName); in inferLinkLayer()
355 ev.ifName = ""; in inferLinkLayer()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1136 for (String ifName: potential) { in selectInterfaceForRequest()
1137 if (!used.contains(ifName)) { in selectInterfaceForRequest()
1138 return ifName; in selectInterfaceForRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2214 public void answer(String ifName, byte[] bssid, in testStartWpsPinDisplay_success()
2236 public void answer(String ifName, byte[] bssid, in testStartWpsPinDisplay_invalidArguments()
2259 public void answer(String ifName, byte[] bssid, in testStartWpsPinDisplay_failure()