Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java123 public void onQuotaLimitReached(String alertName, String ifName) { in onQuotaLimitReached() argument
124 invokeForAllObservers(o -> o.onQuotaLimitReached(alertName, ifName)); in onQuotaLimitReached()
128 public void onInterfaceDnsServerInfo(String ifName, long lifetime, String[] servers) { in onInterfaceDnsServerInfo() argument
129 invokeForAllObservers(o -> o.onInterfaceDnsServerInfo(ifName, lifetime, servers)); in onInterfaceDnsServerInfo()
133 public void onInterfaceAddressUpdated(String addr, String ifName, int flags, int scope) { in onInterfaceAddressUpdated() argument
135 invokeForAllObservers(o -> o.onInterfaceAddressUpdated(address, ifName)); in onInterfaceAddressUpdated()
140 String ifName, int flags, int scope) { in onInterfaceAddressRemoved() argument
142 invokeForAllObservers(o -> o.onInterfaceAddressRemoved(address, ifName)); in onInterfaceAddressRemoved()
146 public void onInterfaceAdded(String ifName) { in onInterfaceAdded() argument
147 invokeForAllObservers(o -> o.onInterfaceAdded(ifName)); in onInterfaceAdded()
[all …]
DNetworkObserver.java30 default void onInterfaceChanged(String ifName, boolean up) {} in onInterfaceChanged() argument
35 default void onInterfaceRemoved(String ifName) {} in onInterfaceRemoved() argument
41 default void onInterfaceAddressUpdated(LinkAddress address, String ifName) {} in onInterfaceAddressUpdated() argument
47 default void onInterfaceAddressRemoved(LinkAddress address, String ifName) {} in onInterfaceAddressRemoved() argument
52 default void onInterfaceLinkStateChanged(String ifName, boolean up) {} in onInterfaceLinkStateChanged() argument
57 default void onInterfaceAdded(String ifName) {} in onInterfaceAdded() argument
69 default void onQuotaLimitReached(String alertName, String ifName) {} in onQuotaLimitReached() argument
75 default void onInterfaceDnsServerInfo(String ifName, long lifetime, String[] servers) {} in onInterfaceDnsServerInfo() argument
DNetworkStackService.java157 public DhcpServer makeDhcpServer(@NonNull Context context, @NonNull String ifName, in makeDhcpServer() argument
159 return new DhcpServer(context, ifName, params, log); in makeDhcpServer()
172 public IpClient makeIpClient(@NonNull Context context, @NonNull String ifName, in makeIpClient() argument
175 return new IpClient(context, ifName, cb, observerRegistry, nsServiceManager); in makeIpClient()
341 public void makeDhcpServer(@NonNull String ifName, @NonNull DhcpServingParamsParcel params, in makeDhcpServer() argument
349 ifName, in makeDhcpServer()
351 mLog.forSubComponent(ifName + ".DHCP")); in makeDhcpServer()
375 public void makeIpClient(String ifName, IIpClientCallbacks cb) throws RemoteException { in makeIpClient() argument
379 mContext, ifName, cb, mObserverRegistry, this); in makeIpClient()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/networkstack/
DNetworkStackClientBase.java53 public void makeDhcpServer(final String ifName, final DhcpServingParamsParcel params, in makeDhcpServer() argument
57 connector.makeDhcpServer(ifName, params, cb); in makeDhcpServer()
69 public void makeIpClient(String ifName, IIpClientCallbacks cb) { in makeIpClient() argument
72 connector.makeIpClient(ifName, cb); in makeIpClient()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DRouteUtils.java95 final String ifName = route.getInterface(); in modifyRoute() local
102 netd.networkAddRoute(netId, ifName, dst, nextHop); in modifyRoute()
105 netd.networkRemoveRoute(netId, ifName, dst, nextHop); in modifyRoute()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/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
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/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
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/
DINetworkStackConnector.aidl21 …oneway void makeDhcpServer(in String ifName, in android.net.dhcp.DhcpServingParamsParcel params, i… in makeDhcpServer() argument
23 oneway void makeIpClient(in String ifName, in android.net.ip.IIpClientCallbacks callbacks); in makeIpClient() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
DINetworkStackConnector.aidl21 …oneway void makeDhcpServer(in String ifName, in android.net.dhcp.DhcpServingParamsParcel params, i… in makeDhcpServer() argument
23 oneway void makeIpClient(in String ifName, in android.net.ip.IIpClientCallbacks callbacks); in makeIpClient() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/
DINetworkStackConnector.aidl21 …oneway void makeDhcpServer(in String ifName, in android.net.dhcp.DhcpServingParamsParcel params, i… in makeDhcpServer() argument
23 oneway void makeIpClient(in String ifName, in android.net.ip.IIpClientCallbacks callbacks); in makeIpClient() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/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
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
DINetworkStackConnector.aidl21 …oneway void makeDhcpServer(in String ifName, in android.net.dhcp.DhcpServingParamsParcel params, i… in makeDhcpServer() argument
23 oneway void makeIpClient(in String ifName, in android.net.ip.IIpClientCallbacks callbacks); in makeIpClient() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/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
/packages/modules/NetworkStack/common/networkstackclient/src/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
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DInterfaceControllerTest.java73 assertEquals(TEST_IFACE, parcel.ifName); in testSetIPv4Address()
85 assertEquals(TEST_IFACE, parcel.ifName); in testClearIPv4Address()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java244 public DhcpServer(@NonNull Context context, @NonNull String ifName, in DhcpServer() argument
246 this(context, ifName, params, log, null); in DhcpServer()
250 DhcpServer(@NonNull Context context, @NonNull String ifName, @NonNull DhcpServingParams params, in DhcpServer() argument
252 super(DhcpServer.class.getSimpleName() + "." + ifName); in DhcpServer()
258 mIfName = ifName; in DhcpServer()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java556 public IpClient(Context context, String ifName, IIpClientCallbacks callback, in IpClient() argument
558 this(context, ifName, callback, observerRegistry, nssManager, new Dependencies()); in IpClient()
562 IpClient(Context context, String ifName, IIpClientCallbacks callback, in IpClient() argument
565 super(IpClient.class.getSimpleName() + "." + ifName); in IpClient()
566 Objects.requireNonNull(ifName); in IpClient()
572 mInterfaceName = ifName; in IpClient()
573 mClatInterfaceName = CLAT_PREFIX + ifName; in IpClient()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java142 MyDhcpServer(Context context, String ifName, DhcpServingParams params, SharedLog log, in MyDhcpServer() argument
144 super(context, ifName, params, log, deps); in MyDhcpServer()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DInterfaceController.java66 ifConfig.ifName = mIfName; in setInterfaceConfiguration()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java924 assertEquals(ifConfig.getValue().ifName, mIfaceName);
1647 public void onInterfaceAddressUpdated(LinkAddress address, String ifName) {
1648 if (ifName.equals(iface) && address.isSameAddressAs(trigger)) {