Home
last modified time | relevance | path

Searched refs:characteristics (Results 1 – 25 of 99) sorted by relevance

1234

/hardware/google/camera/common/hal/tests/
Dmock_device_hwl.h51 std::unique_ptr<HalCameraMetadata>* characteristics) const { in GetCameraCharacteristics() argument
52 if (characteristics == nullptr) { in GetCameraCharacteristics()
56 *characteristics = HalCameraMetadata::Clone(characteristics_.get()); in GetCameraCharacteristics()
57 if (*characteristics == nullptr) { in GetCameraCharacteristics()
65 std::unique_ptr<HalCameraMetadata>& characteristics) const { in GetSessionCharacteristics() argument
66 characteristics = HalCameraMetadata::Clone(characteristics_.get()); in GetSessionCharacteristics()
67 if (characteristics.get() == nullptr) { in GetSessionCharacteristics()
75 std::unique_ptr<HalCameraMetadata>* characteristics) const { in GetPhysicalCameraCharacteristics() argument
76 if (characteristics == nullptr) { in GetPhysicalCameraCharacteristics()
86 *characteristics = in GetPhysicalCameraCharacteristics()
Dmock_device_session_hwl.cc218 std::unique_ptr<HalCameraMetadata>* characteristics) const { in GetCameraCharacteristics()
219 if (characteristics == nullptr) { in GetCameraCharacteristics()
223 (*characteristics) = HalCameraMetadata::Create(/*num_entries=*/0, in GetCameraCharacteristics()
226 if (*characteristics == nullptr) { in GetCameraCharacteristics()
235 std::unique_ptr<HalCameraMetadata>* characteristics) const { in GetPhysicalCameraCharacteristics()
236 if (characteristics == nullptr) { in GetPhysicalCameraCharacteristics()
240 (*characteristics) = HalCameraMetadata::Create(/*num_entries=*/0, in GetPhysicalCameraCharacteristics()
243 if (*characteristics == nullptr) { in GetPhysicalCameraCharacteristics()
Dmock_device_session_hwl.h80 std::unique_ptr<HalCameraMetadata>* characteristics) const override;
84 std::unique_ptr<HalCameraMetadata>* characteristics) const override;
171 status_t(std::unique_ptr<HalCameraMetadata>* characteristics));
176 std::unique_ptr<HalCameraMetadata>* characteristics));
/hardware/google/camera/common/hal/utils/
Dhal_utils.h58 bool IsIrCamera(const HalCameraMetadata* characteristics);
61 bool IsMonoCamera(const HalCameraMetadata* characteristics);
64 bool IsBayerCamera(const HalCameraMetadata* characteristics);
71 bool IsFixedFocusCamera(const HalCameraMetadata* characteristics);
75 const HalCameraMetadata* characteristics);
Dutils.cc163 status_t GetSensorPhysicalSize(const HalCameraMetadata* characteristics, in GetSensorPhysicalSize() argument
165 if (characteristics == nullptr || width == nullptr || height == nullptr) { in GetSensorPhysicalSize()
171 status_t res = characteristics->Get(ANDROID_SENSOR_INFO_PHYSICAL_SIZE, &entry); in GetSensorPhysicalSize()
203 status_t GetSensorActiveArraySize(const HalCameraMetadata* characteristics, in GetSensorActiveArraySize() argument
205 if (characteristics == nullptr || active_array == nullptr) { in GetSensorActiveArraySize()
214 status_t res = characteristics->Get(active_array_tag, &entry); in GetSensorActiveArraySize()
227 status_t GetZoomRatioRange(const HalCameraMetadata* characteristics, in GetZoomRatioRange() argument
229 if (characteristics == nullptr || zoom_ratio_range == nullptr) { in GetZoomRatioRange()
235 status_t res = characteristics->Get(ANDROID_CONTROL_ZOOM_RATIO_RANGE, &entry); in GetZoomRatioRange()
250 status_t GetSensorPixelArraySize(const HalCameraMetadata* characteristics, in GetSensorPixelArraySize() argument
[all …]
Dutils.h49 status_t GetSensorPhysicalSize(const HalCameraMetadata* characteristics,
52 status_t GetSensorActiveArraySize(const HalCameraMetadata* characteristics,
56 status_t GetSensorPixelArraySize(const HalCameraMetadata* characteristics,
59 status_t GetFocalLength(const HalCameraMetadata* characteristics,
62 status_t GetZoomRatioRange(const HalCameraMetadata* characteristics,
Dhal_utils.cc161 const HalCameraMetadata* characteristics, uint8_t* cfa) { in GetColorFilterArrangement() argument
162 if (characteristics == nullptr || cfa == nullptr) { in GetColorFilterArrangement()
164 characteristics, cfa); in GetColorFilterArrangement()
169 status_t res = characteristics->Get( in GetColorFilterArrangement()
181 bool IsIrCamera(const HalCameraMetadata* characteristics) { in IsIrCamera() argument
183 status_t res = GetColorFilterArrangement(characteristics, &cfa); in IsIrCamera()
193 bool IsMonoCamera(const HalCameraMetadata* characteristics) { in IsMonoCamera() argument
195 status_t res = GetColorFilterArrangement(characteristics, &cfa); in IsMonoCamera()
205 bool IsBayerCamera(const HalCameraMetadata* characteristics) { in IsBayerCamera() argument
207 status_t res = GetColorFilterArrangement(characteristics, &cfa); in IsBayerCamera()
[all …]
Dhdrplus_request_processor.cc60 std::unique_ptr<HalCameraMetadata> characteristics; in Initialize() local
66 kCameraId, &characteristics); in Initialize()
72 res = device_session_hwl->GetCameraCharacteristics(&characteristics); in Initialize()
80 res = characteristics->Get( in Initialize()
93 res = characteristics->Get(VendorTagIds::kHdrplusPayloadFrames, &entry); in Initialize()
/hardware/interfaces/automotive/evs/1.1/default/
DConfigManager.h56 CameraInfo() : characteristics(nullptr) { /* Nothing to do */ in CameraInfo()
59 virtual ~CameraInfo() { free_camera_metadata(characteristics); } in ~CameraInfo()
63 if (characteristics != nullptr) { in allocate()
68 characteristics = allocate_camera_metadata(entry_cap, data_cap); in allocate()
69 return characteristics != nullptr; in allocate()
92 camera_metadata_t* characteristics; variable
DConfigManager.cpp300 int32_t err = add_camera_metadata_entry(aCamera->characteristics, in constructCameraMetadata()
312 int32_t err = add_camera_metadata_entry(aCamera->characteristics, tag, entry.first.get(), in constructCameraMetadata()
319 (long)get_camera_metadata_entry_count(aCamera->characteristics), in constructCameraMetadata()
320 (long)get_camera_metadata_entry_capacity(aCamera->characteristics), in constructCameraMetadata()
321 (long)get_camera_metadata_data_count(aCamera->characteristics), in constructCameraMetadata()
322 (long)get_camera_metadata_data_capacity(aCamera->characteristics)); in constructCameraMetadata()
331 (long)get_camera_metadata_entry_count(aCamera->characteristics), in constructCameraMetadata()
332 (long)get_camera_metadata_entry_capacity(aCamera->characteristics), in constructCameraMetadata()
333 (long)get_camera_metadata_data_count(aCamera->characteristics), in constructCameraMetadata()
334 (long)get_camera_metadata_data_capacity(aCamera->characteristics)); in constructCameraMetadata()
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DConfigManager.cpp361 aCamera->characteristics, ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, data.get(), in constructCameraMetadata()
373 add_camera_metadata_entry(aCamera->characteristics, tag, entry.first, entry.second); in constructCameraMetadata()
379 << get_camera_metadata_entry_count(aCamera->characteristics) << " / " in constructCameraMetadata()
380 << get_camera_metadata_entry_capacity(aCamera->characteristics) in constructCameraMetadata()
382 << get_camera_metadata_data_count(aCamera->characteristics) << " / " in constructCameraMetadata()
383 << get_camera_metadata_data_capacity(aCamera->characteristics) in constructCameraMetadata()
393 << get_camera_metadata_entry_count(aCamera->characteristics) << " / " in constructCameraMetadata()
394 << get_camera_metadata_entry_capacity(aCamera->characteristics) << " entries and " in constructCameraMetadata()
395 << get_camera_metadata_data_count(aCamera->characteristics) << " / " in constructCameraMetadata()
396 << get_camera_metadata_data_capacity(aCamera->characteristics) in constructCameraMetadata()
[all …]
/hardware/interfaces/keymaster/4.1/vts/functional/
DEarlyBootKeyTest.cpp52 EXPECT_TRUE(contains(aesKeyData.characteristics.hardwareEnforced, TAG_EARLY_BOOT_ONLY)); in TEST_P()
53 EXPECT_TRUE(contains(hmacKeyData.characteristics.hardwareEnforced, TAG_EARLY_BOOT_ONLY)); in TEST_P()
54 EXPECT_TRUE(contains(rsaKeyData.characteristics.hardwareEnforced, TAG_EARLY_BOOT_ONLY)); in TEST_P()
55 EXPECT_TRUE(contains(ecdsaKeyData.characteristics.hardwareEnforced, TAG_EARLY_BOOT_ONLY)); in TEST_P()
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedCameraDeviceHWLImpl.cpp126 std::unique_ptr<HalCameraMetadata>* characteristics) const { in GetCameraCharacteristics()
127 if (characteristics == nullptr) { in GetCameraCharacteristics()
131 *characteristics = HalCameraMetadata::Clone(static_metadata_.get()); in GetCameraCharacteristics()
142 std::unique_ptr<HalCameraMetadata>& characteristics) const { in GetSessionCharacteristics()
143 characteristics = HalCameraMetadata::Clone(static_metadata_.get()); in GetSessionCharacteristics()
162 std::unique_ptr<HalCameraMetadata>* characteristics) const { in GetPhysicalCameraCharacteristics()
163 if (characteristics == nullptr) { in GetPhysicalCameraCharacteristics()
179 *characteristics = HalCameraMetadata::Clone( in GetPhysicalCameraCharacteristics()
DEmulatedSensor.cpp211 const SensorCharacteristics& characteristics) { in AreCharacteristicsSupported() argument
212 if ((characteristics.width == 0) || (characteristics.height == 0)) { in AreCharacteristicsSupported()
214 characteristics.width, characteristics.height); in AreCharacteristicsSupported()
218 if ((characteristics.full_res_width == 0) || in AreCharacteristicsSupported()
219 (characteristics.full_res_height == 0)) { in AreCharacteristicsSupported()
221 characteristics.full_res_width, characteristics.full_res_height); in AreCharacteristicsSupported()
225 if (characteristics.is_10bit_dynamic_range_capable) { in AreCharacteristicsSupported()
227 const auto& hlg10_entry = characteristics.dynamic_range_profiles.find( in AreCharacteristicsSupported()
229 if ((characteristics.dynamic_range_profiles.size() != 1) || in AreCharacteristicsSupported()
230 (hlg10_entry == characteristics.dynamic_range_profiles.end())) { in AreCharacteristicsSupported()
[all …]
DEmulatedCameraDeviceHWLImpl.h58 std::unique_ptr<HalCameraMetadata>* characteristics) const override;
62 std::unique_ptr<HalCameraMetadata>& characteristics) const override;
68 std::unique_ptr<HalCameraMetadata>* characteristics) const override;
/hardware/google/camera/common/hal/hwl_interface/
Dcamera_device_hwl.h50 std::unique_ptr<HalCameraMetadata>* characteristics) const = 0;
65 std::unique_ptr<HalCameraMetadata>& characteristics) const = 0;
71 std::unique_ptr<HalCameraMetadata>* characteristics) const = 0;
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DConfigManager.h68 CameraInfo() : characteristics(nullptr) {} in CameraInfo()
74 if (characteristics != nullptr) { in allocate()
79 characteristics = allocate_camera_metadata(entry_cap, data_cap); in allocate()
80 return characteristics != nullptr; in allocate()
107 camera_metadata_t* characteristics; variable
/hardware/libhardware/include_all/hardware/
Dkeymaster2.h115 keymaster_key_characteristics_t* characteristics);
143 keymaster_key_characteristics_t* characteristics);
191 keymaster_key_characteristics_t* characteristics);
Dkeymaster1.h285 keymaster_key_characteristics_t** characteristics);
313 keymaster_key_characteristics_t** characteristics);
362 keymaster_key_characteristics_t** characteristics);
/hardware/libhardware/include/hardware/
Dkeymaster2.h115 keymaster_key_characteristics_t* characteristics);
143 keymaster_key_characteristics_t* characteristics);
191 keymaster_key_characteristics_t* characteristics);
Dkeymaster1.h285 keymaster_key_characteristics_t** characteristics);
313 keymaster_key_characteristics_t** characteristics);
362 keymaster_key_characteristics_t** characteristics);
/hardware/google/camera/common/hal/google_camera_hal/
Drealtime_zsl_request_processor.cc48 std::unique_ptr<HalCameraMetadata> characteristics; in SelectWidthAndHeight() local
49 status_t res = device_session_hwl.GetCameraCharacteristics(&characteristics); in SelectWidthAndHeight()
56 res = characteristics->Get(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, in SelectWidthAndHeight()
150 std::unique_ptr<HalCameraMetadata> characteristics; in Initialize() local
151 status_t res = device_session_hwl->GetCameraCharacteristics(&characteristics); in Initialize()
158 res = characteristics->Get( in Initialize()
171 res = characteristics->Get(VendorTagIds::kHdrUsageMode, &entry); in Initialize()
Dcamera_device.cc207 std::unique_ptr<HalCameraMetadata>* characteristics) { in GetCameraCharacteristics() argument
209 status_t res = camera_device_hwl_->GetCameraCharacteristics(characteristics); in GetCameraCharacteristics()
216 return hal_vendor_tag_utils::ModifyCharacteristicsKeys(characteristics->get()); in GetCameraCharacteristics()
290 std::unique_ptr<HalCameraMetadata>* characteristics) { in GetPhysicalCameraCharacteristics() argument
293 physical_camera_id, characteristics); in GetPhysicalCameraCharacteristics()
300 return hal_vendor_tag_utils::ModifyCharacteristicsKeys(characteristics->get()); in GetPhysicalCameraCharacteristics()
Dcamera_device.h53 std::unique_ptr<HalCameraMetadata>* characteristics);
76 std::unique_ptr<HalCameraMetadata>* characteristics);
/hardware/google/camera/common/hal/aidl_service/
Daidl_camera_device.h65 CameraMetadata* characteristics) override;
69 CameraMetadata* characteristics) override;
97 CameraMetadata* characteristics) override;

1234