Home
last modified time | relevance | path

Searched refs:toIface (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DRoutingCoordinatorService.java128 @NonNull public final String toIface; field in RoutingCoordinatorService.ForwardingPair
129 ForwardingPair(@NonNull final String fromIface, @NonNull final String toIface) { in ForwardingPair() argument
131 this.toIface = toIface; in ForwardingPair()
141 return fromIface.equals(that.fromIface) && toIface.equals(that.toIface); in equals()
147 result = 2 * result + toIface.hashCode(); in hashCode()
163 public void addInterfaceForward(final String fromIface, final String toIface) in addInterfaceForward() argument
166 Objects.requireNonNull(toIface); in addInterfaceForward()
167 Log.i(TAG, "Adding interface forward " + fromIface + " → " + toIface); in addInterfaceForward()
172 final ForwardingPair fwp = new ForwardingPair(fromIface, toIface); in addInterfaceForward()
176 + fromIface + " → " + toIface); in addInterfaceForward()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DRoutingCoordinatorManager.java135 public void addInterfaceForward(final String fromIface, final String toIface) { in addInterfaceForward() argument
137 mService.addInterfaceForward(fromIface, toIface); in addInterfaceForward()
151 public void removeInterfaceForward(final String fromIface, final String toIface) { in removeInterfaceForward() argument
153 mService.removeInterfaceForward(fromIface, toIface); in removeInterfaceForward()
DIRoutingCoordinator.aidl84 void addInterfaceForward(in String fromIface, in String toIface); in addInterfaceForward() argument
94 void removeInterfaceForward(in String fromIface, in String toIface); in removeInterfaceForward() argument
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java855 @NonNull final String toIface) throws ServiceSpecificException, RemoteException { in addInterfaceForward() argument
857 mRoutingCoordinator.value.addInterfaceForward(fromIface, toIface); in addInterfaceForward()
859 mNetd.tetherAddForward(fromIface, toIface); in addInterfaceForward()
860 mNetd.ipfwdAddInterfaceForward(fromIface, toIface); in addInterfaceForward()
865 @NonNull final String toIface) { in removeInterfaceForward() argument
868 mRoutingCoordinator.value.removeInterfaceForward(fromIface, toIface); in removeInterfaceForward()
874 mNetd.ipfwdRemoveInterfaceForward(fromIface, toIface); in removeInterfaceForward()
879 mNetd.tetherRemoveForward(fromIface, toIface); in removeInterfaceForward()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl45 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
46 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java288 final String toIface = (String) it.getArguments()[1]; in setUp()
289 mNetd.tetherAddForward(fromIface, toIface); in setUp()
290 mNetd.ipfwdAddInterfaceForward(fromIface, toIface); in setUp()
295 final String toIface = (String) it.getArguments()[1]; in setUp()
296 mNetd.ipfwdRemoveInterfaceForward(fromIface, toIface); in setUp()
297 mNetd.tetherRemoveForward(fromIface, toIface); in setUp()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl63 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
64 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl62 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
63 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/13/android/net/
DINetd.aidl91 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
92 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/7/android/net/
DINetd.aidl85 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
86 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/6/android/net/
DINetd.aidl85 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
86 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/binder/android/net/
DINetd.aidl622 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
632 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/10/android/net/
DINetd.aidl91 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
92 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl94 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
95 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/8/android/net/
DINetd.aidl85 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
86 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/14/android/net/
DINetd.aidl94 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
95 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/9/android/net/
DINetd.aidl91 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
92 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl63 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
64 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/5/android/net/
DINetd.aidl63 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
64 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/15/android/net/
DINetd.aidl94 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
95 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/11/android/net/
DINetd.aidl91 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
92 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/12/android/net/
DINetd.aidl91 void ipfwdAddInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdAddInterfaceForward() argument
92 void ipfwdRemoveInterfaceForward(in @utf8InCpp String fromIface, in @utf8InCpp String toIface); in ipfwdRemoveInterfaceForward() argument
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java581 final String toIface = (String) it.getArguments()[1]; in setUp()
582 mNetd.tetherAddForward(fromIface, toIface); in setUp()
583 mNetd.ipfwdAddInterfaceForward(fromIface, toIface); in setUp()
588 final String toIface = (String) it.getArguments()[1]; in setUp()
589 mNetd.ipfwdRemoveInterfaceForward(fromIface, toIface); in setUp()
590 mNetd.tetherRemoveForward(fromIface, toIface); in setUp()