Home
last modified time | relevance | path

Searched refs:Validator (Results 1 – 11 of 11) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DCustomDescriptionUnitTest.java27 import android.service.autofill.Validator;
42 private final Validator mValidCondition = mock(InternalValidator.class);
69 () -> mBuilder.batchUpdate(mock(Validator.class), mValidUpdate)); in testBatchUpdate_invalidCondition()
DValidatorsTest.java32 import android.service.autofill.Validator;
44 @Mock private Validator mInvalidValidator;
51 assertThrows(NullPointerException.class, () -> and((Validator) null)); in testAnd_null()
89 assertThrows(NullPointerException.class, () -> or((Validator) null)); in testOr_null()
DCustomDescriptionTest.java33 import android.service.autofill.Validator;
138 Validator condition = new RegexValidator(usernameId, Pattern.compile(".*")); in validTransformationWithOneTemplateUpdate()
163 Validator validCondition = new RegexValidator(usernameId, Pattern.compile(".*")); in validTransformationWithMultipleTemplateUpdates()
164 Validator invalidCondition = new RegexValidator(usernameId, Pattern.compile("D'OH")); in validTransformationWithMultipleTemplateUpdates()
259 Validator validCondition = new RegexValidator(usernameId, Pattern.compile(".*")); in multipleBatchUpdatesTest()
260 Validator invalidCondition = new RegexValidator(usernameId, Pattern.compile("D'OH")); in multipleBatchUpdatesTest()
309 Validator validCondition = new RegexValidator(usernameId, Pattern.compile(".*")); in testBatchUpdatesApplyUpdateFirstThenTransformations()
DCannedFillResponse.java33 import android.service.autofill.Validator;
69 private final Validator mValidator;
262 private Validator mValidator;
302 public Builder setValidator(Validator validator) { in setValidator()
DPreSimpleSaveActivityTest.java35 import android.service.autofill.Validator;
362 Validator validCondition = new RegexValidator(mActivity.mPreInput.getAutofillId(), in tapLinkAfterUpdateAppliedTest()
DSimpleSaveActivityTest.java50 import android.service.autofill.Validator;
1213 Validator validCondition = new RegexValidator(mActivity.mInput.getAutofillId(), in tapLinkAfterUpdateAppliedTest()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.cpp143 Status Validator::checkOverallBitrate(const Stats &stats, const RunConfig& config) { in checkOverallBitrate()
176 Status Validator::checkFramerate(const Stats&, const RunConfig&) { in checkFramerate()
181 Status Validator::checkIntraPeriod(const Stats& stats, const RunConfig& config) { in checkIntraPeriod()
239 Status Validator::checkDynamicKeyFrames(const Stats& stats, const RunConfig& config) { in checkDynamicKeyFrames()
266 Status Validator::checkDynamicBitrate(const Stats& stats, const RunConfig& config) { in checkDynamicBitrate()
Dnative_media_encoder_jni.cpp180 if (Validator::checkOverallBitrate(mStats, *mRunConfig) != OK) { in validate()
184 if (Validator::checkIntraPeriod(mStats, *mRunConfig) != OK) { in validate()
188 if (Validator::checkDynamicKeyFrames(mStats, *mRunConfig) != OK) { in validate()
192 if (Validator::checkDynamicBitrate(mStats, *mRunConfig) != OK) { in validate()
Dnative_media_utils.h197 struct Validator { struct
/cts/tests/tests/widget/src/android/widget/cts/
DMultiAutoCompleteTextViewTest.java140 final AutoCompleteTextView.Validator validator = mock(AutoCompleteTextView.Validator.class); in testPerformValidation()
DAutoCompleteTextViewTest.java66 import android.widget.AutoCompleteTextView.Validator;
99 private final Validator mValidator = new Validator() {
806 private class MockValidator implements AutoCompleteTextView.Validator {