Home
last modified time | relevance | path

Searched refs:captureListener (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/utils/
DScreenshotUtils.h39 const sp<SyncScreenCaptureListener> captureListener = new SyncScreenCaptureListener(); in captureDisplay() local
40 binder::Status status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
45 captureResults = captureListener->waitForResults(); in captureDisplay()
73 const sp<SyncScreenCaptureListener> captureListener = new SyncScreenCaptureListener(); in captureLayers() local
74 binder::Status status = sf->captureLayers(captureArgs, captureListener); in captureLayers()
78 captureResults = captureListener->waitForResults(); in captureLayers()
/frameworks/base/cmds/screencap/
Dscreencap.cpp188 sp<SyncScreenCaptureListener> captureListener = new SyncScreenCaptureListener(); in main() local
189 status_t result = ScreenshotClient::captureDisplay(*displayId, captureListener); in main()
195 ScreenCaptureResults captureResults = captureListener->waitForResults(); in main()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp6407 const sp<IScreenCaptureListener>& captureListener) { in captureDisplay() argument
6455 captureListener); in captureDisplay()
6460 const sp<IScreenCaptureListener>& captureListener) { in captureDisplay() argument
6491 if (captureListener == nullptr) { in captureDisplay()
6501 captureListener); in captureDisplay()
6506 const sp<IScreenCaptureListener>& captureListener) { in captureLayers() argument
6609 if (captureListener == nullptr) { in captureLayers()
6616 captureListener); in captureLayers()
6623 const sp<IScreenCaptureListener>& captureListener) { in captureScreenCommon() argument
6674 false /* regionSampling */, grayscale, captureListener); in captureScreenCommon()
[all …]
/frameworks/base/core/java/android/view/
DSurfaceControl.java111 ScreenCaptureListener captureListener); in nativeCaptureDisplay() argument
113 ScreenCaptureListener captureListener); in nativeCaptureLayers() argument
2468 @NonNull ScreenCaptureListener captureListener) { in captureDisplay() argument
2469 return nativeCaptureDisplay(captureArgs, captureListener); in captureDisplay()
2571 @NonNull ScreenCaptureListener captureListener) { in captureLayers() argument
2572 return nativeCaptureLayers(captureArgs, captureListener); in captureLayers()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp2458 const sp<IScreenCaptureListener>& captureListener) { in captureDisplay() argument
2462 binder::Status status = s->captureDisplay(captureArgs, captureListener); in captureDisplay()
2467 const sp<IScreenCaptureListener>& captureListener) { in captureDisplay() argument
2471 binder::Status status = s->captureDisplayById(displayId.value, captureListener); in captureDisplay()
2476 const sp<IScreenCaptureListener>& captureListener) { in captureLayers() argument
2480 binder::Status status = s->captureLayers(captureArgs, captureListener); in captureLayers()
/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp306 const sp<SyncScreenCaptureListener> captureListener = new SyncScreenCaptureListener(); in captureDisplay() local
307 binder::Status status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
311 captureResults = captureListener->waitForResults(); in captureDisplay()
DSurface_test.cpp213 const sp<SyncScreenCaptureListener> captureListener = new SyncScreenCaptureListener(); in captureDisplay() local
214 binder::Status status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
218 captureResults = captureListener->waitForResults(); in captureDisplay()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp514 sp<IScreenCaptureListener> captureListener = in nativeCaptureDisplay() local
516 return ScreenshotClient::captureDisplay(captureArgs, captureListener); in nativeCaptureDisplay()
550 sp<IScreenCaptureListener> captureListener = in nativeCaptureLayers() local
552 return ScreenshotClient::captureLayers(captureArgs, captureListener); in nativeCaptureLayers()