/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 | 548 mScreenshotTestRule.capture(); in mandatorySystemGesture_excludeViewRects_withoutAnyCancel() 571 mScreenshotTestRule.capture(); in systemGesture_notExcludeViewRects_withoutAnyCancel() 593 mScreenshotTestRule.capture(); in tappableElements_tapSamplePoints_excludeViewRects_withoutAnyCancel() 615 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 | 171 final Bitmap bitmapCorrect = CaptureTextView.capture(context, localeList, in isZawgyiRendersCorrectly() 173 final Bitmap bitmapWrong = CaptureTextView.capture(context, localeList, in isZawgyiRendersCorrectly() 193 private Bitmap capture(String text) { in capture() method in MyanmarTest.CaptureTextView 208 static Bitmap capture(Context context, LocaleList localeList, String string) { in capture() method in MyanmarTest.CaptureTextView 211 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 | SurfaceViewPreviewTest.java | 551 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 561 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 604 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 613 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 629 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 916 timestamps.capture(), in verifyCaptureResults() 917 frameNumbers.capture()); in verifyCaptureResults()
|
D | StillCaptureTest.java | 644 mSession.capture(request, resultListener, mHandler); in focalLengthTestByCamera() 682 mSession.capture(request, stillResultListener, mHandler); in previewPersistenceTestByCamera() 853 mSession.capture(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() 861 mSession.capture(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() 868 mSession.capture(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() 893 mSession.capture(request, resultListener, mHandler); in takePictureTestByCamera() 989 mSession.capture(stillRequest.build(), resultListener, mHandler); in previewStillCombinationTestByCamera() 1026 mSession.capture(rawRequest, resultListener, mHandler); in rawCaptureTestByCamera() 1102 mSession.capture(multiRequest, resultListener, mHandler); in fullRawCaptureTestByCamera() 1285 mSession.capture(request, resultListener, mHandler); in stillExifTestByCamera() [all …]
|
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() 635 session.capture(builder.build(), inputCaptureListener, mHandler); in testMandatoryReprocessableStreamCombination() 782 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testBasicTriggerSequence() 814 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testBasicTriggerSequence() 921 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testSimultaneousTriggers() 1023 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testAfThenAeTrigger() 1031 mCameraSession.capture(triggerRequest2, captureListener, mHandler); in testAfThenAeTrigger() 1139 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testAeThenAfTrigger() 1147 mCameraSession.capture(triggerRequest2, captureListener, mHandler); in testAeThenAfTrigger() 1657 mCameraSession.capture(triggerRequest, captureListener, mHandler); in cancelTriggersAndWait()
|
D | LogicalCameraDeviceTest.java | 279 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 294 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 310 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 408 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicPhysicalRequests() 519 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), in testInvalidPhysicalCameraRequests() 543 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/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/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/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/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/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/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/admin/src/android/admin/cts/ |
D | DeviceAdminActivationTest.java | 188 resultCodeCaptor.capture(), in assertWithTimeoutOnActivityResultInvokedWithResultCode()
|