/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ScreenshotTestRule.java | 63 private void capture(String fileName) { in capture() method in ScreenshotTestRule 64 ScreenCapture screenCapture = Screenshot.capture(); in capture() 75 private void capture(Description description, String result) { in capture() method in ScreenshotTestRule 78 capture(fileName + "_" + result); in capture() 81 public void capture() { in capture() method in ScreenshotTestRule 82 capture(mClassName + "#" + mTestMethod); in capture() 99 capture(description, "failed"); in failed()
|
D | WindowInsetsBehaviorTests.java | 609 mScreenshotTestRule.capture(); in mandatorySystemGesture_excludeViewRects_withoutAnyCancel() 636 mScreenshotTestRule.capture(); in systemGesture_notExcludeViewRects_withoutAnyCancel() 661 mScreenshotTestRule.capture(); in tappableElements_tapSamplePoints_excludeViewRects_withoutAnyCancel() 683 mScreenshotTestRule.capture(); in tappableElements_tapSamplePoints_notExcludeViewRects_withoutAnyCancel()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiTest.java | 125 bitmapA = ccanvas.capture(Character.toChars(sComparedCodePoints[i][0])); in testEmojiGlyph() 126 bitmapB = ccanvas.capture(Character.toChars(sComparedCodePoints[i][1])); in testEmojiGlyph() 133 bitmapA = cviewA.capture(Character.toChars(sComparedCodePoints[i][0])); in testEmojiGlyph() 135 bitmapB = cviewB.capture(Character.toChars(sComparedCodePoints[i][1])); in testEmojiGlyph() 141 bitmapA = cedittextA.capture(Character.toChars(sComparedCodePoints[i][0])); in testEmojiGlyph() 143 bitmapB = cedittextB.capture(Character.toChars(sComparedCodePoints[i][1])); in testEmojiGlyph() 168 bitmapA = cwebview.capture(Character.toChars(sComparedCodePoints[i][0])); in testEmojiGlyphWebView() 169 bitmapB = cwebview.capture(Character.toChars(sComparedCodePoints[i][1])); in testEmojiGlyphWebView() 227 Bitmap capture(char c[]) { in capture() method in EmojiTest.CaptureCanvas 250 Bitmap capture(char c[]) { in capture() method in EmojiTest.CaptureTextView [all …]
|
D | MyanmarTest.java | 204 final Bitmap bitmapCorrect = CaptureTextView.capture(context, localeList, in isUnicodeRendersCorrectly() 206 final Bitmap bitmapWrong = CaptureTextView.capture(context, localeList, in isUnicodeRendersCorrectly() 213 final Bitmap bitmapCorrect = CaptureTextView.capture(context, localeList, in isZawgyiRendersCorrectly() 215 final Bitmap bitmapWrong = CaptureTextView.capture(context, localeList, in isZawgyiRendersCorrectly() 235 private Bitmap capture(String text) { in capture() method in MyanmarTest.CaptureTextView 250 static Bitmap capture(Context context, LocaleList localeList, String string) { in capture() method in MyanmarTest.CaptureTextView 253 return textView.capture(string); in capture()
|
/cts/tests/app/src/android/app/cts/ |
D | FragmentReceiveResultTest.java | 59 .onActivityResult(eq(10), eq(Activity.RESULT_OK), captor.capture()); in testStartActivityForResultOk() 71 .onActivityResult(eq(20), eq(Activity.RESULT_CANCELED), captor.capture()); in testStartActivityForResultCanceled() 83 .onActivityResult(eq(30), eq(Activity.RESULT_OK), captor.capture()); in testStartIntentSenderForResultOk() 95 .onActivityResult(eq(40), eq(Activity.RESULT_CANCELED), captor.capture()); in testStartIntentSenderForResultCanceled()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | IdleUidTest.java | 139 .times(1)).onOpened(captor.capture()); in assertCameraAccess() 144 .times(1)).onError(captor.capture(), in assertCameraAccess() 172 .times(1)).onOpened(captor.capture()); in testCameraAccessBecomingInactiveUidByCamera() 183 .times(1)).onError(captor.capture(), in testCameraAccessBecomingInactiveUidByCamera()
|
D | FastBasicsTest.java | 113 CaptureRequest capture = stillCaptureRequest.build(); in camera2TestByCamera() local 114 mSession.capture(capture, resultListener, mHandler); in camera2TestByCamera() 117 resultListener.getTotalCaptureResultForRequest(capture, FRAMES_TO_WAIT_FOR_CAPTURE); in camera2TestByCamera()
|
D | StillCaptureTest.java | 677 mSession.capture(request, resultListener, mHandler); in focalLengthTestByCamera() 715 mSession.capture(request, stillResultListener, mHandler); in previewPersistenceTestByCamera() 886 mSession.capture(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() 894 mSession.capture(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() 901 mSession.capture(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() 926 mSession.capture(request, resultListener, mHandler); in takePictureTestByCamera() 1022 mSession.capture(stillRequest.build(), resultListener, mHandler); in previewStillCombinationTestByCamera() 1062 mSession.capture(rawRequest, resultListener, mHandler); in rawCaptureTestByCamera() 1138 mSession.capture(multiRequest, resultListener, mHandler); in fullRawCaptureTestByCamera() 1321 mSession.capture(request, resultListener, mHandler); in stillExifTestByCamera() [all …]
|
D | SurfaceViewPreviewTest.java | 557 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 567 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 610 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 619 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 635 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 922 timestamps.capture(), in verifyCaptureResults() 923 frameNumbers.capture()); in verifyCaptureResults()
|
D | CameraManagerTest.java | 357 argument.capture(), in testCameraManagerOpenAllCameras() 437 .onOpened(argument.capture()); in verifyCameraStateOpened() 489 verify(mockSuccessListener, atLeastOnce()).onOpened(argument.capture()); in testCameraManagerOpenCameraTwice() 490 verify(mockSuccessListener, atLeastOnce()).onDisconnected(argument.capture()); in testCameraManagerOpenCameraTwice() 494 verify(mockFailListener, atLeastOnce()).onOpened(argument.capture()); in testCameraManagerOpenCameraTwice()
|
D | RobustnessTest.java | 138 session.capture(request.build(), captureListener, mHandler); in testBadSurfaceDimensions() 640 session.capture(builder.build(), inputCaptureListener, mHandler); in testMandatoryReprocessableStreamCombination() 787 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testBasicTriggerSequence() 819 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testBasicTriggerSequence() 926 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testSimultaneousTriggers() 1028 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testAfThenAeTrigger() 1036 mCameraSession.capture(triggerRequest2, captureListener, mHandler); in testAfThenAeTrigger() 1144 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testAeThenAfTrigger() 1152 mCameraSession.capture(triggerRequest2, captureListener, mHandler); in testAeThenAfTrigger() 1662 mCameraSession.capture(triggerRequest, captureListener, mHandler); in cancelTriggersAndWait()
|
D | LogicalCameraDeviceTest.java | 280 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 295 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 311 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 409 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicPhysicalRequests() 520 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), in testInvalidPhysicalCameraRequests() 544 mSession.capture(request, new SimpleCaptureCallback(), mHandler); in testInvalidPhysicalCameraRequests()
|
D | CameraDeviceTest.java | 470 session.capture(request2.build(), in testChainedOperation() 513 session.capture(request.build(), mCaptureCallback, mHandler); in testChainedOperation() 779 mSession.capture(request, captureListener, mHandler); in testCreateCustomSessionByCamera() 1184 mSession.capture(request, captureListener, mHandler); in testCreateSessionWithParametersByCamera() 1255 session.capture(request, captureListener, mHandler); in testCreateSessionsByCamera() 1330 mSession.capture(r.build(), null, null); in prepareTestByCamera() 1370 mSession.capture(r.build(), resultListener, mHandler); in prepareTestByCamera() 1476 mSession.capture(/*request*/null, /*listener*/null, mHandler); in invalidRequestCaptureTestByCamera() 1486 mSession.capture(unConfiguredRequest, /*listener*/null, mHandler); in invalidRequestCaptureTestByCamera() 1709 mSession.capture(singleRequest, resultCallback, mHandler); in captureSingleShot() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ChoreographerTest.java | 210 .doFrame(frameTimeNanosCaptor1.capture()); in testPostFrameCallbackWithoutDelay() 211 verify(addedFrameCallback2, times(1)).doFrame(frameTimeNanosCaptor2.capture()); in testPostFrameCallbackWithoutDelay() 227 .doFrame(frameTimeNanosCaptor1.capture()); in testPostFrameCallbackWithoutDelay() 228 verify(addedFrameCallback2, times(1)).doFrame(frameTimeNanosCaptor2.capture()); in testPostFrameCallbackWithoutDelay() 262 .doFrame(frameTimeNanosCaptor.capture()); in testPostFrameCallbackWithDelay()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator.java | 92 Bitmap capture = Bitmap.createBitmap(mWidth, mHeight, 94 mInPixelsAllocation.copyTo(capture); 95 mFirstFailures.put(totalFramesSeen, capture);
|
D | SurfacePixelValidator2.java | 82 Bitmap capture = Bitmap.wrapHardwareBuffer( 85 mFirstFailures.put(totalFramesSeen, capture);
|
/cts/tests/tests/content/src/android/content/cts/ |
D | DeferSyncTest.java | 124 extrasCaptor.capture(), any(), any(), any()); in deferSyncAndMakeSyncable() 150 extrasCaptor.capture(), any(), any(), any()); in deferSyncAndReportIsReady() 175 extrasCaptor.capture(), any(), any(), any()); in deferSyncAndReportIsReadyAlwaysSyncable() 199 extrasCaptor.capture(), any(), any(), any()); in onNewAccountForEachAccount()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTransitionTest.java | 285 verify(enterCallback).onSharedElementStart(names.capture(), views.capture(), in callStartEndWithSharedElements() 286 snapshots.capture()); in callStartEndWithSharedElements() 295 verify(enterCallback).onSharedElementEnd(names.capture(), views.capture(), in callStartEndWithSharedElements() 296 snapshots.capture()); in callStartEndWithSharedElements() 307 verify(enterCallback).onSharedElementStart(names.capture(), views.capture(), in callStartEndWithSharedElements() 308 snapshots.capture()); in callStartEndWithSharedElements() 317 verify(enterCallback).onSharedElementEnd(names.capture(), views.capture(), in callStartEndWithSharedElements() 318 snapshots.capture()); in callStartEndWithSharedElements()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionWrapperTest.java | 79 verify(inputConnection, times(1)).commitCompletion(completionInfoCaptor.capture()); in testInputConnectionWrapper() 87 verify(inputConnection, times(1)).commitCorrection(correctionInfoCaptor.capture()); in testInputConnectionWrapper() 134 verify(inputConnection, times(1)).sendKeyEvent(keyEventCaptor.capture()); in testInputConnectionWrapper()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | Camera2Focuser.java | 220 mSession.capture(requestBuilder.build(), listener, mHandler); in cancelAutoFocus() 257 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusLocked() 281 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | TransitionManagerTest.java | 66 verify(mListener, times(1)).onTransitionStart(transitionArgumentCaptor.capture()); in testBeginDelayedTransition() 159 verify(mListener, times(1)).onTransitionStart(transitionArgumentCaptor.capture()); in testGo() 208 verify(mListener, times(1)).onTransitionStart(transitionArgumentCaptor.capture()); in testSetTransition1() 247 verify(mListener, times(1)).onTransitionStart(transitionArgumentCaptor.capture()); in testSetTransition2()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 234 void onCaptureAvailable(Image capture, String physicalCameraId); in onCaptureAvailable() argument 1268 mSession.capture(req.build(), 1687 mSession.capture(inputReqest.build(), captureCallbackWaiter, mResultHandler); 1729 mSession.capture(req.build(), mCaptureResultListener, mResultHandler); 1771 public void onCaptureAvailable(Image capture, String physicalCameraId) { 1773 int format = capture.getFormat(); 1776 byte[] img = ItsUtils.getDataFromImage(capture, mSocketQueueQuota); 1782 byte[] img = ItsUtils.getDataFromImage(capture, mSocketQueueQuota); 1788 byte[] img = ItsUtils.getDataFromImage(capture, mSocketQueueQuota); 1795 byte[] img = ItsUtils.getDataFromImage(capture, mSocketQueueQuota); [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | EdgeEffectTests.java | 214 verify(canvas).drawCircle(anyFloat(), anyFloat(), anyFloat(), captor.capture()); in verifyAlpha() 220 verify(canvas).drawCircle(anyFloat(), anyFloat(), anyFloat(), captor.capture()); in verifyAlpha()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 311 protected void capture(String cameraId, CaptureRequest request, CaptureCallback listener) in capture() method in Camera2MultiViewTestCase 315 camera.capture(request, listener); in capture() 588 public void capture(CaptureRequest request, CaptureCallback listener) in capture() method in Camera2MultiViewTestCase.CameraHolder 590 mSession.capture(request, listener, mHandler); in capture()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 1456 camera_status_t capture(ACaptureRequest* request, in capture() function in PreviewTestCase 3250 for (intptr_t capture = 0; capture < NUM_TEST_IMAGES; capture++) { in nativeImageReaderTestBase() local 3252 ACaptureRequest_setUserContext(req, (void*) capture); in nativeImageReaderTestBase() 3254 ret = testCase.capture(req, &resultCb, &seqId); in nativeImageReaderTestBase() 3257 cameraId, capture, ret); in nativeImageReaderTestBase() 3260 if (capture == NUM_TEST_IMAGES - 1) { in nativeImageReaderTestBase() 3812 for (int capture = 0; capture < NUM_TEST_IMAGES; capture++) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative() local 3816 cameraId, capture, ret); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
|