/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() 153 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/virtualdevice/core/src/android/virtualdevice/cts/core/ |
D | VirtualDisplayTest.java | 103 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_defaultVirtualDisplayFlags() 116 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_defaultVirtualDisplayFlags_compat() 176 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_public_createsMirrorDisplay() 190 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_autoMirror_createsMirrorDisplay() 205 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_publicAutoMirror_createsMirrorDisplay() 220 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_ownContentOnly_doesNotCreateMirrorDisplay() 235 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_autoMirrorAndOwnContentOnly_doesNotCreateMirrorDisplay() 364 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_trustedDisplay_shouldSpecifyOwnFocusFlag() 390 assertThat(display.isValid()).isTrue(); in createVirtualDisplay_alwaysUnlocked_shouldSpecifyAlwaysUnlockedFlag() 472 assertThat(display.isValid()).isFalse(); in createAndRelease_isInvalidForReleasedDisplay() [all …]
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaStubActivity.java | 97 while (!surface.isValid() && (SystemClock.elapsedRealtime() - start) < waitTimeMs) { in waitTillSurfaceHolderIsCreated() 103 if (!surface.isValid()) { in waitTillSurfaceHolderIsCreated() 119 if (surface.isValid()) { in getSurface()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 115 assertTrue(request.isValid()); in testCreateShortcutResultIntent_defaultLauncher() 127 assertTrue(request.isValid()); in testCreateShortcutResultIntent_defaultChanges() 138 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/tests/graphics/src/android/graphics/cts/ |
D | EGL15Test.java | 216 if (!nativeFence.isValid()) { in testEGL15AndroidNativeFence() 223 assertTrue(nativeFence.isValid()); in testEGL15AndroidNativeFence() 244 assertFalse(nativeFence.isValid()); in testEGL15AndroidNativeFence() 269 if (!nativeFence.isValid()) { in testEGL15AndroidNativeFenceWithAwaitDuration() 276 assertTrue(nativeFence.isValid()); in testEGL15AndroidNativeFenceWithAwaitDuration() 297 assertFalse(nativeFence.isValid()); in testEGL15AndroidNativeFenceWithAwaitDuration()
|
D | ANativeWindowTest.java | 261 assertTrue(outSurface.isValid()); in testWriteToParcel() 279 assertTrue(outSurface.isValid()); in testReadFromParcel() 297 assertTrue(outSurface.isValid()); in testWriteReadFromParcel()
|
/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 208 if (!surface->isValid()) { in surfaceControlCreate() 271 if (!buffer.isValid()) { in surfaceControlPostBuffer()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceViewTest.java | 169 assertTrue(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching() 175 assertFalse(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching() 190 assertTrue(mMockSurfaceView.mSurface.isValid()); in testSurfaceRemainsValidWhileCanvasLocked()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | NativeImageReaderTest.java | 55 assertTrue("Surface created is invalid.", surface.isValid()); in testCreateSurface()
|
/cts/libs/hardware/src/com/android/cts/hardware/ |
D | SyncFenceUtil.java | 129 if (!nativeFence.isValid()) { in createUselessFence() 136 assertTrue(nativeFence.isValid()); in createUselessFence()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | AudioDeviceUtils.java | 307 boolean isValid = usbDevice != null in isUsbHeadsetValidForTest() 311 if (!isValid && displayWarning) { in isUsbHeadsetValidForTest() 316 return isValid; in isUsbHeadsetValidForTest()
|
/cts/hostsidetests/systemui/app/src/android/systemui/cts/ |
D | TestTileService.java | 132 private void handleSetPendingIntent(boolean isValid) { in handleSetPendingIntent() argument 134 super.getQsTile().setActivityLaunchForClick(isValid ? getValidPendingIntent() : null); in handleSetPendingIntent()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | ValidatorTest.java | 97 assertThat(validator.isValid(valueFinder)).isEqualTo(valid); in assertValidator()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | KeyguardWeakEscrowTokenTest.java | 101 boolean isValid = mKeyguardManager.isWeakEscrowTokenValid(handle, mTestToken1, in testAddWeakEscrowToken_noCredentialSetUp_tokenActivatedImmediately() 105 assertThat(isValid).isTrue(); in testAddWeakEscrowToken_noCredentialSetUp_tokenActivatedImmediately()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecDecoderPerformanceTestBase.java | 85 assertTrue("Surface created is invalid.", mSurface.isValid()); in decode()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/view/ |
D | SurfaceControlHelperTest.java | 80 assertThat(mirror.isValid()).isTrue(); in testMirrorSurface()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextViewTest.java | 151 when(validator.isValid(any(CharSequence.class))).thenReturn(true); in testPerformValidation() 169 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()
|