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/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/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/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/sensor/interfaces/native/src/
Dsensor_agent.cpp66 int32_t ActivateSensor(int32_t sensorId, const SensorUser *user) in ActivateSensor()
81 int32_t DeactivateSensor(int32_t sensorId, const SensorUser *user) in DeactivateSensor()
96 int32_t SetBatch(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t report… in SetBatch()
111 int32_t SubscribeSensor(int32_t sensorId, const SensorUser *user) in SubscribeSensor()
126 int32_t UnsubscribeSensor(int32_t sensorId, const SensorUser *user) in UnsubscribeSensor()
141 int32_t SetMode(int32_t sensorId, const SensorUser *user, int32_t mode) in SetMode()
/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/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/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/services/sensor/src/
Dsensor_manager.cpp45 uint32_t SensorManager::GetSensorFlag(uint32_t sensorId) in GetSensorFlag()
55 bool SensorManager::SetBestSensorParams(uint32_t sensorId, int64_t samplingPeriodNs, int64_t maxRep… in SetBestSensorParams()
80 bool SensorManager::ResetBestSensorParams(uint32_t sensorId) in ResetBestSensorParams()
97 SensorBasicInfo SensorManager::GetSensorInfo(uint32_t sensorId, int64_t samplingPeriodNs, int64_t m… in GetSensorInfo()
129 ErrCode SensorManager::SaveSubscriber(uint32_t sensorId, uint32_t pid, int64_t samplingPeriodNs, in SaveSubscriber()
151 bool SensorManager::IsOtherClientUsingSensor(uint32_t sensorId, int32_t clientPid) in IsOtherClientUsingSensor()
166 ErrCode SensorManager::AfterDisableSensor(uint32_t sensorId) in AfterDisableSensor()
Dsensor_suspend_policy.cpp39 bool SensorSuspendPolicy::CheckFreezingSensor(uint32_t sensorId) in CheckFreezingSensor()
44 ErrCode SensorSuspendPolicy::DisableSensor(uint32_t sensorId, int32_t pid) in DisableSensor()
73 for (auto &sensorId : sensorIdList) { in DoSuspend() local
84 ErrCode SensorSuspendPolicy::SaveSubscriber(uint32_t sensorId, int64_t samplingPeriodNs, in SaveSubscriber()
101 ErrCode SensorSuspendPolicy::EnableSensor(uint32_t sensorId, int32_t pid, int64_t samplingPeriodNs, in EnableSensor()
160 for (auto &sensorId : sensorIdList) { in DoActive() local
Dclient_info.cpp42 bool ClientInfo::GetSensorState(uint32_t sensorId) in GetSensorState()
64 SensorBasicInfo ClientInfo::GetBestSensorInfo(uint32_t sensorId) in GetBestSensorInfo()
93 bool ClientInfo::OnlyCurPidSensorEnabled(uint32_t sensorId, int32_t pid) in OnlyCurPidSensorEnabled()
196 std::vector<sptr<SensorBasicDataChannel>> ClientInfo::GetSensorChannel(uint32_t sensorId) in GetSensorChannel()
220 bool ClientInfo::UpdateSensorInfo(uint32_t sensorId, int32_t pid, const SensorBasicInfo &sensorInfo) in UpdateSensorInfo()
244 void ClientInfo::RemoveSubscriber(uint32_t sensorId, uint32_t pid) in RemoveSubscriber()
281 void ClientInfo::ClearSensorInfo(uint32_t sensorId) in ClearSensorInfo()
297 void ClientInfo::ClearCurPidSensorInfo(uint32_t sensorId, int32_t pid) in ClearCurPidSensorInfo()
353 SensorBasicInfo ClientInfo::GetCurPidSensorInfo(uint32_t sensorId, int32_t pid) in GetCurPidSensorInfo()
380 uint64_t ClientInfo::ComputeBestPeriodCount(uint32_t sensorId, sptr<SensorBasicDataChannel> &channe… in ComputeBestPeriodCount()
[all …]
/base/sensors/sensor/services/sensor/hdi_connection/interface/src/
Dsensor_hdi_connection.cpp66 int32_t SensorHdiConnection::EnableSensor(int32_t sensorId) in EnableSensor()
78 int32_t SensorHdiConnection::DisableSensor(int32_t sensorId) in DisableSensor()
90 int32_t SensorHdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInt… in SetBatch()
102 int32_t SensorHdiConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_service_client.cpp76 bool SensorServiceClient::IsValid(uint32_t sensorId) in IsValid()
95 int32_t SensorServiceClient::EnableSensor(uint32_t sensorId, int64_t samplingPeriod, int64_t maxRep… in EnableSensor()
113 int32_t SensorServiceClient::DisableSensor(uint32_t sensorId) in DisableSensor()
205 void SensorServiceClient::UpdateSensorInfoMap(uint32_t sensorId, int64_t samplingPeriod, int64_t ma… in UpdateSensorInfoMap()
217 void SensorServiceClient::DeleteSensorInfoItem(uint32_t sensorId) in DeleteSensorInfoItem()
Dsensor_agent_proxy.cpp135 int32_t SensorAgentProxy::ActivateSensor(int32_t sensorId, const SensorUser *user) const in ActivateSensor()
163 int32_t SensorAgentProxy::DeactivateSensor(int32_t sensorId, const SensorUser *user) const in DeactivateSensor()
186 int32_t SensorAgentProxy::SetBatch(int32_t sensorId, const SensorUser *user, int64_t samplingInterv… in SetBatch()
208 int32_t SensorAgentProxy::SubscribeSensor(int32_t sensorId, const SensorUser *user) const in SubscribeSensor()
227 int32_t SensorAgentProxy::UnsubscribeSensor(int32_t sensorId, const SensorUser *user) const in UnsubscribeSensor()
252 int32_t SensorAgentProxy::SetMode(int32_t sensorId, const SensorUser *user, int32_t mode) const in SetMode()
/base/sensors/sensor/services/sensor/hdi_connection/hardware/src/
Dhdi_service_impl.cpp67 int32_t HdiServiceImpl::EnableSensor(int32_t sensorId) in EnableSensor()
91 int32_t HdiServiceImpl::DisableSensor(int32_t sensorId) in DisableSensor()
115 int32_t HdiServiceImpl::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch()
127 int32_t HdiServiceImpl::SetMode(int32_t sensorId, int32_t mode) in SetMode()
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/
Dhdi_connection.cpp99 int32_t HdiConnection::EnableSensor(int32_t sensorId) in EnableSensor()
113 int32_t HdiConnection::DisableSensor(int32_t sensorId) in DisableSensor()
127 int32_t HdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch()
141 int32_t HdiConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
204 void HdiConnection::UpdateSensorBasicInfo(int32_t sensorId, int64_t samplingPeriodNs, int64_t maxRe… in UpdateSensorBasicInfo()
213 void HdiConnection::SetSensorBasicInfoState(int32_t sensorId, bool state) in SetSensorBasicInfoState()
224 void HdiConnection::DeleteSensorBasicInfoState(int32_t sensorId) in DeleteSensorBasicInfoState()
Dcompatible_connection.cpp53 const int32_t sensorId = sensorInfos[i].sensorId; in GetSensorList() local
72 int32_t CompatibleConnection::EnableSensor(int32_t sensorId) in EnableSensor()
82 int32_t CompatibleConnection::DisableSensor(int32_t sensorId) in DisableSensor()
92 int32_t CompatibleConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportIn… in SetBatch()
102 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()

12