Home
last modified time | relevance | path

Searched refs:mControlCallback (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadHardwareInterfaceTest.java71 private OffloadHardwareInterface.ControlCallback mControlCallback; field in OffloadHardwareInterfaceTest
108 mControlCallback = spy(new OffloadHardwareInterface.ControlCallback()); in setUp()
113 mOffloadHw.initOffloadControl(mControlCallback); in startOffloadHardwareInterface()
183 verify(mControlCallback).onStarted(); in testTetheringOffloadCallback()
187 verify(mControlCallback).onStoppedError(); in testTetheringOffloadCallback()
191 verify(mControlCallback).onStoppedUnsupported(); in testTetheringOffloadCallback()
195 verify(mControlCallback).onSupportAvailable(); in testTetheringOffloadCallback()
199 verify(mControlCallback).onStoppedLimitReached(); in testTetheringOffloadCallback()
204 verify(mControlCallback).onNatTimeoutUpdate(eq(OsConstants.IPPROTO_TCP), in testTetheringOffloadCallback()
213 verify(mControlCallback).onNatTimeoutUpdate(eq(OsConstants.IPPROTO_UDP), in testTetheringOffloadCallback()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java83 private ControlCallback mControlCallback; field in OffloadHardwareInterface
299 mControlCallback = controlCb; in initOffloadControl()
313 mTetheringOffloadCallback = new TetheringOffloadCallback(mHandler, mControlCallback, mLog); in initOffloadControl()
345 mControlCallback = null; in stopOffloadControl()