Home
last modified time | relevance | path

Searched refs:enableNat (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/net/java/android/net/ip/
DIpServerTest.java266 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE); in handlesFirstUpstreamChange()
280 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2); in handlesChangingUpstream()
289 doThrow(RemoteException.class).when(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2); in handlesChangingUpstreamNatFailure()
296 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2); in handlesChangingUpstreamNatFailure()
314 inOrder.verify(mNMService).enableNat(IFACE_NAME, UPSTREAM_IFACE2); in handlesChangingUpstreamInterfaceForwardingFailure()
381 doThrow(RemoteException.class).when(mNMService).enableNat(anyString(), anyString()); in shouldTearDownUsbOnUpstreamError()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java571 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_IPv4()
595 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_IPv6()
608 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_DualStack()
623 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_XLAT_MOBILE_IFNAME); in workingMobileUsbTethering_MultipleUpstreams()
624 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_MultipleUpstreams()
641 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_v6Then464xlat()
659 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_XLAT_MOBILE_IFNAME); in workingMobileUsbTethering_v6Then464xlat()
663 verify(mNMService, times(1)).enableNat(TEST_USB_IFNAME, TEST_MOBILE_IFNAME); in workingMobileUsbTethering_v6Then464xlat()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl209 void enableNat(String internalInterface, String externalInterface); in enableNat() method
/frameworks/base/services/net/java/android/net/ip/
DIpServer.java918 mNMService.enableNat(mIfaceName, ifname); in processMessage()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1142 public void enableNat(String internalInterface, String externalInterface) { in enableNat() method in NetworkManagementService