Home
last modified time | relevance | path

Searched refs:rawMetadata (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraDeviceCallbacks.cpp96 void H2BCameraDeviceCallbacks::convertResultMetadataToHidl(const camera_metadata_t *rawMetadata, in convertResultMetadataToHidl() argument
99 size_t metadata_size = get_camera_metadata_size(rawMetadata); in convertResultMetadataToHidl()
102 if (mCaptureResultMetadataQueue->write((uint8_t *)rawMetadata, metadata_size)) { in convertResultMetadataToHidl()
107 hardware::cameraservice::utils::conversion::convertToHidl(rawMetadata, &metadata); in convertResultMetadataToHidl()
154 const camera_metadata_t *rawMetadata = result.getAndLock(); in processResultMessage() local
155 converter->convertResultMetadataToHidl(rawMetadata, &hResult); in processResultMessage()
156 result.unlock(rawMetadata); in processResultMessage()
DUtils.cpp269 const camera_metadata_t *rawMetadata = in convertToHidl() local
272 size_t metadata_size = get_camera_metadata_size(rawMetadata); in convertToHidl()
274 if (captureResultMetadataQueue->write((uint8_t *)rawMetadata, metadata_size)) { in convertToHidl()
279 convertToHidl(rawMetadata, &metadata); in convertToHidl()
283 physicalCaptureResultInfo.mPhysicalCameraMetadata.unlock(rawMetadata); in convertToHidl()
DHidlCameraDeviceUser.cpp252 const camera_metadata_t *rawMetadata = cameraMetadata.getAndLock(); in createDefaultRequest() local
253 convertToHidl(rawMetadata, &hidlMetadata); in createDefaultRequest()
255 cameraMetadata.unlock(rawMetadata); in createDefaultRequest()
DHidlCameraService.cpp92 const camera_metadata_t *rawMetadata = cameraMetadata.getAndLock(); in getCameraCharacteristics() local
93 convertToHidl(rawMetadata, &hidlMetadata); in getCameraCharacteristics()
95 cameraMetadata.unlock(rawMetadata); in getCameraCharacteristics()
DAidlCameraDeviceCallbacks.h115 void convertResultMetadataToHidl(const camera_metadata *rawMetadata,
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp269 static bool convertFromHidlCloned(const hidl_vec<uint8_t>& metadata, CameraMetadata* rawMetadata) { in convertFromHidlCloned() argument
274 *rawMetadata = buffer; in convertFromHidlCloned()
392 CameraMetadata rawMetadata; in TEST_P() local
397 it.cameraId, [&status, &rawMetadata](auto s, const hidl_vec<uint8_t>& metadata) { in TEST_P()
399 bool cStatus = convertFromHidlCloned(metadata, &rawMetadata); in TEST_P()
403 EXPECT_FALSE(rawMetadata.isEmpty()); in TEST_P()
422 !doesCapabilityExist(rawMetadata, in TEST_P()
424 doesCapabilityExist(rawMetadata, ANDROID_REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT); in TEST_P()
428 bool isSecureOnlyCamera = isSecureOnlyDevice(rawMetadata); in TEST_P()
432 getStreamConfiguration(rawMetadata, ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, in TEST_P()
[all …]
DVtsAidlCameraServiceTargetTest.cpp250 static bool convertFromAidlCloned(const AidlCameraMetadata& metadata, CameraMetadata* rawMetadata) { in convertFromAidlCloned() argument
255 *rawMetadata = buffer; // assignment operator clones in convertFromAidlCloned()
374 CameraMetadata rawMetadata; in BasicCameraTests() local
381 bool cStatus = convertFromAidlCloned(aidlMetadata, &rawMetadata); in BasicCameraTests()
383 EXPECT_FALSE(rawMetadata.isEmpty()); in BasicCameraTests()
402 !doesCapabilityExist(rawMetadata, in BasicCameraTests()
404 doesCapabilityExist(rawMetadata, in BasicCameraTests()
409 bool isSecureOnlyCamera = isSecureOnlyDevice(rawMetadata); in BasicCameraTests()
413 rawMetadata, ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, in BasicCameraTests()
428 rawMetadata, ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS, in BasicCameraTests()
[all …]
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlUtils.cpp222 const camera_metadata_t *rawMetadata = src.mPhysicalCameraMetadata.getAndLock(); in convertToAidl() local
224 size_t metadata_size = get_camera_metadata_size(rawMetadata); in convertToAidl()
226 if (fmq->write((int8_t *)rawMetadata, metadata_size)) { in convertToAidl()
231 cloneToAidl(rawMetadata, &metadata); in convertToAidl()
235 src.mPhysicalCameraMetadata.unlock(rawMetadata); in convertToAidl()
DAidlCameraDeviceCallbacks.cpp153 const camera_metadata_t *rawMetadata = result.getAndLock(); in processResultMessage() local
154 converter->convertResultMetadataToAidl(rawMetadata, &captureMetadataInfo); in processResultMessage()
155 result.unlock(rawMetadata); in processResultMessage()
DAidlCameraDeviceUser.cpp183 const camera_metadata_t* rawMetadata = metadata.getAndLock(); in createDefaultRequest() local
184 cloneToAidl(rawMetadata, _aidl_return); in createDefaultRequest()
185 metadata.unlock(rawMetadata); in createDefaultRequest()
DAidlCameraService.cpp117 const camera_metadata_t* rawMetadata = cameraMetadata.getAndLock(); in getCameraCharacteristics() local
118 cloneToAidl(rawMetadata, _aidl_return); in getCameraCharacteristics()
119 cameraMetadata.unlock(rawMetadata); in getCameraCharacteristics()
/frameworks/av/camera/ndk/impl/
DACameraMetadata.cpp449 const camera_metadata_t* rawMetadata = mData->getAndLock(); in getTags() local
452 int ret = get_camera_metadata_ro_entry(rawMetadata, i, &entry); in getTags()
454 mData->unlock(rawMetadata); in getTags()
463 mData->unlock(rawMetadata); in getTags()
DACameraManager.cpp695 CameraMetadata rawMetadata; in getCameraCharacteristics() local
698 targetSdkVersion, /*overrideToPortrait*/false, &rawMetadata); in getCameraCharacteristics()
715 rawMetadata.release(), ACameraMetadata::ACM_CHARACTERISTICS); in getCameraCharacteristics()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp767 AidlCameraMetadata rawMetadata; in getCameraCharacteristics() local
768 ScopedAStatus serviceRet = cs->getCameraCharacteristics(cameraIdStr, &rawMetadata); in getCameraCharacteristics()
784 ::android::acam::utils::cloneFromAidl(rawMetadata, &metadataBuffer); in getCameraCharacteristics()
858 const camera_metadata_t *rawMetadata = metadata.getAndLock(); in getTagFromName() local
859 metadata_vendor_id_t vendorTagId = get_camera_metadata_vendor_id(rawMetadata); in getTagFromName()
860 metadata.unlock(rawMetadata); in getTagFromName()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java1109 try (TypedArray rawMetadata = readMetadata(pm, serviceInfo)) { in getDreamMetadata() argument
1110 if (rawMetadata == null) return null; in getDreamMetadata()
1112 convertToComponentName(rawMetadata.getString( in getDreamMetadata()
1114 rawMetadata.getDrawable( in getDreamMetadata()
1116 rawMetadata.getBoolean(R.styleable.Dream_showClockAndComplications, in getDreamMetadata()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothLeBroadcastMetadataExt.kt89 this.publicBroadcastMetadata?.rawMetadata, Base64.NO_WRAP))) in <lambda>()
134 Base64.encodeToString(this.contentMetadata.rawMetadata, Base64.NO_WRAP))) in <lambda>()
/frameworks/av/services/camera/libcameraservice/device3/aidl/
DAidlCamera3Device.cpp1139 const camera_metadata_t* rawMetadata = cameraCharacteristics.getAndLock(); in configureInjectedStreams() local
1141 reinterpret_cast<uint8_t*>(const_cast<camera_metadata_t*>(rawMetadata)); in configureInjectedStreams()
1143 aidlChars.metadata.assign(aidlCharsP, aidlCharsP + get_camera_metadata_size(rawMetadata)); in configureInjectedStreams()
1144 cameraCharacteristics.unlock(rawMetadata); in configureInjectedStreams()
/frameworks/av/services/camera/libcameraservice/device3/hidl/
DHidlCamera3Device.cpp1300 const camera_metadata_t* rawMetadata = cameraCharacteristics.getAndLock(); in configureInjectedStreams() local
1303 reinterpret_cast<uint8_t*>(const_cast<camera_metadata_t*>(rawMetadata)), in configureInjectedStreams()
1304 get_camera_metadata_size(rawMetadata)); in configureInjectedStreams()
1305 cameraCharacteristics.unlock(rawMetadata); in configureInjectedStreams()