Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperTest.cpp104 CameraMetadata captureResult; in TEST() local
106 ASSERT_NE(m.updateCalibration(captureResult), OK); in TEST()
108 captureResult.update(ANDROID_LENS_INTRINSIC_CALIBRATION, in TEST()
110 captureResult.update(ANDROID_LENS_DISTORTION, in TEST()
113 ASSERT_EQ(m.updateCalibration(captureResult), OK); in TEST()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1778 public static void verifyJpegKeys(Image image, CaptureResult captureResult, Size expectedSize, in verifyJpegKeys() argument
1799 Size resultThumbnailSize = captureResult.get(CaptureResult.JPEG_THUMBNAIL_SIZE); in verifyJpegKeys()
1816 if (collector.expectKeyValueNotNull(captureResult, CaptureResult.JPEG_GPS_LOCATION) != in verifyJpegKeys()
1820 captureResult.get(CaptureResult.JPEG_GPS_LOCATION))); in verifyJpegKeys()
1824 captureResult.get(CaptureResult.JPEG_ORIENTATION)); in verifyJpegKeys()
1826 expectedExifData.jpegQuality, captureResult.get(CaptureResult.JPEG_QUALITY)); in verifyJpegKeys()
1829 captureResult.get(CaptureResult.JPEG_THUMBNAIL_QUALITY)); in verifyJpegKeys()
1833 verifyJpegExifExtraTags(exif, expectedSize, captureResult, staticInfo, collector); in verifyJpegKeys()
/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/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp2926 CaptureResult captureResult; in sendPartialCaptureResult() local
2927 captureResult.mResultExtras = resultExtras; in sendPartialCaptureResult()
2928 captureResult.mMetadata = partialResult; in sendPartialCaptureResult()
2930 insertResultLocked(&captureResult, frameNumber); in sendPartialCaptureResult()
2965 CaptureResult captureResult; in sendCaptureResult() local
2966 captureResult.mResultExtras = resultExtras; in sendCaptureResult()
2967 captureResult.mMetadata = pendingMetadata; in sendCaptureResult()
2968 captureResult.mPhysicalMetadatas = physicalMetadatas; in sendCaptureResult()
2972 captureResult.mMetadata.append(collectedPartialResult); in sendCaptureResult()
2975 captureResult.mMetadata.sort(); in sendCaptureResult()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp4860 std::optional<status_t> captureResult; in captureScreenCommon() local
4871 captureResult = std::make_optional<status_t>(EAGAIN); in captureScreenCommon()
4889 captureResult = std::make_optional<status_t>(result); in captureScreenCommon()
4896 captureCondition.wait(captureLock, [&]() { return captureResult; }); in captureScreenCommon()
4897 while (*captureResult == EAGAIN) { in captureScreenCommon()
4898 captureResult.reset(); in captureScreenCommon()
4903 captureCondition.wait(captureLock, [&]() { return captureResult; }); in captureScreenCommon()
4905 result = *captureResult; in captureScreenCommon()