Home
last modified time | relevance | path

Searched refs:OffloadHardwareInterface (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadHardwareInterfaceTest.java69 private OffloadHardwareInterface mOffloadHw;
71 private OffloadHardwareInterface.ControlCallback mControlCallback;
81 class MyDependencies extends OffloadHardwareInterface.Dependencies {
106 mOffloadHw = new OffloadHardwareInterface(new Handler(mTestLooper.getLooper()), log, in setUp()
108 mControlCallback = spy(new OffloadHardwareInterface.ControlCallback()); in setUp()
123 final OffloadHardwareInterface.ForwardedStats stats = mOffloadHw.getForwardedStats(RMNET0); in testGetForwardedStats()
DOffloadControllerTest.java31 import static com.android.networkstack.tethering.OffloadHardwareInterface.ForwardedStats;
108 @Mock private OffloadHardwareInterface mHardware;
118 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()
[all …]
DTetheringTest.java190 @Mock private OffloadHardwareInterface mOffloadHardwareInterface;
191 @Mock private OffloadHardwareInterface.ForwardedStats mForwardedStats;
355 public OffloadHardwareInterface getOffloadHardwareInterface(Handler h, SharedLog log) { in getOffloadHardwareInterface()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringDependencies.java56 public OffloadHardwareInterface getOffloadHardwareInterface(Handler h, SharedLog log) { in getOffloadHardwareInterface()
57 return new OffloadHardwareInterface(h, log); in getOffloadHardwareInterface()
DOffloadHardwareInterface.java58 public class OffloadHardwareInterface { class
59 private static final String TAG = OffloadHardwareInterface.class.getSimpleName();
140 public OffloadHardwareInterface(Handler h, SharedLog log) { in OffloadHardwareInterface() method in OffloadHardwareInterface
144 OffloadHardwareInterface(Handler h, SharedLog log, Dependencies deps) { in OffloadHardwareInterface() method in OffloadHardwareInterface
DOffloadController.java56 import com.android.networkstack.tethering.OffloadHardwareInterface.ForwardedStats;
92 private final OffloadHardwareInterface mHwInterface;
143 public OffloadController(Handler h, OffloadHardwareInterface hwi, in OffloadController()
186 new OffloadHardwareInterface.ControlCallback() { in start()
/frameworks/base/services/
Dart-profile5676 …(Landroid/os/Handler;Lcom/android/server/connectivity/tethering/OffloadHardwareInterface;Landroid/…
5681 HSPLcom/android/server/connectivity/tethering/OffloadHardwareInterface$ForwardedStats;-><init>()V
5682 PLcom/android/server/connectivity/tethering/OffloadHardwareInterface;->getDefaultTetherOffloadDisab…
5702 …r;Landroid/net/util/SharedLog;)Lcom/android/server/connectivity/tethering/OffloadHardwareInterface;
18944 Lcom/android/server/connectivity/tethering/OffloadHardwareInterface$ForwardedStats;
18945 Lcom/android/server/connectivity/tethering/OffloadHardwareInterface;