/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | RoutingCoordinatorService.java | 128 @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/ |
D | RoutingCoordinatorManager.java | 135 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()
|
D | IRoutingCoordinator.aidl | 84 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/ |
D | IpServer.java | 855 @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/ |
D | INetd.aidl | 45 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/ |
D | IpServerTest.java | 288 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/ |
D | INetd.aidl | 63 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/ |
D | INetd.aidl | 62 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/ |
D | INetd.aidl | 91 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/ |
D | INetd.aidl | 85 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/ |
D | INetd.aidl | 85 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/ |
D | INetd.aidl | 622 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/ |
D | INetd.aidl | 91 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/ |
D | INetd.aidl | 94 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/ |
D | INetd.aidl | 85 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/ |
D | INetd.aidl | 94 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/ |
D | INetd.aidl | 91 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/ |
D | INetd.aidl | 63 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/ |
D | INetd.aidl | 63 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/ |
D | INetd.aidl | 94 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/ |
D | INetd.aidl | 91 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/ |
D | INetd.aidl | 91 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/ |
D | BpfCoordinatorTest.java | 581 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()
|