Home
last modified time | relevance | path

Searched defs:sensorId (Results 1 – 25 of 44) sorted by relevance

12

/base/sensors/sensor_lite/frameworks/src/
Dsensor_agent_client.c45 int32_t ActivateSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *sensorUser) in ActivateSensorByProxy()
55 int32_t DeactivateSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *sensorUser) in DeactivateSensorByProxy()
65 int32_t SetBatchByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int64_t sampli… in SetBatchByProxy()
76 int32_t SubscribeSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *sensorUser) in SubscribeSensorByProxy()
86 int32_t UnsubscribeSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *sensorUser) in UnsubscribeSensorByProxy()
96 int32_t SetModeByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int32_t mode) in SetModeByProxy()
106 int32_t SetOptionByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int32_t optio… in SetOptionByProxy()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/src/
Dhdi_service_impl.cpp68 int32_t HdiServiceImpl::EnableSensor(uint32_t sensorId) in EnableSensor()
95 int32_t HdiServiceImpl::DisableSensor(uint32_t sensorId) in DisableSensor()
114 int32_t HdiServiceImpl::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch()
126 int32_t HdiServiceImpl::SetMode(int32_t sensorId, int32_t mode) in SetMode()
131 int32_t HdiServiceImpl::RunCommand(uint32_t sensorId, int32_t cmd, int32_t params) in RunCommand()
136 int32_t HdiServiceImpl::SetOption(int32_t sensorId, uint32_t option) in SetOption()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/src/
Dsensor_hdi_connection.cpp69 int32_t SensorHdiConnection::EnableSensor(int32_t sensorId) in EnableSensor()
79 int32_t SensorHdiConnection::DisableSensor(int32_t sensorId) in DisableSensor()
89 int32_t SensorHdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInt… in SetBatch()
99 int32_t SensorHdiConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
109 int32_t SensorHdiConnection::SetOption(int32_t sensorId, int32_t option) in SetOption()
119 int32_t SensorHdiConnection::RunCommand(int32_t sensorId, int32_t cmd, int32_t params) in RunCommand()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/
Dcompatible_connection.cpp52 const int32_t sensorId = sensorInfos[i].sensorId; in GetSensorList() local
64 int32_t CompatibleConnection::EnableSensor(int32_t sensorId) in EnableSensor()
74 int32_t CompatibleConnection::DisableSensor(int32_t sensorId) in DisableSensor()
84 int32_t CompatibleConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportIn… in SetBatch()
94 int32_t CompatibleConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
104 int32_t CompatibleConnection::RunCommand(int32_t sensorId, int32_t cmd, int32_t params) in RunCommand()
109 int32_t CompatibleConnection::SetOption(int32_t sensorId, int32_t option) in SetOption()
Dhdi_connection.cpp88 const int32_t sensorId = sensorInfos[i].sensorId; in GetSensorList() local
100 int32_t HdiConnection::EnableSensor(int32_t sensorId) in EnableSensor()
115 int32_t HdiConnection::DisableSensor(int32_t sensorId) in DisableSensor()
130 int32_t HdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch()
145 int32_t HdiConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
160 int32_t HdiConnection::SetOption(int32_t sensorId, int32_t option) in SetOption()
209 int32_t HdiConnection::RunCommand(int32_t sensorId, int32_t cmd, int32_t params) in RunCommand()
232 void HdiConnection::updateSensorBasicInfo(int32_t sensorId, int64_t samplingPeriodNs, int64_t maxRe… in updateSensorBasicInfo()
241 void HdiConnection::setSensorBasicInfoState(int32_t sensorId, MedicalSensorState state) in setSensorBasicInfoState()
251 void HdiConnection::deleteSensorBasicInfoState(int32_t sensorId) in deleteSensorBasicInfoState()
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/
Dmedical_service_client.cpp82 bool MedicalSensorServiceClient::IsValidSensorId(uint32_t sensorId) in IsValidSensorId()
97 int32_t MedicalSensorServiceClient::EnableSensor(uint32_t sensorId, int64_t samplingPeriod, int64_t… in EnableSensor()
116 int32_t MedicalSensorServiceClient::DisableSensor(uint32_t sensorId) in DisableSensor()
135 int32_t MedicalSensorServiceClient::RunCommand(uint32_t sensorId, int32_t cmdType, int32_t params) in RunCommand()
229 void MedicalSensorServiceClient::UpdateSensorInfoMap(uint32_t sensorId, int64_t samplingPeriod, int… in UpdateSensorInfoMap()
241 void MedicalSensorServiceClient::DeleteSensorInfoItem(uint32_t sensorId) in DeleteSensorInfoItem()
252 int32_t MedicalSensorServiceClient::SetOption(uint32_t sensorId, uint32_t opt) in SetOption()
/base/sensors/medical_sensor/services/medical_sensor/src/
Dmedical_manager.cpp44 uint32_t MedicalSensorManager::GetSensorFlag(uint32_t sensorId) in GetSensorFlag()
54 bool MedicalSensorManager::SetBestSensorParams(uint32_t sensorId, int64_t samplingPeriodNs, int64_t… in SetBestSensorParams()
81 bool MedicalSensorManager::ResetBestSensorParams(uint32_t sensorId) in ResetBestSensorParams()
99 MedicalSensorBasicInfo MedicalSensorManager::GetSensorInfo(uint32_t sensorId, in GetSensorInfo()
133 ErrCode MedicalSensorManager::SaveSubscriber(uint32_t sensorId, uint32_t pid, int64_t samplingPerio… in SaveSubscriber()
156 bool MedicalSensorManager::IsOtherClientUsingSensor(uint32_t sensorId, int32_t clientPid) in IsOtherClientUsingSensor()
171 ErrCode MedicalSensorManager::AfterDisableSensor(uint32_t sensorId) in AfterDisableSensor()
Dmedical_dump.cpp76 auto sensorId = sensor.GetSensorId(); in DumpSensorList() local
98 auto sensorId = channel.GetSensorId(); in DumpSensorChannel() local
123 uint32_t sensorId = sensor.GetSensorId(); in DumpOpeningSensor() local
141 uint32_t sensorId = sensorData.first; in DumpSensorData() local
173 int32_t MedicalSensorDump::DataSizeBySensorId(uint32_t sensorId) in DataSizeBySensorId()
183 std::string MedicalSensorDump::GetDataBySensorId(uint32_t sensorId, struct SensorEvent &sensorData) in GetDataBySensorId()
Dclient_info.cpp42 MedicalSensorState ClientInfo::GetSensorState(uint32_t sensorId) in GetSensorState()
65 MedicalSensorBasicInfo ClientInfo::GetBestSensorInfo(uint32_t sensorId) in GetBestSensorInfo()
96 bool ClientInfo::OnlyCurPidSensorEnabled(uint32_t sensorId, int32_t pid) in OnlyCurPidSensorEnabled()
209 std::vector<sptr<MedicalSensorBasicDataChannel>> ClientInfo::GetSensorChannel(uint32_t sensorId) in GetSensorChannel()
234 bool ClientInfo::UpdateSensorInfo(uint32_t sensorId, int32_t pid, const MedicalSensorBasicInfo &sen… in UpdateSensorInfo()
258 void ClientInfo::RemoveSubscriber(uint32_t sensorId, uint32_t pid) in RemoveSubscriber()
295 bool ClientInfo::ClearSensorInfo(uint32_t sensorId) in ClearSensorInfo()
312 void ClientInfo::ClearCurPidSensorInfo(uint32_t sensorId, int32_t pid) in ClearCurPidSensorInfo()
369 MedicalSensorBasicInfo ClientInfo::GetCurPidSensorInfo(uint32_t sensorId, int32_t pid) in GetCurPidSensorInfo()
398 uint64_t ClientInfo::ComputeBestPeriodCount(uint32_t sensorId, sptr<MedicalSensorBasicDataChannel> … in ComputeBestPeriodCount()
[all …]
Dmedical_service_stub.cpp78 uint32_t sensorId = data.ReadUint32(); in AfeEnableInner() local
92 uint32_t sensorId = data.ReadUint32(); in AfeDisableInner() local
106 uint32_t sensorId = data.ReadUint32(); in AfeSetOptionInner() local
121 uint32_t sensorId = data.ReadUint32(); in GetAfeStateInner() local
135 uint32_t sensorId = data.ReadUint32(); in RunCommandInner() local
Dmedical_data_processer.cpp68 uint32_t sensorId = event.sensorTypeId; in SendNoneFifoCacheData() local
117 uint32_t sensorId = event.sensorTypeId; in SendFifoCacheData() local
178 uint32_t sensorId = event.sensorTypeId; in ReportData() local
201 uint32_t sensorId = event.sensorTypeId; in ReportNotContinuousData() local
222 …aProcesser::CheckSendDataPermission(sptr<MedicalSensorBasicDataChannel> channel, uint32_t sensorId) in CheckSendDataPermission()
259 uint32_t sensorId = event[eventSize - 1].sensorTypeId; in SendRawData() local
276 uint32_t sensorId = event.sensorTypeId; in CacheSensorEvent() local
308 uint32_t sensorId = eventsBuf.circularBuf[eventsBuf.readPosition].sensorTypeId; in EventFilter() local
Dmedical_service.cpp157 void MedicalSensorService::ReportSensorUsedInfo(uint32_t sensorId, bool enable) in ReportSensorUsedInfo()
188 void MedicalSensorService::ReportOnChangeData(uint32_t sensorId) in ReportOnChangeData()
218 ErrCode MedicalSensorService::SaveSubscriber(uint32_t sensorId, int64_t samplingPeriodNs, int64_t m… in SaveSubscriber()
235 ErrCode MedicalSensorService::EnableSensor(uint32_t sensorId, int64_t samplingPeriodNs, int64_t max… in EnableSensor()
279 ErrCode MedicalSensorService::DisableSensor(uint32_t sensorId) in DisableSensor()
310 ErrCode MedicalSensorService::SetOption(uint32_t sensorId, uint32_t opt) in SetOption()
327 int32_t MedicalSensorService::GetSensorState(uint32_t sensorId) in GetSensorState()
337 ErrCode MedicalSensorService::RunCommand(uint32_t sensorId, uint32_t cmdType, uint32_t params) in RunCommand()
/base/sensors/sensor_lite/services/src/
Dsensor_service_impl.c137 int32_t ActivateSensorImpl(int32_t sensorId, const SensorUser *user) in ActivateSensorImpl()
165 int32_t DeactivateSensorImpl(int32_t sensorId, const SensorUser *user) in DeactivateSensorImpl()
193 int32_t SetBatchImpl(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t re… in SetBatchImpl()
211 int32_t SubscribeSensorImpl(int32_t sensorId, const SensorUser *user) in SubscribeSensorImpl()
239 int32_t UnsubscribeSensorImpl(int32_t sensorId, const SensorUser *user) in UnsubscribeSensorImpl()
267 int32_t SetModeImpl(int32_t sensorId, const SensorUser *user, int32_t mode) in SetModeImpl()
279 int32_t SetOptionImpl(int32_t sensorId, const SensorUser *user, int32_t option) in SetOptionImpl()
Dsensor_service.c52 int32_t sensorId; in ActivateSensorInvoke() local
70 int32_t sensorId; in DeactivateSensorInvoke() local
88 int32_t sensorId; in SetBatchInvoke() local
110 int32_t sensorId; in SubscribeSensorInvoke() local
129 int32_t sensorId; in UnsubscribeSensorInvoke() local
147 int32_t sensorId; in SetModeInvoke() local
167 int32_t sensorId; in SetOptionInvoke() local
/base/sensors/sensor/interfaces/native/src/
Dsensor_agent.cpp55 int32_t ActivateSensor(int32_t sensorId, const SensorUser *user) in ActivateSensor()
65 int32_t DeactivateSensor(int32_t sensorId, const SensorUser *user) in DeactivateSensor()
75 int32_t SetBatch(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t report… in SetBatch()
85 int32_t SubscribeSensor(int32_t sensorId, const SensorUser *user) in SubscribeSensor()
95 int32_t UnsubscribeSensor(int32_t sensorId, const SensorUser *user) in UnsubscribeSensor()
105 int32_t SetMode(int32_t sensorId, const SensorUser *user, int32_t mode) in SetMode()
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/
Dhdi_connection.cpp104 int32_t HdiConnection::EnableSensor(int32_t sensorId) in EnableSensor()
118 int32_t HdiConnection::DisableSensor(int32_t sensorId) in DisableSensor()
132 int32_t HdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch()
146 int32_t HdiConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
209 void HdiConnection::UpdateSensorBasicInfo(int32_t sensorId, int64_t samplingPeriodNs, int64_t maxRe… in UpdateSensorBasicInfo()
218 void HdiConnection::SetSensorBasicInfoState(int32_t sensorId, bool state) in SetSensorBasicInfoState()
229 void HdiConnection::DeleteSensorBasicInfoState(int32_t sensorId) in DeleteSensorBasicInfoState()
Dcompatible_connection.cpp58 const int32_t sensorId = sensorInfos[i].sensorId; in GetSensorList() local
77 int32_t CompatibleConnection::EnableSensor(int32_t sensorId) in EnableSensor()
87 int32_t CompatibleConnection::DisableSensor(int32_t sensorId) in DisableSensor()
97 int32_t CompatibleConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportIn… in SetBatch()
107 int32_t CompatibleConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
/base/sensors/medical_sensor/interfaces/native/src/
Dmedical_native_impl.cpp162 int32_t ActivateSensor(int32_t sensorId, const MedicalSensorUser *user) in ActivateSensor()
190 int32_t DeactivateSensor(int32_t sensorId, const MedicalSensorUser *user) in DeactivateSensor()
213 int32_t SetBatch(int32_t sensorId, const MedicalSensorUser *user, int64_t samplingInterval, int64_t… in SetBatch()
234 int32_t SubscribeSensor(int32_t sensorId, const MedicalSensorUser *user) in SubscribeSensor()
251 int32_t UnsubscribeSensor(int32_t sensorId, const MedicalSensorUser *user) in UnsubscribeSensor()
274 int32_t SetMode(int32_t sensorId, const MedicalSensorUser *user, int32_t mode) in SetMode()
289 int32_t SetOption(int32_t sensorId, const MedicalSensorUser *user, int32_t option) in SetOption()
/base/sensors/sensor/services/sensor/src/
Dsensor_manager.cpp49 bool SensorManager::SetBestSensorParams(int32_t sensorId, int64_t samplingPeriodNs, int64_t maxRepo… in SetBestSensorParams()
74 bool SensorManager::ResetBestSensorParams(int32_t sensorId) in ResetBestSensorParams()
109 bool SensorManager::SaveSubscriber(int32_t sensorId, uint32_t pid, int64_t samplingPeriodNs, in SaveSubscriber()
120 SensorBasicInfo SensorManager::GetSensorInfo(int32_t sensorId, int64_t samplingPeriodNs, int64_t ma… in GetSensorInfo()
152 bool SensorManager::IsOtherClientUsingSensor(int32_t sensorId, int32_t clientPid) in IsOtherClientUsingSensor()
169 ErrCode SensorManager::AfterDisableSensor(int32_t sensorId) in AfterDisableSensor()
Dsensor_dump.cpp178 auto sensorId = sensor.GetSensorId(); in DumpSensorList() local
199 auto sensorId = channel.GetSensorId(); in DumpSensorChannel() local
217 int32_t sensorId = sensor.GetSensorId(); in DumpOpeningSensor() local
235 int32_t sensorId = sensorData.first; in DumpSensorData() local
265 int32_t SensorDump::GetDataDimension(int32_t sensorId) in GetDataDimension()
293 std::string SensorDump::GetDataBySensorId(int32_t sensorId, SensorData &sensorData) in GetDataBySensorId()
Dsensor_power_policy.cpp39 bool SensorPowerPolicy::CheckFreezingSensor(int32_t sensorId) in CheckFreezingSensor()
79 for (const auto &sensorId : sensorIdList) { in Suspend() local
115 int32_t sensorId = sensorIt->first; in ResumeSensors() local
135 bool SensorPowerPolicy::Resume(int32_t pid, int32_t sensorId, int64_t samplingPeriodNs, in Resume()
169 ErrCode SensorPowerPolicy::RestoreSensorInfo(int32_t pid, int32_t sensorId, int64_t samplingPeriodN… in RestoreSensorInfo()
223 for (const auto &sensorId : sensorIdList) { in GetActiveInfoList() local
Dclient_info.cpp48 bool ClientInfo::GetSensorState(int32_t sensorId) in GetSensorState()
70 SensorBasicInfo ClientInfo::GetBestSensorInfo(int32_t sensorId) in GetBestSensorInfo()
99 bool ClientInfo::OnlyCurPidSensorEnabled(int32_t sensorId, int32_t pid) in OnlyCurPidSensorEnabled()
202 std::vector<sptr<SensorBasicDataChannel>> ClientInfo::GetSensorChannel(int32_t sensorId) in GetSensorChannel()
229 bool ClientInfo::UpdateSensorInfo(int32_t sensorId, int32_t pid, const SensorBasicInfo &sensorInfo) in UpdateSensorInfo()
253 void ClientInfo::RemoveSubscriber(int32_t sensorId, uint32_t pid) in RemoveSubscriber()
290 void ClientInfo::ClearSensorInfo(int32_t sensorId) in ClearSensorInfo()
306 void ClientInfo::ClearCurPidSensorInfo(int32_t sensorId, int32_t pid) in ClearCurPidSensorInfo()
362 SensorBasicInfo ClientInfo::GetCurPidSensorInfo(int32_t sensorId, int32_t pid) in GetCurPidSensorInfo()
389 uint64_t ClientInfo::ComputeBestPeriodCount(int32_t sensorId, sptr<SensorBasicDataChannel> &channel) in ComputeBestPeriodCount()
[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()
136 int32_t SensorHdiConnection::EnableSensor(int32_t sensorId) in EnableSensor()
160 int32_t SensorHdiConnection::DisableSensor(int32_t sensorId) in DisableSensor()
184 int32_t SensorHdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInt… in SetBatch()
208 int32_t SensorHdiConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
/base/sensors/sensor/services/sensor/hdi_connection/hardware/src/
Dhdi_service_impl.cpp94 int32_t HdiServiceImpl::EnableSensor(int32_t sensorId) in EnableSensor()
117 int32_t HdiServiceImpl::DisableSensor(int32_t sensorId) in DisableSensor()
143 int32_t HdiServiceImpl::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch()
155 int32_t HdiServiceImpl::SetMode(int32_t sensorId, int32_t mode) in SetMode()
/base/sensors/sensor/utils/common/src/
Dactive_info.cpp27 ActiveInfo::ActiveInfo(int32_t pid, int32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDe… in ActiveInfo()
46 void ActiveInfo::SetSensorId(int32_t sensorId) in SetSensorId()
95 int32_t sensorId = -1; in Unmarshalling() local

12