Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java83 private ControlCallback mControlCallback;
86 public static class ControlCallback { class in OffloadHardwareInterface
298 public boolean initOffloadControl(ControlCallback controlCb) { in initOffloadControl()
495 public final ControlCallback controlCb;
498 TetheringOffloadCallback(Handler h, ControlCallback cb, SharedLog sharedLog) { in TetheringOffloadCallback()
DOffloadController.java186 new OffloadHardwareInterface.ControlCallback() { in start()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java118 private final ArgumentCaptor<OffloadHardwareInterface.ControlCallback> mControlCallbackCaptor =
119 ArgumentCaptor.forClass(OffloadHardwareInterface.ControlCallback.class);
194 any(OffloadHardwareInterface.ControlCallback.class)); in testNoSettingsValueDefaultDisabledDoesNotStart()
212 any(OffloadHardwareInterface.ControlCallback.class)); in testNoSettingsValueDefaultEnabledDoesStart()
228 any(OffloadHardwareInterface.ControlCallback.class)); in testSettingsAllowsStart()
259 any(OffloadHardwareInterface.ControlCallback.class)); in testSetUpstreamLinkPropertiesWorking()
590 OffloadHardwareInterface.ControlCallback callback = mControlCallbackCaptor.getValue(); in testDataLimitCallback()
606 any(OffloadHardwareInterface.ControlCallback.class)); in testAddRemoveDownstreams()
689 OffloadHardwareInterface.ControlCallback callback = mControlCallbackCaptor.getValue(); in testControlCallbackOnStoppedUnsupportedFetchesAllStats()
755 OffloadHardwareInterface.ControlCallback callback = mControlCallbackCaptor.getValue(); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters()
DOffloadHardwareInterfaceTest.java71 private OffloadHardwareInterface.ControlCallback mControlCallback;
108 mControlCallback = spy(new OffloadHardwareInterface.ControlCallback()); in setUp()