Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java29 import static com.android.networkstack.tethering.OffloadController.StatsType.STATS_PER_IFACE;
30 import static com.android.networkstack.tethering.OffloadController.StatsType.STATS_PER_UID;
115 private OffloadController.OffloadTetheringStatsProvider mTetherStatsProvider;
122 private OffloadController.Dependencies mDeps = new OffloadController.Dependencies() {
165 private OffloadController makeOffloadController() throws Exception { in makeOffloadController()
166 OffloadController offload = new OffloadController(new Handler(mTestLooper.getLooper()), in makeOffloadController()
168 final ArgumentCaptor<OffloadController.OffloadTetheringStatsProvider> in makeOffloadController()
170 ArgumentCaptor.forClass(OffloadController.OffloadTetheringStatsProvider.class); in makeOffloadController()
187 final OffloadController offload = makeOffloadController(); in testNoSettingsValueDefaultDisabledDoesNotStart()
205 final OffloadController offload = makeOffloadController(); in testNoSettingsValueDefaultEnabledDoesStart()
[all …]
DTetheringTest.java230 private OffloadController mOffloadCtrl;
360 public OffloadController getOffloadController(Handler h, SharedLog log, in getOffloadController()
361 OffloadController.Dependencies deps) { in getOffloadController()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringDependencies.java64 public OffloadController getOffloadController(@NonNull Handler h, in getOffloadController()
65 @NonNull SharedLog log, @NonNull OffloadController.Dependencies deps) { in getOffloadController()
68 return new OffloadController(h, getOffloadHardwareInterface(h, log), in getOffloadController()
DOffloadController.java77 public class OffloadController { class
78 private static final String TAG = OffloadController.class.getSimpleName();
143 public OffloadController(Handler h, OffloadHardwareInterface hwi, in OffloadController() method in OffloadController
DTethering.java220 private final OffloadController mOffloadController;
281 new OffloadController.Dependencies() { in Tethering()