Searched refs:OffloadController (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 29 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 …]
|
D | TetheringTest.java | 230 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/ |
D | TetheringDependencies.java | 64 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()
|
D | OffloadController.java | 77 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
|
D | Tethering.java | 220 private final OffloadController mOffloadController; 281 new OffloadController.Dependencies() { in Tethering()
|