Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java149 when(mHardware.getForwardedStats(any())).thenReturn(new ForwardedStats()); in setupFunctioningHardwareInterface()
316 inOrder.verify(mHardware, times(1)).getForwardedStats(eq(testIfName)); in testSetUpstreamLinkPropertiesWorking()
327 inOrder.verify(mHardware, times(1)).getForwardedStats(eq(testIfName)); in testSetUpstreamLinkPropertiesWorking()
338 inOrder.verify(mHardware, times(1)).getForwardedStats(eq(testIfName)); in testSetUpstreamLinkPropertiesWorking()
352 inOrder.verify(mHardware, times(1)).getForwardedStats(eq(testIfName)); in testSetUpstreamLinkPropertiesWorking()
373 inOrder.verify(mHardware, times(1)).getForwardedStats(eq(testIfName)); in testSetUpstreamLinkPropertiesWorking()
406 inOrder.verify(mHardware, times(1)).getForwardedStats(eq(testIfName)); in testSetUpstreamLinkPropertiesWorking()
437 when(mHardware.getForwardedStats(eq(ethernetIface))).thenReturn( in testGetForwardedStats()
439 when(mHardware.getForwardedStats(eq(mobileIface))).thenReturn( in testGetForwardedStats()
448 inOrder.verify(mHardware, never()).getForwardedStats(any()); in testGetForwardedStats()
[all …]
DOffloadHardwareInterfaceTest.java123 final OffloadHardwareInterface.ForwardedStats stats = mOffloadHw.getForwardedStats(RMNET0); in testGetForwardedStats()
124 verify(mIOffloadControl).getForwardedStats(eq(RMNET0), any()); in testGetForwardedStats()
DTetheringTest.java526 when(mOffloadHardwareInterface.getForwardedStats(any())).thenReturn(mForwardedStats); in setUp()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java350 public ForwardedStats getForwardedStats(String upstream) { in getForwardedStats() method in OffloadHardwareInterface
355 mOffloadControl.getForwardedStats( in getForwardedStats()
DOffloadController.java401 ForwardedStats diff = mHwInterface.getForwardedStats(iface); in maybeUpdateStats()