/frameworks/native/services/surfaceflinger/tests/utils/ |
D | ScreenshotUtils.h | 34 ScreenCaptureResults& captureResults) { in captureDisplay() argument 45 captureResults = captureListener->waitForResults(); in captureDisplay() 46 return captureResults.result; in captureDisplay() 61 ScreenCaptureResults captureResults; in captureDisplay() local 62 ASSERT_EQ(NO_ERROR, captureDisplay(captureArgs, captureResults)); in captureDisplay() 63 *sc = std::make_unique<ScreenCapture>(captureResults.buffer, in captureDisplay() 64 captureResults.capturedHdrLayers); in captureDisplay() 68 ScreenCaptureResults& captureResults) { in captureLayers() argument 78 captureResults = captureListener->waitForResults(); in captureLayers() 79 return captureResults.result; in captureLayers() [all …]
|
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/ |
D | HdrPreviewExtenderImpl.java | 142 ArrayList<Pair<CaptureResult.Key, Object>> captureResults = new ArrayList<>(); 147 captureResults.add(new Pair<>(CaptureResult.CONTROL_ZOOM_RATIO, zoomRatio)); 151 captureResults.add(new Pair<>(CaptureResult.CONTROL_AF_MODE, afMode)); 155 captureResults.add(new Pair<>(CaptureResult.CONTROL_AF_TRIGGER, afTrigger)); 159 captureResults.add(new Pair<>(CaptureResult.CONTROL_AF_STATE, afState)); 163 captureResults.add(new Pair<>(CaptureResult.CONTROL_AF_REGIONS, afRegions)); 169 captureResults.add(new Pair<>(CaptureResult.JPEG_QUALITY, jpegQuality)); 174 captureResults.add(new Pair<>(CaptureResult.JPEG_ORIENTATION, 180 captureResults)); 182 resultCallback.onCaptureCompleted(shutterTimestamp, captureResults);
|
D | BokehImageCaptureExtenderImpl.java | 121 ArrayList<Pair<CaptureResult.Key, Object>> captureResults = in getCaptureProcessor() 129 captureResults.add(new Pair<>(CaptureResult.CONTROL_AE_MODE, in getCaptureProcessor() 136 captureResults.add(new Pair<>( in getCaptureProcessor() 143 captureResults.add(new Pair<>(CaptureResult.CONTROL_AE_LOCK, in getCaptureProcessor() 150 captureResults.add(new Pair<>(CaptureResult.CONTROL_AE_STATE, in getCaptureProcessor() 157 captureResults.add(new Pair<>(CaptureResult.FLASH_MODE, in getCaptureProcessor() 164 captureResults.add(new Pair<>(CaptureResult.FLASH_STATE, in getCaptureProcessor() 170 captureResults.add(new Pair<>(CaptureResult.JPEG_QUALITY, in getCaptureProcessor() 177 captureResults.add(new Pair<>(CaptureResult.JPEG_ORIENTATION, in getCaptureProcessor() 183 shutterTimestamp, captureResults)); in getCaptureProcessor() [all …]
|
D | HdrImageCaptureExtenderImpl.java | 138 ArrayList<Pair<CaptureResult.Key, Object>> captureResults = in getCaptureProcessor() 146 captureResults.add(new Pair<>(CaptureResult.CONTROL_ZOOM_RATIO, in getCaptureProcessor() 152 captureResults.add(new Pair<>(CaptureResult.CONTROL_AF_MODE, in getCaptureProcessor() 158 captureResults.add(new Pair<>(CaptureResult.CONTROL_AF_TRIGGER, in getCaptureProcessor() 164 captureResults.add(new Pair<>(CaptureResult.CONTROL_AF_STATE, in getCaptureProcessor() 170 captureResults.add(new Pair<>(CaptureResult.CONTROL_AF_REGIONS, in getCaptureProcessor() 176 captureResults.add(new Pair<>(CaptureResult.JPEG_QUALITY, in getCaptureProcessor() 183 captureResults.add(new Pair<>(CaptureResult.JPEG_ORIENTATION, in getCaptureProcessor() 189 shutterTimestamp, captureResults)); in getCaptureProcessor() 192 captureResults); in getCaptureProcessor()
|
/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/native/services/surfaceflinger/tests/ |
D | InvalidHandles_test.cpp | 59 ScreenCaptureResults captureResults; in TEST_F() local 60 ASSERT_EQ(NAME_NOT_FOUND, ScreenCapture::captureLayers(args, captureResults)); in TEST_F()
|
D | ScreenCapture_test.cpp | 354 ScreenCaptureResults captureResults; in TEST_F() local 355 ASSERT_EQ(BAD_VALUE, ScreenCapture::captureLayers(args, captureResults)); in TEST_F() 371 ScreenCaptureResults captureResults; in TEST_F() local 372 ASSERT_EQ(BAD_VALUE, ScreenCapture::captureLayers(args, captureResults)); in TEST_F() 376 ASSERT_EQ(NO_ERROR, ScreenCapture::captureLayers(args, captureResults)); in TEST_F() 377 ScreenCapture sc(captureResults.buffer, captureResults.capturedHdrLayers); in TEST_F() 524 ScreenCaptureResults captureResults; in TEST_F() local 526 ASSERT_EQ(NAME_NOT_FOUND, ScreenCapture::captureLayers(args, captureResults)); in TEST_F() 540 ScreenCaptureResults captureResults; in TEST_F() local 541 ASSERT_EQ(BAD_VALUE, ScreenCapture::captureLayers(captureArgs, captureResults)); in TEST_F() [all …]
|
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()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 195 ScreenCaptureResults captureResults = captureListener->waitForResults(); in main() local 196 if (captureResults.result != NO_ERROR) { in main() 200 ui::Dataspace dataspace = captureResults.capturedDataspace; in main() 201 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/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/ |
D | CameraExtensionsProxyService.java | 906 CameraMetadataNative captureResults = new CameraMetadataNative(); in onCaptureCompleted() local 908 captureResults.setVendorId(mMetadataVendorIdMap.get(mCameraId)); in onCaptureCompleted() 911 captureResults.set(entry.getKey(), entry.getValue()); in onCaptureCompleted() 915 mCaptureCallback.onCaptureCompleted(timestamp, requestId, captureResults); in onCaptureCompleted() 1552 CameraMetadataNative captureResults = new CameraMetadataNative(); in onCaptureCompleted() local 1554 captureResults.setVendorId(mMetadataVendorIdMap.get(mCameraId)); in onCaptureCompleted() 1557 captureResults.set(pair.first, pair.second); in onCaptureCompleted() 1561 mProcessResult.onCaptureCompleted(shutterTimestamp, captureResults); in onCaptureCompleted()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 209 ScreenCaptureResults& captureResults) { in captureDisplay() argument 218 captureResults = captureListener->waitForResults(); in captureDisplay() 219 return captureResults.result; in captureDisplay() 272 ScreenCaptureResults captureResults; in TEST_F() local 273 ASSERT_EQ(NO_ERROR, captureDisplay(captureArgs, captureResults)); in TEST_F() 303 ASSERT_EQ(NO_ERROR, captureDisplay(captureArgs, captureResults)); in TEST_F()
|
D | BLASTBufferQueue_test.cpp | 302 ScreenCaptureResults& captureResults) { in captureDisplay() argument 311 captureResults = captureListener->waitForResults(); in captureDisplay() 312 return captureResults.result; in captureDisplay()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 309 const gui::ScreenCaptureResults& captureResults) override { in onScreenCaptureCompleted() argument 311 if (captureResults.result != NO_ERROR || captureResults.buffer == nullptr) { in onScreenCaptureCompleted() 316 captureResults.fence->waitForever(""); in onScreenCaptureCompleted() 318 env, captureResults.buffer->toAHardwareBuffer()); in onScreenCaptureCompleted() 320 fromDataspaceToNamedColorSpaceValue(captureResults.capturedDataspace); in onScreenCaptureCompleted() 325 captureResults.capturedSecureLayers, in onScreenCaptureCompleted() 326 captureResults.capturedHdrLayers); in onScreenCaptureCompleted()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 6687 ScreenCaptureResults captureResults; in captureScreenCommon() local 6692 captureResults.result = NO_MEMORY; in captureScreenCommon() 6693 captureListener->onScreenCaptureCompleted(captureResults); in captureScreenCommon() 6702 regionSampling, grayscale, captureResults); in captureScreenCommon() 6712 captureResults.result = fenceStatus(fenceResult); in captureScreenCommon() 6713 captureResults.fence = std::move(fenceResult).value_or(Fence::NO_FENCE); in captureScreenCommon() 6714 captureListener->onScreenCaptureCompleted(captureResults); in captureScreenCommon() 6736 ScreenCaptureResults& captureResults) { in renderScreenImpl() argument 6740 captureResults.capturedSecureLayers = in renderScreenImpl() 6741 captureResults.capturedSecureLayers || (layer->isVisible() && layer->isSecure()); in renderScreenImpl() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 425 ScreenCaptureResults captureResults; in renderScreenImpl() local 428 captureResults); in renderScreenImpl()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraExtensionSessionImpl.java | 1854 CameraMetadataNative captureResults = new CameraMetadataNative(); in initializeFilteredResults() local 1858 captureResults.set(key, value); in initializeFilteredResults() 1861 return captureResults; in initializeFilteredResults()
|