Home
last modified time | relevance | path

Searched refs:captureResult (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperTest.cpp113 CameraMetadata captureResult; in TEST() local
115 ASSERT_NE(m.updateCalibration(captureResult), OK); in TEST()
117 captureResult.update(ANDROID_LENS_INTRINSIC_CALIBRATION, in TEST()
119 captureResult.update(ANDROID_LENS_DISTORTION, in TEST()
122 ASSERT_EQ(m.updateCalibration(captureResult), OK); in TEST()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java1290 CaptureResult captureResult = new CaptureResult(mMetadata, /*sequenceId*/0); in testCaptureResult() local
1292 List<CaptureResult.Key<?>> allKeys = captureResult.getKeys(); in testCaptureResult()
1294 for (CaptureResult.Key<?> key : captureResult.getKeys()) { in testCaptureResult()
1297 "testCaptureResult: key " + key + " value" + captureResult.get(key)); in testCaptureResult()
1305 (int)captureResult.get(CaptureResult.CONTROL_AE_MODE)); in testCaptureResult()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1850 public static void verifyJpegKeys(Image image, CaptureResult captureResult, Size expectedSize, in verifyJpegKeys() argument
1871 Size resultThumbnailSize = captureResult.get(CaptureResult.JPEG_THUMBNAIL_SIZE); in verifyJpegKeys()
1888 if (collector.expectKeyValueNotNull(captureResult, CaptureResult.JPEG_GPS_LOCATION) != in verifyJpegKeys()
1892 captureResult.get(CaptureResult.JPEG_GPS_LOCATION))); in verifyJpegKeys()
1896 captureResult.get(CaptureResult.JPEG_ORIENTATION)); in verifyJpegKeys()
1898 expectedExifData.jpegQuality, captureResult.get(CaptureResult.JPEG_QUALITY)); in verifyJpegKeys()
1901 captureResult.get(CaptureResult.JPEG_THUMBNAIL_QUALITY)); in verifyJpegKeys()
1905 verifyJpegExifExtraTags(exif, expectedSize, captureResult, staticInfo, collector); in verifyJpegKeys()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp3462 CaptureResult captureResult; in sendPartialCaptureResult() local
3463 captureResult.mResultExtras = resultExtras; in sendPartialCaptureResult()
3464 captureResult.mMetadata = partialResult; in sendPartialCaptureResult()
3467 status_t res = fixupMonochromeTags(mDeviceInfo, captureResult.mMetadata); in sendPartialCaptureResult()
3473 insertResultLocked(&captureResult, frameNumber); in sendPartialCaptureResult()
3516 CaptureResult captureResult; in sendCaptureResult() local
3517 captureResult.mResultExtras = resultExtras; in sendCaptureResult()
3518 captureResult.mMetadata = pendingMetadata; in sendCaptureResult()
3519 captureResult.mPhysicalMetadatas = physicalMetadatas; in sendCaptureResult()
3523 captureResult.mMetadata.append(collectedPartialResult); in sendCaptureResult()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp5955 std::optional<status_t> captureResult; in captureScreenCommon() local
5966 captureResult = std::make_optional<status_t>(EAGAIN); in captureScreenCommon()
5985 captureResult = std::make_optional<status_t>(result); in captureScreenCommon()
5992 captureCondition.wait(captureLock, [&] { return captureResult; }); in captureScreenCommon()
5993 while (*captureResult == EAGAIN) { in captureScreenCommon()
5994 captureResult.reset(); in captureScreenCommon()
5999 captureCondition.wait(captureLock, [&] { return captureResult; }); in captureScreenCommon()
6001 result = *captureResult; in captureScreenCommon()