/drivers/peripheral/camera/test/ut/v4l2/ |
D | meta_data_test.cpp | 261 void MetaDataTest::Prepare(ResultCallbackMode mode, std::vector<MetaType> &results) in Prepare() argument 266 if (results.size() == 0) { in Prepare() 270 cameraBase_->cameraDevice->EnableResult(results); in Prepare() 303 std::vector<MetaType> results; variable 304 results.push_back(OHOS_CAMERA_STREAM_ID); 305 results.push_back(OHOS_CONTROL_FPS_RANGES); 306 Prepare(ResultCallbackMode::PER_FRAME, results); 333 std::vector<MetaType> results; variable 334 results.push_back(OHOS_CAMERA_STREAM_ID); 335 results.push_back(OHOS_CONTROL_FPS_RANGES); [all …]
|
/drivers/peripheral/camera/hal_c/hdi_cif/src/ |
D | camera_device.cpp | 76 CamRetCode CameraDevice::GetEnabledResults(std::vector<MetaType>& results) in GetEnabledResults() argument 86 results.push_back(meta[i]); in GetEnabledResults() 92 CamRetCode CameraDevice::EnableResult(const std::vector<MetaType>& results) in EnableResult() argument 98 int count = results.size(); in EnableResult() 107 meta[i] = results[i]; in EnableResult() 113 CamRetCode CameraDevice::DisableResult(const std::vector<MetaType>& results) in DisableResult() argument 119 int count = results.size(); in DisableResult() 128 meta[i] = results[i]; in DisableResult()
|
/drivers/peripheral/camera/hdi_service/v1_0/src/ |
D | camera_device_service.cpp | 67 int32_t CameraDeviceService::GetEnabledResults(std::vector<int32_t> &results) in GetEnabledResults() argument 70 return cameraDeviceServiceVdi_->GetEnabledResults(results); in GetEnabledResults() 73 int32_t CameraDeviceService::EnableResult(const std::vector<int32_t> &results) in EnableResult() argument 76 return cameraDeviceServiceVdi_->EnableResult(results); in EnableResult() 79 int32_t CameraDeviceService::DisableResult(const std::vector<int32_t> &results) in DisableResult() argument 82 return cameraDeviceServiceVdi_->DisableResult(results); in DisableResult()
|
/drivers/peripheral/camera/test/mpi/src/ |
D | hdi_device_test.cpp | 349 std::vector<Camera::MetaType> results; variable 350 Test_->rc = Test_->cameraDevice->GetEnabledResults(results); 353 for (int i=0; i<results.size(); ++i) { 354 std::cout << results.at(i) << std::endl; 390 std::vector<Camera::MetaType> results; variable 391 results.push_back(OHOS_SENSOR_EXPOSURE_TIME); 392 results.push_back(OHOS_SENSOR_COLOR_CORRECTION_GAINS); 393 Test_->rc = Test_->cameraDevice->EnableResult(results); 405 Test_->rc = Test_->cameraDevice->GetEnabledResults(results); 414 Test_->rc = Test_->cameraDevice->GetEnabledResults(results); [all …]
|
D | hdi_callback_test.cpp | 124 std::vector<Camera::MetaType> results; variable 125 results.push_back(OHOS_SENSOR_EXPOSURE_TIME); 126 results.push_back(OHOS_SENSOR_COLOR_CORRECTION_GAINS); 127 Test_->rc = Test_->cameraDevice->EnableResult(results);
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameradisableresult_fuzzer/ |
D | dcameradisableresult_fuzzer.cpp | 38 std::vector<int32_t> results; in DcameraDisableResultFuzzTest() local 39 results.push_back(*(reinterpret_cast<const int*>(data))); in DcameraDisableResultFuzzTest() 46 dcameraDevice->DisableResult(results); in DcameraDisableResultFuzzTest()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraenableresult_fuzzer/ |
D | dcameraenableresult_fuzzer.cpp | 38 std::vector<int32_t> results; in DcameraEnableResultFuzzTest() local 39 results.push_back(*(reinterpret_cast<const int*>(data))); in DcameraEnableResultFuzzTest() 46 dcameraDevice->EnableResult(results); in DcameraEnableResultFuzzTest()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameradevicegetenabledresults_fuzzer/ |
D | dcameradevicegetenabledresults_fuzzer.cpp | 35 std::vector<int32_t> results; in DcameraDeviceGetEnabledResultsFuzzTest() local 36 results.push_back(*(reinterpret_cast<const int32_t*>(data))); in DcameraDeviceGetEnabledResultsFuzzTest() 43 dcameraDevice->GetEnabledResults(results); in DcameraDeviceGetEnabledResultsFuzzTest()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameradevicegetsettings_fuzzer/ |
D | dcameradevicegetsettings_fuzzer.cpp | 35 std::vector<uint8_t> results; in DcameraDeviceGetSettingsFuzzTest() local 36 results.push_back(*(reinterpret_cast<const uint8_t*>(data))); in DcameraDeviceGetSettingsFuzzTest() 43 dcameraDevice->GetSettings(results); in DcameraDeviceGetSettingsFuzzTest()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameradeviceupdatesettings_fuzzer/ |
D | dcameradeviceupdatesettings_fuzzer.cpp | 35 std::vector<uint8_t> results; in DcameraDeviceUpdateSettingsFuzzTest() local 36 results.push_back(*(reinterpret_cast<const uint8_t*>(data))); in DcameraDeviceUpdateSettingsFuzzTest() 43 dcameraDevice->UpdateSettings(results); in DcameraDeviceUpdateSettingsFuzzTest()
|
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/ |
D | icamera_device_vdi.h | 45 virtual int32_t GetEnabledResults(std::vector<int32_t> &results) = 0; 47 virtual int32_t EnableResult(const std::vector<int32_t> &results) = 0; 49 virtual int32_t DisableResult(const std::vector<int32_t> &results) = 0;
|
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dcamera_device/ |
D | dcamera_device_test.cpp | 111 std::vector<int32_t> results; variable 112 int32_t rc = dcameraDevice_->GetEnabledResults(results); 130 std::vector<int32_t> results; variable 131 rc = dcameraDevice_->GetEnabledResults(results);
|
/drivers/peripheral/camera/hal_c/hdi_cif/include/ |
D | camera_device.h | 41 CamRetCode GetEnabledResults(std::vector<MetaType>& results) override; 42 CamRetCode EnableResult(const std::vector<MetaType>& results) override; 43 CamRetCode DisableResult(const std::vector<MetaType>& results) override;
|
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/ |
D | dcamera_device.cpp | 169 int32_t DCameraDevice::GetEnabledResults(std::vector<int32_t> &results) in GetEnabledResults() argument 176 DCamRetCode ret = dMetadataProcessor_->GetEnabledMetadataResults(results); in GetEnabledResults() 183 int32_t DCameraDevice::EnableResult(const std::vector<int32_t> &results) in EnableResult() argument 185 if (results.empty() || results.size() > METADATA_CAPACITY_MAX_SIZE) { in EnableResult() 195 DCamRetCode ret = dMetadataProcessor_->EnableMetadataResult(results); in EnableResult() 202 std::reverse_copy(results.begin(), results.end(), ostream_iterator<int32_t>(sstream, "")); in EnableResult() 218 int32_t DCameraDevice::DisableResult(const std::vector<int32_t> &results) in DisableResult() argument 220 if (results.empty() || results.size() > METADATA_CAPACITY_MAX_SIZE) { in DisableResult() 230 DCamRetCode ret = dMetadataProcessor_->DisableMetadataResult(results); in DisableResult() 237 std::reverse_copy(results.begin(), results.end(), ostream_iterator<int32_t>(sstream, "")); in DisableResult()
|
D | dmetadata_processor.cpp | 296 DCamRetCode DMetadataProcessor::GetEnabledMetadataResults(std::vector<MetaType> &results) in GetEnabledMetadataResults() argument 300 results.push_back(*iter); in GetEnabledMetadataResults() 306 DCamRetCode DMetadataProcessor::EnableMetadataResult(const std::vector<MetaType> &results) in EnableMetadataResult() argument 308 if (results.size() == 0) { in EnableMetadataResult() 313 for (size_t i = 0; i < results.size(); i++) { in EnableMetadataResult() 314 auto iter = allResultSet_.find(results[i]); in EnableMetadataResult() 316 auto anoIter = enabledResultSet_.find(results[i]); in EnableMetadataResult() 318 enabledResultSet_.insert(results[i]); in EnableMetadataResult() 328 DCamRetCode DMetadataProcessor::DisableMetadataResult(const std::vector<MetaType> &results) in DisableMetadataResult() argument 330 if (results.size() == 0) { in DisableMetadataResult() [all …]
|
/drivers/peripheral/camera/hdi_service/v1_0/include/ |
D | camera_device_service.h | 47 int32_t GetEnabledResults(std::vector<int32_t> &results) override; 48 int32_t EnableResult(const std::vector<int32_t> &results) override; 49 int32_t DisableResult(const std::vector<int32_t> &results) override;
|
/drivers/peripheral/camera/hal_c/include/ |
D | camera_device_c_if.h | 37 int (*EnableResult)(MetaTypeCIF* results, int count); 38 int (*DisableResult)(MetaTypeCIF* results, int count);
|
/drivers/peripheral/camera/vdi_base/v4l2/include/camera_device/ |
D | camera_device_vdi_impl.h | 47 int32_t GetEnabledResults(std::vector<int32_t> &results) override; 48 int32_t EnableResult(const std::vector<int32_t> &results) override; 49 int32_t DisableResult(const std::vector<int32_t> &results) override;
|
/drivers/peripheral/distributed_camera/hdi_service/include/dcamera_device/ |
D | dcamera_device.h | 48 int32_t GetEnabledResults(std::vector<int32_t> &results) override; 49 int32_t EnableResult(const std::vector<int32_t> &results) override; 50 int32_t DisableResult(const std::vector<int32_t> &results) override;
|
D | dmetadata_processor.h | 46 DCamRetCode GetEnabledMetadataResults(std::vector<MetaType> &results); 47 DCamRetCode EnableMetadataResult(const std::vector<MetaType> &results); 48 DCamRetCode DisableMetadataResult(const std::vector<MetaType> &results);
|
/drivers/interface/camera/v1_0/ |
D | ICameraDevice.idl | 82 * @param results Indicates all enabled metadata. 90 GetEnabledResults([out] int[] results); 97 * @param results Indicates the metadata for which reporting is to be enabled. 105 EnableResult([in] int[] results); 113 * @param results Indicates the metadata for which reporting is to be disabled. 121 DisableResult([in] int[] results);
|
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_device/ |
D | camera_device_vdi_impl.cpp | 174 int32_t CameraDeviceVdiImpl::GetEnabledResults(std::vector<int32_t> &results) in GetEnabledResults() argument 189 metaDataController.GetEnabledAbility(results); in GetEnabledResults() 233 int32_t CameraDeviceVdiImpl::EnableResult(const std::vector<int32_t> &results) in EnableResult() argument 239 for (auto &metaType : results) { in EnableResult() 253 int32_t CameraDeviceVdiImpl::DisableResult(const std::vector<int32_t> &results) in DisableResult() argument 260 for (auto &metaType : results) { in DisableResult() 270 metaDataController.DelEnabledAbility(results); in DisableResult()
|
/drivers/interface/face_auth/v1_0/ |
D | IExecutorCallback.idl | 33 …* @brief Defines the callback for an async API, which can be used to report operation results or i… 42 …* @brief Defines the callback for an async API, which can be used to report operation results or i… 50 * @brief Defines the function for reporting operation results.
|
/drivers/interface/pin_auth/v1_0/ |
D | IExecutorCallback.idl | 33 * @brief Defines the callback for an async API, which can be used to report operation results or 42 * @brief Defines the callback for an async API, which can be used to report operation results or 50 * @brief Defines the function for reporting operation results.
|
/drivers/peripheral/camera/vdi_base/common/metadata_manager/include/ |
D | metadata_controller.h | 39 int32_t GetEnabledAbility(std::vector<int32_t> &results); 40 int32_t DelEnabledAbility(const std::vector<int32_t> &results);
|