Home
last modified time | relevance | path

Searched refs:setIpForwardingEnabled (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java509 verify(mNMService, times(1)).setIpForwardingEnabled(true); in workingLocalOnlyHotspotEnrichedApBroadcast()
532 verify(mNMService, times(1)).setIpForwardingEnabled(false); in workingLocalOnlyHotspotEnrichedApBroadcast()
743 verify(mNMService, times(1)).setIpForwardingEnabled(true); in workingWifiTetheringEnrichedApBroadcast()
783 verify(mNMService, times(1)).setIpForwardingEnabled(false); in workingWifiTetheringEnrichedApBroadcast()
795 doThrow(new RemoteException()).when(mNMService).setIpForwardingEnabled(true); in failureEnablingIpForwarding()
826 verify(mNMService, times(1)).setIpForwardingEnabled(true); in failureEnablingIpForwarding()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl143 void setIpForwardingEnabled(boolean enabled); in setIpForwardingEnabled() method
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1148 mNMService.setIpForwardingEnabled(true); in turnOnMasterTetherSettings()
1185 mNMService.setIpForwardingEnabled(false); in turnOffMasterTetherSettings()
1560 mNMService.setIpForwardingEnabled(false); in enter()
1571 mNMService.setIpForwardingEnabled(false); in enter()
1585 mNMService.setIpForwardingEnabled(false); in enter()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1001 public void setIpForwardingEnabled(boolean enable) { in setIpForwardingEnabled() method in NetworkManagementService