Home
last modified time | relevance | path

Searched refs:addDownstreamPrefix (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java583 inOrder.verify(mHardware, times(1)).addDownstreamPrefix(RNDIS0, USB_PREFIX); in testAddRemoveDownstreams()
589 inOrder.verify(mHardware, never()).addDownstreamPrefix(eq(RNDIS0), anyString()); in testAddRemoveDownstreams()
597 inOrder.verify(mHardware, times(1)).addDownstreamPrefix(RNDIS0, IPV6_DOC_PREFIX); in testAddRemoveDownstreams()
604 inOrder.verify(mHardware, never()).addDownstreamPrefix(eq(RNDIS0), anyString()); in testAddRemoveDownstreams()
612 inOrder.verify(mHardware, times(1)).addDownstreamPrefix(RNDIS0, IPV6_DISCARD_PREFIX); in testAddRemoveDownstreams()
727 verify(mHardware, times(1)).addDownstreamPrefix(WLAN0, "192.168.43.0/24"); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters()
728 verify(mHardware, times(1)).addDownstreamPrefix(WLAN0, "2001:2::/64"); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadHardwareInterface.java245 public boolean addDownstreamPrefix(String ifname, String prefix) { in addDownstreamPrefix() method in OffloadHardwareInterface
DOffloadController.java413 mHwInterface.addDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState()