Home
last modified time | relevance | path

Searched refs:isValid (Results 1 – 24 of 24) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DValidatorsTest.java65 doReturn(false).when(mValidValidator).isValid(mValueFinder); in testAnd_firstFailed()
67 .isValid(mValueFinder)).isFalse(); in testAnd_firstFailed()
68 verify(mValidValidator2, never()).isValid(mValueFinder); in testAnd_firstFailed()
73 doReturn(true).when(mValidValidator).isValid(mValueFinder); in testAnd_firstPassedSecondFailed()
74 doReturn(false).when(mValidValidator2).isValid(mValueFinder); in testAnd_firstPassedSecondFailed()
76 .isValid(mValueFinder)).isFalse(); in testAnd_firstPassedSecondFailed()
81 doReturn(true).when(mValidValidator).isValid(mValueFinder); in testAnd_AllPassed()
82 doReturn(true).when(mValidValidator2).isValid(mValueFinder); in testAnd_AllPassed()
84 .isValid(mValueFinder)).isTrue(); in testAnd_AllPassed()
103 doReturn(false).when(mValidValidator).isValid(mValueFinder); in testOr_AllFailed()
[all …]
DLuhnChecksumValidatorTest.java61 assertThat(validator.isValid(finder)).isTrue(); in duplicateFields()
65 assertThat(validator.isValid(finder)).isFalse(); in duplicateFields()
77 assertThat(validator.isValid(finder)).isTrue(); in leadingZerosAreIgnored()
80 assertThat(validator.isValid(finder)).isTrue(); in leadingZerosAreIgnored()
93 assertThat(validator.isValid(finder)).isEqualTo(i == 3); in onlyOneChecksumValid()
111 assertThat(validator.isValid(finder)).isFalse(); in nullAutofillValuesCauseFailure()
122 assertThat(validator.isValid(finder)).isTrue(); in nonDigits()
136 assertThat(validator.isValid(finder)).isTrue(); in multipleFieldNumber()
139 assertThat(validator.isValid(finder)).isFalse(); in multipleFieldNumber()
DRegexValidatorTest.java66 assertThat(validator.isValid(finder)).isFalse(); in unknownField()
78 assertThat(validator.isValid(finder)).isTrue(); in singleFieldValid()
81 assertThat(validator.isValid(finder)).isFalse(); in singleFieldValid()
94 assertThat(validator.isValid(finder)).isFalse(); in singleFieldInvalid()
DValidatorTest.java104 assertThat(validator.isValid(valueFinder)).isEqualTo(valid); in assertValidator()
/cts/tests/sensor/jni/
DSensorTest.h62 bool isValid() const { return mManager != nullptr; } in isValid() function
80 if (!isValid()) { in getType()
87 if (!isValid()) { in isDirectChannelTypeSupported()
94 if (!isValid()) { in getHighestDirectReportRateLevel()
102 bool isValid() const { return mSensor != nullptr; } in isValid() function
DSensorTest.cpp58 if (!isValid()) { in createDirectChannel()
91 if (!isValid()) { in destroyDirectChannel()
100 if (!isValid()) { in configureDirectReport()
DSensorTestCases.cpp25 ASSERT_TRUE(mManager->isValid()); in testInitialized()
151 if (!sensor.isValid() in testDirectReport()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerConfigActivityTest.java91 assertTrue(request.isValid()); in testCreateShortcutResultIntent_defaultLauncher()
103 assertTrue(request.isValid()); in testCreateShortcutResultIntent_defaultChanges()
114 assertFalse(request.isValid()); in testCreateShortcutResultIntent_noDefault()
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
DShortcutConfirmPin.java57 if (!request.isValid()) { in onCreate()
105 if (request.isValid()) { in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DNativeImageReaderTest.java52 assertTrue("Surface created is invalid.", surface.isValid()); in testCreateSurface()
DAdaptivePlaybackTest.java301 if (test.isValid(c)) { in ex()
341 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.EarlyEosTest
402 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.EosFlushSeekTest
458 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.ReconfigDrcTest
524 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.AdaptiveDrcTest
604 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.AdaptiveDrcEarlyEosTest
677 public boolean isValid(Codec c) {
1607 public boolean isValid(Codec c) { return true; }
DDecodeAccuracyTestBase.java861 while (SystemClock.elapsedRealtime() - start < timeOutMs && !getSurface().isValid()) { in waitForViewIsAvailable()
871 if (!getSurface().isValid()) { in waitForViewIsAvailable()
/cts/tests/tests/view/src/android/view/cts/
DSurfaceViewTest.java169 assertTrue(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching()
175 assertFalse(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching()
/cts/tests/tests/widget/src/android/widget/cts/
DMultiAutoCompleteTextViewTest.java141 when(validator.isValid(any(CharSequence.class))).thenReturn(true); in testPerformValidation()
159 when(validator.isValid(any(CharSequence.class))).thenReturn(false); in testPerformValidation()
DAutoCompleteTextViewTest.java104 public boolean isValid(CharSequence text) {
811 public boolean isValid(CharSequence text) { in isValid() method in AutoCompleteTextViewTest.MockValidator
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java358 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in testAbandonedHighSpeedRequest()
812 assertTrue("Preview surface should be valid", mPreviewSurface.isValid()); in startConstrainedPreview()
835 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSlowMotionRecording()
1505 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startRecording()
1553 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSharedRecording()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionService.java84 + Boolean.toString(surface.isValid())); in startRendering()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java198 assertTrue("display must be valid", display.isValid()); in assertDisplayRegistered()
226 assertFalse("display must no longer be valid", display.isValid()); in assertDisplayUnregistered()
/cts/tests/tests/libcorefileio/src/android/cts/
DFileChannelInterProcessLockTest.java437 assertTrue(fileLock.isValid()); in checkTryLockBehavior()
526 assertTrue(fileLock.isValid()); in checkLockBehavior()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java300 if (!surface.isValid()) return; in draw()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java656 assertTrue("Preview surface is invalid", mPreviewSurface.isValid()); in updatePreviewSurface()
/cts/tests/tests/security/src/android/security/cts/
DSSLConscryptPlainTextExposureTest.java626 if (!key.isValid()) { in runServer()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java973 public boolean isValid() { in isValid() method in RVCVXCheckAnalyzer.VideoDecoderForOpenCV
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...