/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 | 276 const camera_metadata_t *rawMetadata = in convertToHidl() local 279 size_t metadata_size = get_camera_metadata_size(rawMetadata); in convertToHidl() 281 if (captureResultMetadataQueue->write((uint8_t *)rawMetadata, metadata_size)) { in convertToHidl() 286 convertToHidl(rawMetadata, &metadata); in convertToHidl() 290 physicalCaptureResultInfo.mPhysicalCameraMetadata.unlock(rawMetadata); in convertToHidl()
|
D | HidlCameraDeviceUser.cpp | 253 const camera_metadata_t *rawMetadata = cameraMetadata.getAndLock(); in createDefaultRequest() local 254 convertToHidl(rawMetadata, &hidlMetadata); in createDefaultRequest() 256 cameraMetadata.unlock(rawMetadata); in createDefaultRequest()
|
D | HidlCameraService.cpp | 96 const camera_metadata_t *rawMetadata = cameraMetadata.getAndLock(); in getCameraCharacteristics() local 97 convertToHidl(rawMetadata, &hidlMetadata); in getCameraCharacteristics() 99 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 | 271 static bool convertFromHidlCloned(const hidl_vec<uint8_t>& metadata, CameraMetadata* rawMetadata) { in convertFromHidlCloned() argument 276 *rawMetadata = buffer; in convertFromHidlCloned() 395 CameraMetadata rawMetadata; in TEST_P() local 400 it.cameraId, [&status, &rawMetadata](auto s, const hidl_vec<uint8_t>& metadata) { in TEST_P() 402 bool cStatus = convertFromHidlCloned(metadata, &rawMetadata); in TEST_P() 406 EXPECT_FALSE(rawMetadata.isEmpty()); in TEST_P() 425 !doesCapabilityExist(rawMetadata, in TEST_P() 427 doesCapabilityExist(rawMetadata, ANDROID_REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT); in TEST_P() 431 bool isSecureOnlyCamera = isSecureOnlyDevice(rawMetadata); in TEST_P() 437 getStreamConfiguration(rawMetadata, ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, in TEST_P() [all …]
|
D | VtsAidlCameraServiceTargetTest.cpp | 257 static bool convertFromAidlCloned(const AidlCameraMetadata& metadata, CameraMetadata* rawMetadata) { in convertFromAidlCloned() argument 262 *rawMetadata = buffer; // assignment operator clones in convertFromAidlCloned() 397 CameraMetadata rawMetadata; in BasicCameraTests() local 404 bool cStatus = convertFromAidlCloned(aidlMetadata, &rawMetadata); in BasicCameraTests() 406 EXPECT_FALSE(rawMetadata.isEmpty()); in BasicCameraTests() 424 !doesCapabilityExist(rawMetadata, in BasicCameraTests() 426 doesCapabilityExist(rawMetadata, in BasicCameraTests() 431 bool isSecureOnlyCamera = isSecureOnlyDevice(rawMetadata); in BasicCameraTests() 438 rawMetadata, ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, in BasicCameraTests() 454 rawMetadata, ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS, in BasicCameraTests() [all …]
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 91 const camera_metadata_t *rawMetadata = metadata.getAndLock(); in init() local 92 metadata_vendor_id_t vendorTagId = get_camera_metadata_vendor_id(rawMetadata); in init() 93 metadata.unlock(rawMetadata); in init() 464 const camera_metadata_t* rawMetadata = mData->getAndLock(); in getTags() local 467 int ret = get_camera_metadata_ro_entry(rawMetadata, i, &entry); in getTags() 469 mData->unlock(rawMetadata); in getTags() 478 mData->unlock(rawMetadata); in getTags()
|
D | ACameraManager.cpp | 811 CameraMetadata rawMetadata; in getCameraCharacteristics() local 816 &rawMetadata); in getCameraCharacteristics() 833 rawMetadata.release(), ACameraMetadata::ACM_CHARACTERISTICS); in getCameraCharacteristics()
|
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/ |
D | DreamServiceTest.java | 97 final TypedArray rawMetadata = Mockito.mock(TypedArray.class); in testMetadataParsing_exceptionReading() local 99 .thenReturn(rawMetadata); in testMetadataParsing_exceptionReading() 100 when(rawMetadata.getString(anyInt())).thenThrow(new RuntimeException("failure")); in testMetadataParsing_exceptionReading()
|
/frameworks/av/services/camera/libcameraservice/aidl/ |
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 | AidlUtils.cpp | 256 const camera_metadata_t *rawMetadata = src.mPhysicalCameraMetadata.getAndLock(); in convertToAidl() local 258 size_t metadata_size = get_camera_metadata_size(rawMetadata); in convertToAidl() 260 if (fmq->write((int8_t *)rawMetadata, metadata_size)) { in convertToAidl() 265 cloneToAidl(rawMetadata, &metadata); in convertToAidl() 269 src.mPhysicalCameraMetadata.unlock(rawMetadata); in convertToAidl()
|
D | AidlCameraDeviceUser.cpp | 184 const camera_metadata_t* rawMetadata = metadata.getAndLock(); in createDefaultRequest() local 185 cloneToAidl(rawMetadata, _aidl_return); in createDefaultRequest() 186 metadata.unlock(rawMetadata); in createDefaultRequest()
|
D | AidlCameraService.cpp | 122 const camera_metadata_t* rawMetadata = cameraMetadata.getAndLock(); in getCameraCharacteristics() local 123 cloneToAidl(rawMetadata, _aidl_return); in getCameraCharacteristics() 124 cameraMetadata.unlock(rawMetadata); in getCameraCharacteristics()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothLeBroadcastMetadataExt.kt | 86 this.publicBroadcastMetadata?.rawMetadata?.size != 0) { in <lambda>() 88 this.publicBroadcastMetadata?.rawMetadata, Base64.NO_WRAP))) in <lambda>() 111 if (it.contentMetadata.rawMetadata.size != 0) { in <lambda>() 113 Base64.encodeToString(it.contentMetadata.rawMetadata, Base64.NO_WRAP))) in <lambda>()
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraManager.cpp | 769 AidlCameraMetadata rawMetadata; in getCameraCharacteristics() local 770 ScopedAStatus serviceRet = cs->getCameraCharacteristics(cameraIdStr, &rawMetadata); in getCameraCharacteristics() 786 ::android::acam::utils::cloneFromAidl(rawMetadata, &metadataBuffer); in getCameraCharacteristics() 860 const camera_metadata_t *rawMetadata = metadata.getAndLock(); in getTagFromName() local 861 metadata_vendor_id_t vendorTagId = get_camera_metadata_vendor_id(rawMetadata); in getTagFromName() 862 metadata.unlock(rawMetadata); in getTagFromName()
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamService.java | 1391 try (TypedArray rawMetadata = packageManager.extractPackageItemInfoAttributes(serviceInfo, in getDreamMetadata() argument 1394 if (rawMetadata == null) return null; in getDreamMetadata() 1398 rawMetadata.getString( in getDreamMetadata() 1401 rawMetadata.getDrawable( in getDreamMetadata() 1403 rawMetadata.getBoolean(R.styleable.Dream_showClockAndComplications, in getDreamMetadata() 1405 rawMetadata.getInt(R.styleable.Dream_dreamCategory, DREAM_CATEGORY_DEFAULT) in getDreamMetadata()
|
/frameworks/av/services/camera/libcameraservice/device3/aidl/ |
D | AidlCamera3Device.cpp | 1200 const camera_metadata_t* rawMetadata = cameraCharacteristics.getAndLock(); in configureInjectedStreams() local 1202 reinterpret_cast<uint8_t*>(const_cast<camera_metadata_t*>(rawMetadata)); in configureInjectedStreams() 1204 aidlChars.metadata.assign(aidlCharsP, aidlCharsP + get_camera_metadata_size(rawMetadata)); in configureInjectedStreams() 1205 cameraCharacteristics.unlock(rawMetadata); in configureInjectedStreams()
|
/frameworks/av/services/camera/libcameraservice/device3/hidl/ |
D | HidlCamera3Device.cpp | 1319 const camera_metadata_t* rawMetadata = cameraCharacteristics.getAndLock(); in configureInjectedStreams() local 1322 reinterpret_cast<uint8_t*>(const_cast<camera_metadata_t*>(rawMetadata)), in configureInjectedStreams() 1323 get_camera_metadata_size(rawMetadata)); in configureInjectedStreams() 1324 cameraCharacteristics.unlock(rawMetadata); in configureInjectedStreams()
|