/frameworks/native/services/surfaceflinger/tests/utils/ |
D | ScreenshotUtils.h | 33 ScreenCaptureResults& captureResults) { in captureDisplay() argument 44 captureResults = captureListener->waitForResults(); in captureDisplay() 45 return captureResults.result; in captureDisplay() 60 ScreenCaptureResults captureResults; in captureDisplay() local 61 ASSERT_EQ(NO_ERROR, captureDisplay(captureArgs, captureResults)); in captureDisplay() 62 *sc = std::make_unique<ScreenCapture>(captureResults.buffer); in captureDisplay() 66 ScreenCaptureResults& captureResults) { in captureLayers() argument 76 captureResults = captureListener->waitForResults(); in captureLayers() 77 return captureResults.result; in captureLayers() 81 ScreenCaptureResults captureResults; in captureLayers() local [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | InvalidHandles_test.cpp | 62 ScreenCaptureResults captureResults; in TEST_F() local 63 ASSERT_EQ(NAME_NOT_FOUND, ScreenCapture::captureLayers(args, captureResults)); in TEST_F() 70 ScreenCaptureResults captureResults; in TEST_F() local 71 ASSERT_EQ(NAME_NOT_FOUND, ScreenCapture::captureLayers(args, captureResults)); in TEST_F()
|
D | LayerTypeTransaction_test.cpp | 173 ScreenCaptureResults captureResults; in TEST_P() local 177 ASSERT_EQ(PERMISSION_DENIED, ScreenCapture::captureDisplay(args, captureResults)); in TEST_P() 181 ASSERT_EQ(NO_ERROR, ScreenCapture::captureDisplay(args, captureResults)); in TEST_P()
|
D | Credentials_test.cpp | 285 ScreenCaptureResults captureResults; in TEST_F() local 286 return ScreenCapture::captureDisplay(captureArgs, captureResults); in TEST_F() 299 ScreenCaptureResults captureResults; in TEST_F() local 300 return ScreenCapture::captureLayers(captureArgs, captureResults); in TEST_F()
|
D | ScreenCapture_test.cpp | 351 ScreenCaptureResults captureResults; in TEST_F() local 352 ASSERT_EQ(BAD_VALUE, ScreenCapture::captureLayers(args, captureResults)); in TEST_F() 368 ScreenCaptureResults captureResults; in TEST_F() local 369 ASSERT_EQ(BAD_VALUE, ScreenCapture::captureLayers(args, captureResults)); in TEST_F() 373 ASSERT_EQ(NO_ERROR, ScreenCapture::captureLayers(args, captureResults)); in TEST_F() 374 ScreenCapture sc(captureResults.buffer); in TEST_F() 530 ScreenCaptureResults captureResults; in TEST_F() local 532 ASSERT_EQ(NAME_NOT_FOUND, ScreenCapture::captureLayers(args, captureResults)); in TEST_F() 557 ScreenCaptureResults captureResults; in TEST_F() local 563 ASSERT_EQ(PERMISSION_DENIED, ScreenCapture::captureLayers(args, captureResults)); in TEST_F()
|
/frameworks/native/libs/gui/include/gui/ |
D | SyncScreenCaptureListener.h | 29 binder::Status onScreenCaptureCompleted(const ScreenCaptureResults& captureResults) override { in onScreenCaptureCompleted() 30 resultsPromise.set_value(captureResults); in onScreenCaptureCompleted()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 191 ScreenCaptureResults captureResults = captureListener->waitForResults(); in main() local 192 if (captureResults.result != NO_ERROR) { in main() 196 ui::Dataspace dataspace = captureResults.capturedDataspace; in main() 197 sp<GraphicBuffer> buffer = captureResults.buffer; in main()
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | IScreenCaptureListener.aidl | 23 void onScreenCaptureCompleted(in ScreenCaptureResults captureResults); in onScreenCaptureCompleted() argument
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 294 const gui::ScreenCaptureResults& captureResults) override { in onScreenCaptureCompleted() argument 296 if (captureResults.result != NO_ERROR || captureResults.buffer == nullptr) { in onScreenCaptureCompleted() 301 captureResults.fence->waitForever(""); in onScreenCaptureCompleted() 303 env, captureResults.buffer->toAHardwareBuffer()); in onScreenCaptureCompleted() 305 fromDataspaceToNamedColorSpaceValue(captureResults.capturedDataspace); in onScreenCaptureCompleted() 310 captureResults.capturedSecureLayers); in onScreenCaptureCompleted()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 202 ScreenCaptureResults& captureResults) { in captureDisplay() argument 211 captureResults = captureListener->waitForResults(); in captureDisplay() 212 return captureResults.result; in captureDisplay() 267 ScreenCaptureResults captureResults; in TEST_F() local 268 ASSERT_EQ(NO_ERROR, captureDisplay(captureArgs, captureResults)); in TEST_F() 298 ASSERT_EQ(NO_ERROR, captureDisplay(captureArgs, captureResults)); in TEST_F()
|
D | BLASTBufferQueue_test.cpp | 239 ScreenCaptureResults& captureResults) { in captureDisplay() argument 248 captureResults = captureListener->waitForResults(); in captureDisplay() 249 return captureResults.result; in captureDisplay()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 354 ScreenCaptureResults captureResults; in renderScreenImplLocked() local 357 captureResults); in renderScreenImplLocked()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 6258 ScreenCaptureResults captureResults; in captureScreenCommon() local 6262 captureResults.result = NO_MEMORY; in captureScreenCommon() 6263 captureListener->onScreenCaptureCompleted(captureResults); in captureScreenCommon() 6271 captureResults); in captureScreenCommon() 6274 captureResults.result = result; in captureScreenCommon() 6275 captureListener->onScreenCaptureCompleted(captureResults); in captureScreenCommon() 6285 ScreenCaptureResults& captureResults) { in renderScreenImplLocked() argument 6289 captureResults.capturedSecureLayers = in renderScreenImplLocked() 6290 captureResults.capturedSecureLayers || (layer->isVisible() && layer->isSecure()); in renderScreenImplLocked() 6298 if (captureResults.capturedSecureLayers && !canCaptureBlackoutContent) { in renderScreenImplLocked() [all …]
|
D | RegionSamplingThread.cpp | 362 ScreenCaptureResults captureResults = captureListener->waitForResults(); in captureSample() local
|