/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
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()
|
/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/telephony/current/src/android/telephony/cts/ |
D | ModemActivityInfoTest.java | 56 assertTrue("ModemActivityInfo should be valid", modemActivityInfo.isValid()); in testModemActivityInfoIsValid() 61 modemActivityInfo.isValid()); in testModemActivityInfoIsValid() 66 modemActivityInfo.isValid()); in testModemActivityInfoIsValid() 71 modemActivityInfo.isValid()); in testModemActivityInfoIsValid() 76 modemActivityInfo.isValid()); in testModemActivityInfoIsValid()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 111 assertTrue(request.isValid()); in testCreateShortcutResultIntent_defaultLauncher() 123 assertTrue(request.isValid()); in testCreateShortcutResultIntent_defaultChanges() 134 assertFalse(request.isValid()); in testCreateShortcutResultIntent_noDefault()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_FrameRateCtsActivity.cpp | 112 bool isValid() const { return mBuffer != nullptr; } in isValid() function in __anonb7bd83a40111::Buffer 147 bool isValid() const { return mSurface != nullptr; } in isValid() function in __anonb7bd83a40111::Surface 195 if (!surface->isValid()) { in surfaceControlCreate() 244 if (!buffer.isValid()) { in surfaceControlPostBuffer()
|
/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/tests/media/src/android/media/cts/ |
D | NativeImageReaderTest.java | 52 assertTrue("Surface created is invalid.", surface.isValid()); in testCreateSurface()
|
D | AdaptivePlaybackTest.java | 344 if (test.isValid(c)) { in ex() 384 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.EarlyEosTest 445 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.EosFlushSeekTest 507 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.ReconfigDrcTest 573 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.AdaptiveDrcTest 656 public boolean isValid(Codec c) { in isValid() method in AdaptivePlaybackTest.AdaptiveDrcEarlyEosTest 730 public boolean isValid(Codec c) { 1735 public boolean isValid(Codec c) { return true; }
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewTest.java | 171 assertTrue(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching() 177 assertFalse(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching()
|
D | SurfaceControlTest.java | 95 assertTrue(sc.isValid()); in testLifecycle() 97 assertFalse(sc.isValid()); in testLifecycle()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | ValidatorTest.java | 97 assertThat(validator.isValid(valueFinder)).isEqualTo(valid); in assertValidator()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecDecoderPerformanceTestBase.java | 85 assertTrue("Surface created is invalid.", mSurface.isValid()); in decode()
|
D | CodecEncoderPerformanceTestBase.java | 178 assertTrue("Surface is not valid", mSurface.isValid()); in encode()
|
/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()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionService.java | 84 + Boolean.toString(surface.isValid())); in startRendering()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 434 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in testAbandonedHighSpeedRequest() 1016 assertTrue("Preview surface should be valid", mPreviewSurface.isValid()); in startConstrainedPreview() 1043 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSlowMotionRecording() 1910 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startRecording() 1972 mPreviewSurface.isValid() && mRecordingSurface.isValid()); in startSharedRecording()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | MultiTranscoderPerfTest.java | 128 assertTrue("Surface created is invalid.", surface.isValid()); in test720p()
|
D | CodecTranscoderTestBase.java | 120 assertTrue("Surface is not valid", mSurface.isValid()); in configureCodec() 437 assertTrue("Surface is not valid", mSurface.isValid()); in configureCodec()
|
D | FrameDropTestBase.java | 169 assertTrue("Surface created is invalid.", mSurface.isValid()); in createSurface()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 315 assertTrue("display must be valid", display.isValid()); in assertDisplayRegistered() 343 assertFalse("display must no longer be valid", display.isValid()); in assertDisplayUnregistered()
|
/cts/tests/tests/libcorefileio/src/android/cts/ |
D | FileChannelInterProcessLockTest.java | 436 assertTrue(fileLock.isValid()); in checkTryLockBehavior() 525 assertTrue(fileLock.isValid()); in checkLockBehavior()
|