@Test public void testReset() { mWorkConstraintsTracker.reset(); verify(mMockController).reset(); }
public void reset() { for (ConstraintController controller : mConstraintControllers) { controller.reset(); } }
WorkConstraintsTracker implements ConstraintController.OnConstraintUpdatedCallback { public void reset() { for (ConstraintController controller : mConstraintControllers) { controller.reset(); } } }
WorkConstraintsTracker implements ConstraintController.OnConstraintUpdatedCallback { public void reset() { for (ConstraintController controller : mConstraintControllers) { controller.reset(); } } WorkConstraintsTracker(Context context, @Nullable WorkConstraintsCallback callback); @VisibleForTesting  WorkConstraintsTracker(
            @Nullable WorkConstraintsCallback callback,
            ConstraintController[] controllers); }
WorkConstraintsTracker implements ConstraintController.OnConstraintUpdatedCallback { public void reset() { for (ConstraintController controller : mConstraintControllers) { controller.reset(); } } WorkConstraintsTracker(Context context, @Nullable WorkConstraintsCallback callback); @VisibleForTesting  WorkConstraintsTracker(
            @Nullable WorkConstraintsCallback callback,
            ConstraintController[] controllers); void replace(@NonNull List<WorkSpec> workSpecs); void reset(); boolean areAllConstraintsMet(@NonNull String workSpecId); @Override void onConstraintMet(@NonNull List<String> workSpecIds); @Override void onConstraintNotMet(@NonNull List<String> workSpecIds); }
WorkConstraintsTracker implements ConstraintController.OnConstraintUpdatedCallback { public void reset() { for (ConstraintController controller : mConstraintControllers) { controller.reset(); } } WorkConstraintsTracker(Context context, @Nullable WorkConstraintsCallback callback); @VisibleForTesting  WorkConstraintsTracker(
            @Nullable WorkConstraintsCallback callback,
            ConstraintController[] controllers); void replace(@NonNull List<WorkSpec> workSpecs); void reset(); boolean areAllConstraintsMet(@NonNull String workSpecId); @Override void onConstraintMet(@NonNull List<String> workSpecIds); @Override void onConstraintNotMet(@NonNull List<String> workSpecIds);  }