/frameworks/av/services/camera/libcameraservice/hidl/ |
D | AidlCameraDeviceCallbacks.cpp | 96 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()
|
D | Utils.cpp | 269 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()
|
D | HidlCameraDeviceUser.cpp | 252 const camera_metadata_t *rawMetadata = cameraMetadata.getAndLock(); in createDefaultRequest() local 253 convertToHidl(rawMetadata, &hidlMetadata); in createDefaultRequest() 255 cameraMetadata.unlock(rawMetadata); in createDefaultRequest()
|
D | HidlCameraService.cpp | 92 const camera_metadata_t *rawMetadata = cameraMetadata.getAndLock(); in getCameraCharacteristics() local 93 convertToHidl(rawMetadata, &hidlMetadata); in getCameraCharacteristics() 95 cameraMetadata.unlock(rawMetadata); in getCameraCharacteristics()
|
D | AidlCameraDeviceCallbacks.h | 115 void convertResultMetadataToHidl(const camera_metadata *rawMetadata,
|
/frameworks/hardware/interfaces/cameraservice/vts/functional/ |
D | VtsHalCameraServiceV2_0TargetTest.cpp | 269 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 …]
|
D | VtsAidlCameraServiceTargetTest.cpp | 250 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/ |
D | AidlUtils.cpp | 222 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()
|
D | AidlCameraDeviceCallbacks.cpp | 153 const camera_metadata_t *rawMetadata = result.getAndLock(); in processResultMessage() local 154 converter->convertResultMetadataToAidl(rawMetadata, &captureMetadataInfo); in processResultMessage() 155 result.unlock(rawMetadata); in processResultMessage()
|
D | AidlCameraDeviceUser.cpp | 183 const camera_metadata_t* rawMetadata = metadata.getAndLock(); in createDefaultRequest() local 184 cloneToAidl(rawMetadata, _aidl_return); in createDefaultRequest() 185 metadata.unlock(rawMetadata); in createDefaultRequest()
|
D | AidlCameraService.cpp | 117 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/ |
D | ACameraMetadata.cpp | 449 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()
|
D | ACameraManager.cpp | 695 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/ |
D | ACameraManager.cpp | 767 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/ |
D | DreamService.java | 1109 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/ |
D | BluetoothLeBroadcastMetadataExt.kt | 89 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/ |
D | AidlCamera3Device.cpp | 1139 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/ |
D | HidlCamera3Device.cpp | 1300 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()
|