Home
last modified time | relevance | path

Searched refs:sensorList (Results 1 – 19 of 19) sorted by relevance

/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_agent_proxy.cpp268 std::vector<Sensor> sensorList = SenClient.GetSensorList(); in ConvertSensorInfos() local
269 if (sensorList.empty()) { in ConvertSensorInfos()
273 size_t count = sensorList.size(); in ConvertSensorInfos()
283 sensorList[i].GetSensorName().c_str()); in ConvertSensorInfos()
286 sensorList[i].GetVendorName().c_str()); in ConvertSensorInfos()
289 sensorList[i].GetHardwareVersion().c_str()); in ConvertSensorInfos()
292 sensorList[i].GetFirmwareVersion().c_str()); in ConvertSensorInfos()
294 sensorInfo->sensorId = sensorList[i].GetSensorId(); in ConvertSensorInfos()
295 sensorInfo->sensorTypeId = sensorList[i].GetSensorTypeId(); in ConvertSensorInfos()
296 sensorInfo->maxRange = sensorList[i].GetMaxRange(); in ConvertSensorInfos()
[all …]
/base/sensors/sensor/services/sensor/hdi_connection/interface/src/
Dsensor_hdi_connection.cpp94 bool SensorHdiConnection::ExistSensor(const std::vector<Sensor>& sensorList, int32_t sensorId) in ExistSensor() argument
96 return std::any_of(sensorList.begin(), sensorList.end(), [sensorId] (const Sensor &sensor) { in ExistSensor()
101 int32_t SensorHdiConnection::GetSensorList(std::vector<Sensor>& sensorList) in GetSensorList() argument
103 sensorList.assign(sensorList_.begin(), sensorList_.end()); in GetSensorList()
119 sensorList.push_back(sensorColor); in GetSensorList()
132 sensorList.push_back(sensorSar); in GetSensorList()
/base/sensors/sensor/services/sensor/hdi_connection/interface/include/
Dsensor_hdi_connection.h31 int32_t GetSensorList(std::vector<Sensor>& sensorList) override;
46 bool ExistSensor(const std::vector<Sensor>& sensorList, int32_t sensorId);
Di_sensor_hdi_connection.h31 virtual int32_t GetSensorList(std::vector<Sensor>& sensorList) = 0;
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/
Dhdi_connection.cpp69 int32_t HdiConnection::GetSensorList(std::vector<Sensor>& sensorList) in GetSensorList() argument
99 sensorList.push_back(sensor); in GetSensorList()
281 std::vector<Sensor> sensorList; in Reconnect() local
282 ret = GetSensorList(sensorList); in Reconnect()
Dcompatible_connection.cpp40 int32_t CompatibleConnection::GetSensorList(std::vector<Sensor>& sensorList) in GetSensorList() argument
72 sensorList.push_back(sensor); in GetSensorList()
/base/sensors/sensor/services/sensor/hdi_connection/hardware/include/
Dhdi_service_impl.h31 int32_t GetSensorList(std::vector<SensorInfo>& sensorList);
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/src/
Dsensor_hdi_connection.cpp63 int32_t SensorHdiConnection::GetSensorList(std::vector<MedicalSensor>& sensorList) in GetSensorList() argument
65 sensorList.assign(sensorList_.begin(), sensorList_.end()); in GetSensorList()
/base/sensors/sensor/services/sensor/hdi_connection/adapter/include/
Dcompatible_connection.h29 int32_t GetSensorList(std::vector<Sensor>& sensorList) override;
Dhdi_connection.h30 int32_t GetSensorList(std::vector<Sensor>& sensorList) override;
/base/sensors/sensor/services/sensor/hdi_connection/hardware/src/
Dhdi_service_impl.cpp59 int32_t HdiServiceImpl::GetSensorList(std::vector<SensorInfo>& sensorList) in GetSensorList() argument
62 sensorList.assign(g_sensorInfos.begin(), g_sensorInfos.end()); in GetSensorList()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/src/
Dhdi_service_impl.cpp47 int32_t HdiServiceImpl::GetSensorList(std::vector<SensorInformation>& sensorList) in GetSensorList() argument
50 sensorList.assign(g_sensorInfos.begin(), g_sensorInfos.end()); in GetSensorList()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/include/
Dhdi_service_impl.h34 int32_t GetSensorList(std::vector<SensorInformation>& sensorList);
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/include/
Di_sensor_hdi_connection.h34 virtual int32_t GetSensorList(std::vector<MedicalSensor>& sensorList) = 0;
Dsensor_hdi_connection.h32 int32_t GetSensorList(std::vector<MedicalSensor>& sensorList) override;
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/include/
Dcompatible_connection.h32 int32_t GetSensorList(std::vector<MedicalSensor>& sensorList) override;
Dhdi_connection.h33 int32_t GetSensorList(std::vector<MedicalSensor>& sensorList) override;
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/
Dhdi_connection.cpp72 int32_t HdiConnection::GetSensorList(std::vector<MedicalSensor>& sensorList) in GetSensorList() argument
95 sensorList.push_back(sensor); in GetSensorList()
311 std::vector<MedicalSensor> sensorList; in reconnect() local
312 ret = GetSensorList(sensorList); in reconnect()
Dcompatible_connection.cpp41 int32_t CompatibleConnection::GetSensorList(std::vector<MedicalSensor>& sensorList) in GetSensorList() argument
59 sensorList.push_back(sensor); in GetSensorList()