/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebViewOnUiThread.java | 291 public Boolean capture() { in canZoomIn() 300 public Boolean capture() { 309 public Boolean capture() { 318 public Boolean capture() { 354 public WebMessagePort[] capture() { 595 public String capture() { 604 public WebSettings capture() { 613 public WebBackForwardList capture() { 622 public Bitmap capture() { 631 public String capture() { [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiTest.java | 117 mBitmapA = ccanvas.capture(Character.toChars(comparedCodePoints[i][0])); in testEmojiGlyph() 118 mBitmapB = ccanvas.capture(Character.toChars(comparedCodePoints[i][1])); in testEmojiGlyph() 125 mBitmapA = cviewA.capture(Character.toChars(comparedCodePoints[i][0])); in testEmojiGlyph() 127 mBitmapB = cviewB.capture(Character.toChars(comparedCodePoints[i][1])); in testEmojiGlyph() 133 mBitmapA = cedittextA.capture(Character.toChars(comparedCodePoints[i][0])); in testEmojiGlyph() 135 mBitmapB = cedittextB.capture(Character.toChars(comparedCodePoints[i][1])); in testEmojiGlyph() 144 mBitmapA = cwebview.capture(Character.toChars(comparedCodePoints[i][0])); in testEmojiGlyph() 145 mBitmapB = cwebview.capture(Character.toChars(comparedCodePoints[i][1])); in testEmojiGlyph() 203 Bitmap capture(char c[]) { in capture() method in EmojiTest.CaptureCanvas 226 Bitmap capture(char c[]) { in capture() method in EmojiTest.CaptureTextView [all …]
|
D | MyanmarTest.java | 65 Bitmap bitmapA = cviewA.capture(textA); in testCompositionSemantics() 67 Bitmap bitmapB = cviewB.capture(textB); in testCompositionSemantics() 72 Bitmap bitmapC = cviewC.capture(textC); in testCompositionSemantics() 88 Bitmap capture(String text) { in capture() method in MyanmarTest.CaptureTextView
|
/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 | 140 .times(1)).onOpened(captor.capture()); in assertCameraAccess() 145 .times(1)).onError(captor.capture(), in assertCameraAccess() 173 .times(1)).onOpened(captor.capture()); in testCameraAccessBecomingInactiveUidByCamera() 184 .times(1)).onError(captor.capture(), in testCameraAccessBecomingInactiveUidByCamera()
|
D | FastBasicsTest.java | 110 CaptureRequest capture = stillCaptureRequest.build(); in camera2TestByCamera() local 111 mSession.capture(capture, resultListener, mHandler); in camera2TestByCamera() 114 resultListener.getTotalCaptureResultForRequest(capture, FRAMES_TO_WAIT_FOR_CAPTURE); in camera2TestByCamera()
|
D | SurfaceViewPreviewTest.java | 536 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 546 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 589 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 598 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 614 mSession.capture(request.build(), resultListener, mHandler); in testDeferredSurfacesByCamera() 901 timestamps.capture(), in verifyCaptureResults() 902 frameNumbers.capture()); in verifyCaptureResults()
|
D | StillCaptureTest.java | 577 mSession.capture(request, resultListener, mHandler); in focalLengthTestByCamera() 615 mSession.capture(request, stillResultListener, mHandler); in previewPersistenceTestByCamera() 786 mSession.capture(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() 794 mSession.capture(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() 801 mSession.capture(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() 826 mSession.capture(request, resultListener, mHandler); in takePictureTestByCamera() 906 mSession.capture(stillRequest.build(), resultListener, mHandler); in previewStillCombinationTestByCamera() 943 mSession.capture(rawRequest, resultListener, mHandler); in rawCaptureTestByCamera() 1019 mSession.capture(multiRequest, resultListener, mHandler); in fullRawCaptureTestByCamera() 1181 mSession.capture(request, resultListener, mHandler); in jpegExifTestByCamera() [all …]
|
D | CameraManagerTest.java | 348 argument.capture(), in testCameraManagerOpenAllCameras() 428 .onOpened(argument.capture()); in verifyCameraStateOpened() 480 verify(mockSuccessListener, atLeastOnce()).onOpened(argument.capture()); in testCameraManagerOpenCameraTwice() 481 verify(mockSuccessListener, atLeastOnce()).onDisconnected(argument.capture()); in testCameraManagerOpenCameraTwice() 485 verify(mockFailListener, atLeastOnce()).onOpened(argument.capture()); in testCameraManagerOpenCameraTwice()
|
D | LogicalCameraDeviceTest.java | 243 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 258 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 274 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 361 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicPhysicalRequests() 470 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), in testInvalidPhysicalCameraRequests() 494 mSession.capture(request, new SimpleCaptureCallback(), mHandler); in testInvalidPhysicalCameraRequests()
|
D | CameraDeviceTest.java | 475 session.capture(request2.build(), in testChainedOperation() 518 session.capture(request.build(), mCaptureCallback, mHandler); in testChainedOperation() 772 mSession.capture(request, captureListener, mHandler); in testCreateCustomSessionByCamera() 1171 mSession.capture(request, captureListener, mHandler); in testCreateSessionWithParametersByCamera() 1242 session.capture(request, captureListener, mHandler); in testCreateSessionsByCamera() 1317 mSession.capture(r.build(), null, null); in prepareTestByCamera() 1357 mSession.capture(r.build(), resultListener, mHandler); in prepareTestByCamera() 1463 mSession.capture(/*request*/null, /*listener*/null, mHandler); in invalidRequestCaptureTestByCamera() 1473 mSession.capture(unConfiguredRequest, /*listener*/null, mHandler); in invalidRequestCaptureTestByCamera() 1696 mSession.capture(singleRequest, resultCallback, mHandler); in captureSingleShot() [all …]
|
D | RobustnessTest.java | 141 session.capture(request.build(), captureListener, mHandler); in testBadSurfaceDimensions() 503 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testBasicTriggerSequence() 535 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testBasicTriggerSequence() 641 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testSimultaneousTriggers() 742 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testAfThenAeTrigger() 750 mCameraSession.capture(triggerRequest2, captureListener, mHandler); in testAfThenAeTrigger() 857 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testAeThenAfTrigger() 865 mCameraSession.capture(triggerRequest2, captureListener, mHandler); in testAeThenAfTrigger() 1185 mCameraSession.capture(triggerRequest, captureListener, mHandler); in cancelTriggersAndWait() 1661 session.capture(builder.build(), inputCaptureListener, mHandler); in testReprocessStreamCombination()
|
/cts/tests/tests/view/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator.java | 94 Bitmap capture = Bitmap.createBitmap(mWidth, mHeight, 96 mInPixelsAllocation.copyTo(capture); 97 mFirstFailures.put(totalFramesSeen, capture);
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ChoreographerTest.java | 209 .doFrame(frameTimeNanosCaptor1.capture()); in testPostFrameCallbackWithoutDelay() 210 verify(addedFrameCallback2, times(1)).doFrame(frameTimeNanosCaptor2.capture()); in testPostFrameCallbackWithoutDelay() 226 .doFrame(frameTimeNanosCaptor1.capture()); in testPostFrameCallbackWithoutDelay() 227 verify(addedFrameCallback2, times(1)).doFrame(frameTimeNanosCaptor2.capture()); in testPostFrameCallbackWithoutDelay() 261 .doFrame(frameTimeNanosCaptor.capture()); in testPostFrameCallbackWithDelay()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | DeferSyncTest.java | 121 extrasCaptor.capture(), any(), any(), any()); in deferSyncAndMakeSyncable() 147 extrasCaptor.capture(), any(), any(), any()); in deferSyncAndReportIsReady() 172 extrasCaptor.capture(), any(), any(), any()); in deferSyncAndReportIsReadyAlwaysSyncable() 196 extrasCaptor.capture(), any(), any(), any()); in onNewAccountForEachAccount()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionWrapperTest.java | 78 verify(inputConnection, times(1)).commitCompletion(completionInfoCaptor.capture()); in testInputConnectionWrapper() 86 verify(inputConnection, times(1)).commitCorrection(correctionInfoCaptor.capture()); in testInputConnectionWrapper() 133 verify(inputConnection, times(1)).sendKeyEvent(keyEventCaptor.capture()); in testInputConnectionWrapper()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | TransitionManagerTest.java | 64 verify(mListener, times(1)).onTransitionStart(transitionArgumentCaptor.capture()); in testBeginDelayedTransition() 136 verify(mListener, times(1)).onTransitionStart(transitionArgumentCaptor.capture()); in testGo() 184 verify(mListener, times(1)).onTransitionStart(transitionArgumentCaptor.capture()); in testSetTransition1() 223 verify(mListener, times(1)).onTransitionStart(transitionArgumentCaptor.capture()); in testSetTransition2()
|
/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 | 284 verify(enterCallback).onSharedElementStart(names.capture(), views.capture(), in callStartEndWithSharedElements() 285 snapshots.capture()); in callStartEndWithSharedElements() 294 verify(enterCallback).onSharedElementEnd(names.capture(), views.capture(), in callStartEndWithSharedElements() 295 snapshots.capture()); in callStartEndWithSharedElements() 306 verify(enterCallback).onSharedElementStart(names.capture(), views.capture(), in callStartEndWithSharedElements() 307 snapshots.capture()); in callStartEndWithSharedElements() 316 verify(enterCallback).onSharedElementEnd(names.capture(), views.capture(), in callStartEndWithSharedElements() 317 snapshots.capture()); in callStartEndWithSharedElements()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | VideoView2Test.java | 168 someState.capture()); in testPlayVideo() 200 someState.capture()); in testPlayVideoOnTextureView()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | EdgeEffectTests.java | 200 verify(canvas).drawCircle(anyFloat(), anyFloat(), anyFloat(), captor.capture()); in verifyAlpha() 206 verify(canvas).drawCircle(anyFloat(), anyFloat(), anyFloat(), captor.capture()); in verifyAlpha()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 220 void onCaptureAvailable(Image capture, String physicalCameraId); in onCaptureAvailable() argument 1175 mSession.capture(req.build(), mCaptureResultListener, mResultHandler); 1577 mSession.capture(inputReqest.build(), captureCallbackWaiter, mResultHandler); 1619 mSession.capture(req.build(), mCaptureResultListener, mResultHandler); 1661 public void onCaptureAvailable(Image capture, String physicalCameraId) { 1663 int format = capture.getFormat(); 1666 byte[] img = ItsUtils.getDataFromImage(capture, mSocketQueueQuota); 1672 byte[] img = ItsUtils.getDataFromImage(capture, mSocketQueueQuota); 1678 byte[] img = ItsUtils.getDataFromImage(capture, mSocketQueueQuota); 1685 byte[] img = ItsUtils.getDataFromImage(capture, mSocketQueueQuota); [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 294 protected void capture(String cameraId, CaptureRequest request, CaptureCallback listener) in capture() method in Camera2MultiViewTestCase 298 camera.capture(request, listener); in capture() 533 public void capture(CaptureRequest request, CaptureCallback listener) in capture() method in Camera2MultiViewTestCase.CameraHolder 535 mSession.capture(request, listener, mHandler); in capture()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 1008 camera_status_t capture(ACaptureRequest* request, in capture() function in PreviewTestCase 2359 for (intptr_t capture = 0; capture < NUM_TEST_IMAGES; capture++) { in nativeImageReaderTestBase() local 2361 ACaptureRequest_setUserContext(req, (void*) capture); in nativeImageReaderTestBase() 2363 ret = testCase.capture(req, &resultCb, &seqId); in nativeImageReaderTestBase() 2366 cameraId, capture, ret); in nativeImageReaderTestBase() 2369 if (capture == NUM_TEST_IMAGES - 1) { in nativeImageReaderTestBase() 2559 for (int capture = 0; capture < NUM_TEST_IMAGES; capture++) { in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative() local 2563 cameraId, capture, ret); in Java_android_hardware_camera2_cts_NativeStillCaptureTest_testStillCaptureNative()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DeviceAdminActivationTest.java | 188 resultCodeCaptor.capture(), in assertWithTimeoutOnActivityResultInvokedWithResultCode()
|