Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachineTest.java209 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/
DTetheringTest.java577 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/
DINetworkManagementService.aidl198 void enableNat(String internalInterface, String externalInterface); in enableNat() method
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachine.java704 mNMService.enableNat(mIfaceName, ifname); in processMessage()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1423 public void enableNat(String internalInterface, String externalInterface) { in enableNat() method in NetworkManagementService
/frameworks/base/config/
Dhiddenapi-light-greylist.txt4041 Landroid/os/INetworkManagementService;->enableNat(Ljava/lang/String;Ljava/lang/String;)V
Dboot-image-profile.txt27697 HSPLandroid/os/INetworkManagementService;->enableNat(Ljava/lang/String;Ljava/lang/String;)V