@Test @SmallTest public void testOnConstraintChanged_noMatchingWorkSpecs() { mTestIdleController.onConstraintChanged(true); verifyZeroInteractions(mCallback); }
@Override public void onConstraintChanged(@Nullable T newValue) { mCurrentValue = newValue; updateCallback(); }
ConstraintController implements ConstraintListener<T> { @Override public void onConstraintChanged(@Nullable T newValue) { mCurrentValue = newValue; updateCallback(); } }
ConstraintController implements ConstraintListener<T> { @Override public void onConstraintChanged(@Nullable T newValue) { mCurrentValue = newValue; updateCallback(); } ConstraintController(ConstraintTracker<T> tracker, OnConstraintUpdatedCallback callback); }
ConstraintController implements ConstraintListener<T> { @Override public void onConstraintChanged(@Nullable T newValue) { mCurrentValue = newValue; updateCallback(); } ConstraintController(ConstraintTracker<T> tracker, OnConstraintUpdatedCallback callback); void replace(@NonNull List<WorkSpec> workSpecs); void reset(); boolean isWorkSpecConstrained(@NonNull String workSpecId); @Override void onConstraintChanged(@Nullable T newValue); }
ConstraintController implements ConstraintListener<T> { @Override public void onConstraintChanged(@Nullable T newValue) { mCurrentValue = newValue; updateCallback(); } ConstraintController(ConstraintTracker<T> tracker, OnConstraintUpdatedCallback callback); void replace(@NonNull List<WorkSpec> workSpecs); void reset(); boolean isWorkSpecConstrained(@NonNull String workSpecId); @Override void onConstraintChanged(@Nullable T newValue);  }