Searched refs:Validator (Results 1 – 11 of 11) sorted by relevance
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | CustomDescriptionUnitTest.java | 27 import android.service.autofill.Validator; 42 private final Validator mValidCondition = mock(InternalValidator.class); 69 () -> mBuilder.batchUpdate(mock(Validator.class), mValidUpdate)); in testBatchUpdate_invalidCondition()
|
D | ValidatorsTest.java | 32 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()
|
D | CustomDescriptionTest.java | 33 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()
|
D | CannedFillResponse.java | 33 import android.service.autofill.Validator; 69 private final Validator mValidator; 262 private Validator mValidator; 302 public Builder setValidator(Validator validator) { in setValidator()
|
D | PreSimpleSaveActivityTest.java | 35 import android.service.autofill.Validator; 362 Validator validCondition = new RegexValidator(mActivity.mPreInput.getAutofillId(), in tapLinkAfterUpdateAppliedTest()
|
D | SimpleSaveActivityTest.java | 50 import android.service.autofill.Validator; 1213 Validator validCondition = new RegexValidator(mActivity.mInput.getAutofillId(), in tapLinkAfterUpdateAppliedTest()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_utils.cpp | 143 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()
|
D | native_media_encoder_jni.cpp | 180 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()
|
D | native_media_utils.h | 197 struct Validator { struct
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextViewTest.java | 140 final AutoCompleteTextView.Validator validator = mock(AutoCompleteTextView.Validator.class); in testPerformValidation()
|
D | AutoCompleteTextViewTest.java | 66 import android.widget.AutoCompleteTextView.Validator; 99 private final Validator mValidator = new Validator() { 806 private class MockValidator implements AutoCompleteTextView.Validator {
|