Home
last modified time | relevance | path

Searched refs:sensorList_ (Results 1 - 7 of 7) sorted by relevance

/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/src/
H A Dsensor_hdi_connection.cpp55 ret = iSensorHdiConnection_->GetSensorList(sensorList_); in connectHdiService()
65 sensorList.assign(sensorList_.begin(), sensorList_.end()); in GetSensorList()
/base/sensors/medical_sensor/interfaces/native/src/
H A Dmedical_native_impl.cpp127 std::vector<OHOS::Sensors::MedicalSensor> sensorList_ = client.GetSensorList(); in GetAllSensors() local
128 if (sensorList_.empty()) { in GetAllSensors()
132 *count = sensorList_.size(); in GetAllSensors()
140 sensorList_[index].GetName().c_str()); in GetAllSensors()
145 ret = strcpy_s((*sensorInfo + index)->vendorName, AFE_NAME_MAX_LEN2, sensorList_[index].GetVendor().c_str()); in GetAllSensors()
150 const char *version = std::to_string(sensorList_[index].GetVersion()).c_str(); in GetAllSensors()
156 (*sensorInfo + index)->sensorId = sensorList_[index].GetSensorId(); in GetAllSensors()
157 (*sensorInfo + index)->sensorTypeId = sensorList_[index].GetSensorId(); in GetAllSensors()
/base/sensors/sensor/services/hdi_connection/interface/src/
H A Dsensor_hdi_connection.cpp89 ret = iSensorHdiConnection_->GetSensorList(sensorList_); in ConnectHdiService()
94 for (const auto &sensor : sensorList_) { in ConnectHdiService()
206 sensorList.assign(sensorList_.begin(), sensorList_.end()); in GetSensorList()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/include/
H A Dsensor_hdi_connection.h53 std::vector<MedicalSensor> sensorList_; member in OHOS::Sensors::SensorHdiConnection
/base/sensors/sensor/frameworks/native/src/
H A Dsensor_service_client.cpp97 sensorList_ = sensorServer_->GetSensorList(); in InitServiceClient()
119 if (sensorList_.empty()) { in IsValid()
120 SEN_HILOGE("sensorList_ cannot be empty"); in IsValid()
123 for (auto &sensor : sensorList_) { in IsValid()
186 if (sensorList_.empty()) { in GetSensorList()
187 SEN_HILOGE("sensorList_ cannot be empty"); in GetSensorList()
189 return sensorList_; in GetSensorList()
/base/sensors/sensor/frameworks/native/include/
H A Dsensor_service_client.h68 std::vector<Sensor> sensorList_; member in OHOS::Sensors::SensorServiceClient
/base/sensors/sensor/services/hdi_connection/interface/include/
H A Dsensor_hdi_connection.h45 std::vector<Sensor> sensorList_; member in OHOS::Sensors::SensorHdiConnection

Completed in 4 milliseconds