/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | ValidatorsTest.java | 65 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 …]
|
D | LuhnChecksumValidatorTest.java | 62 assertThat(validator.isValid(finder)).isTrue(); in duplicateFields() 66 assertThat(validator.isValid(finder)).isFalse(); in duplicateFields() 78 assertThat(validator.isValid(finder)).isTrue(); in leadingZerosAreIgnored() 81 assertThat(validator.isValid(finder)).isTrue(); in leadingZerosAreIgnored() 94 assertThat(validator.isValid(finder)).isEqualTo(i == 3); in onlyOneChecksumValid() 112 assertThat(validator.isValid(finder)).isFalse(); in nullAutofillValuesCauseFailure() 123 assertThat(validator.isValid(finder)).isTrue(); in nonDigits() 137 assertThat(validator.isValid(finder)).isTrue(); in multipleFieldNumber() 140 assertThat(validator.isValid(finder)).isFalse(); in multipleFieldNumber()
|
D | RegexValidatorTest.java | 67 assertThat(validator.isValid(finder)).isFalse(); in unknownField() 79 assertThat(validator.isValid(finder)).isTrue(); in singleFieldValid() 82 assertThat(validator.isValid(finder)).isFalse(); in singleFieldValid() 95 assertThat(validator.isValid(finder)).isFalse(); in singleFieldInvalid()
|
D | ValidatorTest.java | 95 assertThat(validator.isValid(valueFinder)).isEqualTo(valid); in assertValidator()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | ModemActivityInfoTest.java | 45 assertTrue("ModemActivityInfo should be valid", modemActivityInfo.isValid()); in testModemActivityInfoIsValid() 50 modemActivityInfo.isValid()); in testModemActivityInfoIsValid() 55 modemActivityInfo.isValid()); in testModemActivityInfoIsValid() 60 modemActivityInfo.isValid()); in testModemActivityInfoIsValid() 65 modemActivityInfo.isValid()); in testModemActivityInfoIsValid()
|
/cts/tests/sensor/jni/ |
D | SensorTest.h | 62 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
|
D | SensorTest.cpp | 58 if (!isValid()) { in createDirectChannel() 91 if (!isValid()) { in destroyDirectChannel() 100 if (!isValid()) { in configureDirectReport()
|
D | SensorTestCases.cpp | 25 ASSERT_TRUE(mManager->isValid()); in testInitialized() 151 if (!sensor.isValid() in testDirectReport()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ProxyInfoTest.java | 107 assertTrue(proxy1.isValid()); in testIsValid() 111 assertFalse(proxy2.isValid()); in testIsValid() 114 assertFalse(proxy3.isValid()); in testIsValid() 117 assertFalse(proxy4.isValid()); in testIsValid() 120 assertFalse(proxy5.isValid()); in testIsValid() 126 assertFalse(proxy6.isValid()); in testIsValid()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 91 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/ |
D | ShortcutConfirmPin.java | 57 if (!request.isValid()) { in onCreate() 105 if (request.isValid()) { in onCreate()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewTest.java | 169 assertTrue(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching() 175 assertFalse(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching()
|
D | SurfaceControlTest.java | 95 assertTrue(sc.isValid()); in testLifecycle() 97 assertFalse(sc.isValid()); in testLifecycle()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | NativeImageReaderTest.java | 52 assertTrue("Surface created is invalid.", surface.isValid()); in testCreateSurface()
|
D | AdaptivePlaybackTest.java | 351 if (test.isValid(c)) { in ex() 391 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.EarlyEosTest 452 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.EosFlushSeekTest 508 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.ReconfigDrcTest 574 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.AdaptiveDrcTest 654 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.AdaptiveDrcEarlyEosTest 727 public boolean isValid(Codec c) { 1690 public boolean isValid(Codec c) { return true; }
|
D | DecodeAccuracyTestBase.java | 858 while (SystemClock.elapsedRealtime() - start < timeOutMs && !getSurface().isValid()) { in waitForViewIsAvailable() 868 if (!getSurface().isValid()) { in waitForViewIsAvailable()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 406 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in testAbandonedHighSpeedRequest() 866 assertTrue("Preview surface should be valid", mPreviewSurface.isValid()); in startConstrainedPreview() 893 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSlowMotionRecording() 1624 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startRecording() 1686 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSharedRecording()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextViewTest.java | 142 when(validator.isValid(any(CharSequence.class))).thenReturn(true); in testPerformValidation() 160 when(validator.isValid(any(CharSequence.class))).thenReturn(false); in testPerformValidation()
|
D | AutoCompleteTextViewTest.java | 117 public boolean isValid(CharSequence text) { 1069 public boolean isValid(CharSequence text) { in isValid() method in AutoCompleteTextViewTest.MockValidator
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 198 assertTrue("display must be valid", display.isValid()); in assertDisplayRegistered() 226 assertFalse("display must no longer be valid", display.isValid()); in assertDisplayUnregistered()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionService.java | 84 + Boolean.toString(surface.isValid())); in startRendering()
|
/cts/tests/tests/libcorefileio/src/android/cts/ |
D | FileChannelInterProcessLockTest.java | 436 assertTrue(fileLock.isValid()); in checkTryLockBehavior() 525 assertTrue(fileLock.isValid()); in checkLockBehavior()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | MockTvInputService.java | 300 if (!surface.isValid()) return; in draw()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecEncoderSurfaceTest.java | 216 assertTrue("Surface is not valid", mSurface.isValid()); in configureCodec()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 711 assertTrue("Preview surface is invalid", mPreviewSurface.isValid()); in updatePreviewSurface()
|