Home
last modified time | relevance | path

Searched refs:results (Results 1 – 25 of 41) sorted by relevance

12

/drivers/peripheral/camera/test/ut/v4l2/
Dmeta_data_test.cpp261 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/
Dcamera_device.cpp76 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/
Dcamera_device_service.cpp67 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/
Dhdi_device_test.cpp349 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 …]
Dhdi_callback_test.cpp124 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/
Ddcameradisableresult_fuzzer.cpp38 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/
Ddcameraenableresult_fuzzer.cpp38 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/
Ddcameradevicegetenabledresults_fuzzer.cpp35 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/
Ddcameradevicegetsettings_fuzzer.cpp35 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/
Ddcameradeviceupdatesettings_fuzzer.cpp35 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/
Dicamera_device_vdi.h45 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/
Ddcamera_device_test.cpp111 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/
Dcamera_device.h41 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/
Ddcamera_device.cpp169 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()
Ddmetadata_processor.cpp296 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/
Dcamera_device_service.h47 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/
Dcamera_device_c_if.h37 int (*EnableResult)(MetaTypeCIF* results, int count);
38 int (*DisableResult)(MetaTypeCIF* results, int count);
/drivers/peripheral/camera/vdi_base/v4l2/include/camera_device/
Dcamera_device_vdi_impl.h47 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/
Ddcamera_device.h48 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;
Ddmetadata_processor.h46 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/
DICameraDevice.idl82 * @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/
Dcamera_device_vdi_impl.cpp174 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/
DIExecutorCallback.idl33 …* @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/
DIExecutorCallback.idl33 * @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/
Dmetadata_controller.h39 int32_t GetEnabledAbility(std::vector<int32_t> &results);
40 int32_t DelEnabledAbility(const std::vector<int32_t> &results);

12