Home
last modified time | relevance | path

Searched refs:rawEntry (Results 1 – 3 of 3) sorted by relevance

/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsAidlCameraServiceTargetTest.cpp338 camera_metadata_ro_entry rawEntry = in doesCapabilityExist() local
340 EXPECT_TRUE(rawEntry.count > 0); in doesCapabilityExist()
341 for (size_t i = 0; i < rawEntry.count; i++) { in doesCapabilityExist()
342 if (rawEntry.data.u8[i] == capability) { in doesCapabilityExist()
350 camera_metadata_ro_entry rawEntry = in isSecureOnlyDevice() local
352 EXPECT_TRUE(rawEntry.count > 0); in isSecureOnlyDevice()
353 if (rawEntry.count == 1 && in isSecureOnlyDevice()
354 rawEntry.data.u8[0] == ANDROID_REQUEST_AVAILABLE_CAPABILITIES_SECURE_IMAGE_DATA) { in isSecureOnlyDevice()
365 camera_metadata_ro_entry rawEntry = characteristics.find(tag); in getStreamConfiguration() local
372 if (rawEntry.count < STREAM_CONFIG_SIZE) { in getStreamConfiguration()
[all …]
DVtsHalCameraServiceV2_0TargetTest.cpp329 camera_metadata_ro_entry rawEntry = in doesCapabilityExist() local
331 EXPECT_TRUE(rawEntry.count > 0); in doesCapabilityExist()
332 for (size_t i = 0; i < rawEntry.count; i++) { in doesCapabilityExist()
333 if (rawEntry.data.u8[i] == capability) { in doesCapabilityExist()
341 camera_metadata_ro_entry rawEntry = in isSecureOnlyDevice() local
343 EXPECT_TRUE(rawEntry.count > 0); in isSecureOnlyDevice()
344 if (rawEntry.count == 1 && in isSecureOnlyDevice()
345 rawEntry.data.u8[0] == ANDROID_REQUEST_AVAILABLE_CAPABILITIES_SECURE_IMAGE_DATA) { in isSecureOnlyDevice()
355 camera_metadata_ro_entry rawEntry = characteristics.find(tag); in getStreamConfiguration() local
362 if (rawEntry.count < STREAM_CONFIG_SIZE) { in getStreamConfiguration()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraMetadata.cpp416 camera_metadata_ro_entry rawEntry = static_cast<const CameraMetadata*>(mData.get())->find(tag); in getConstEntry() local
417 if (rawEntry.count == 0) { in getConstEntry()
421 entry->type = rawEntry.type; in getConstEntry()
422 entry->count = rawEntry.count; in getConstEntry()
423 entry->data.u8 = rawEntry.data.u8; in getConstEntry()