Searched refs:enableNat (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | TetherInterfaceStateMachineTest.java | 209 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE); in handlesFirstUpstreamChange() 223 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2); in handlesChangingUpstream() 232 doThrow(RemoteException.class).when(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2); in handlesChangingUpstreamNatFailure() 239 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2); in handlesChangingUpstreamNatFailure() 257 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2); in handlesChangingUpstreamInterfaceForwardingFailure() 324 doThrow(RemoteException.class).when(mNMService).enableNat(anyString(), anyString()); in shouldTearDownUsbOnUpstreamError()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | TetheringTest.java | 577 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_IPv4() 589 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_IPv6() 602 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_DualStack() 616 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_XLAT_MOBILE_IFNAME); in workingMobileUsbTethering_MultipleUpstreams() 617 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_MultipleUpstreams() 647 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_XLAT_MOBILE_IFNAME); in workingMobileUsbTethering_v6Then464xlat() 648 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_v6Then464xlat()
|
/frameworks/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 198 void enableNat(String internalInterface, String externalInterface); in enableNat() method
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | TetherInterfaceStateMachine.java | 704 mNMService.enableNat(mIfaceName, ifname); in processMessage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 1423 public void enableNat(String internalInterface, String externalInterface) { in enableNat() method in NetworkManagementService
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 4041 Landroid/os/INetworkManagementService;->enableNat(Ljava/lang/String;Ljava/lang/String;)V
|
D | boot-image-profile.txt | 27697 HSPLandroid/os/INetworkManagementService;->enableNat(Ljava/lang/String;Ljava/lang/String;)V
|