/base/sensors/sensor/frameworks/native/sensor/src/ |
D | sensor_agent_proxy.cpp | 268 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/ |
D | sensor_hdi_connection.cpp | 94 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/ |
D | sensor_hdi_connection.h | 31 int32_t GetSensorList(std::vector<Sensor>& sensorList) override; 46 bool ExistSensor(const std::vector<Sensor>& sensorList, int32_t sensorId);
|
D | i_sensor_hdi_connection.h | 31 virtual int32_t GetSensorList(std::vector<Sensor>& sensorList) = 0;
|
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/ |
D | hdi_connection.cpp | 69 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()
|
D | compatible_connection.cpp | 40 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/ |
D | hdi_service_impl.h | 31 int32_t GetSensorList(std::vector<SensorInfo>& sensorList);
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/src/ |
D | sensor_hdi_connection.cpp | 63 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/ |
D | compatible_connection.h | 29 int32_t GetSensorList(std::vector<Sensor>& sensorList) override;
|
D | hdi_connection.h | 30 int32_t GetSensorList(std::vector<Sensor>& sensorList) override;
|
/base/sensors/sensor/services/sensor/hdi_connection/hardware/src/ |
D | hdi_service_impl.cpp | 59 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/ |
D | hdi_service_impl.cpp | 47 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/ |
D | hdi_service_impl.h | 34 int32_t GetSensorList(std::vector<SensorInformation>& sensorList);
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/include/ |
D | i_sensor_hdi_connection.h | 34 virtual int32_t GetSensorList(std::vector<MedicalSensor>& sensorList) = 0;
|
D | sensor_hdi_connection.h | 32 int32_t GetSensorList(std::vector<MedicalSensor>& sensorList) override;
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/include/ |
D | compatible_connection.h | 32 int32_t GetSensorList(std::vector<MedicalSensor>& sensorList) override;
|
D | hdi_connection.h | 33 int32_t GetSensorList(std::vector<MedicalSensor>& sensorList) override;
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/ |
D | hdi_connection.cpp | 72 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()
|
D | compatible_connection.cpp | 41 int32_t CompatibleConnection::GetSensorList(std::vector<MedicalSensor>& sensorList) in GetSensorList() argument 59 sensorList.push_back(sensor); in GetSensorList()
|