Home
last modified time | relevance | path

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

12

/base/sensors/sensor/interfaces/native/src/
Dsensor_agent.cpp45 int32_t ActivateSensor(int32_t sensorId, const SensorUser *user) in ActivateSensor()
56 int32_t DeactivateSensor(int32_t sensorId, const SensorUser *user) in DeactivateSensor()
67 int32_t SetBatch(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t report… in SetBatch()
78 int32_t SubscribeSensor(int32_t sensorId, const SensorUser *user) in SubscribeSensor()
89 int32_t UnsubscribeSensor(int32_t sensorId, const SensorUser *user) in UnsubscribeSensor()
100 int32_t SetMode(int32_t sensorId, const SensorUser *user, int32_t mode) in SetMode()
111 int32_t SetOption(int32_t sensorId, const SensorUser *user, int32_t option) in SetOption()
/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()
Dsensor_agent_proxy.c199 int32_t sensorId = sensorEvent->sensorTypeId; in DispatchData() local
236 int32_t RegisterSensorChannel(const void *proxy, int32_t sensorId) in RegisterSensorChannel()
278 int32_t UnregisterSensorChannel(const void *proxy, int32_t sensorId) in UnregisterSensorChannel()
360 int32_t ActivateSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *user) in ActivateSensorByProxy()
385 int32_t DeactivateSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *user) in DeactivateSensorByProxy()
410 int32_t SetBatchByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int64_t sampli… in SetBatchByProxy()
452 int32_t SubscribeSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *user) in SubscribeSensorByProxy()
476 int32_t UnsubscribeSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *user) in UnsubscribeSensorByProxy()
501 int32_t SetModeByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int32_t mode) in SetModeByProxy()
527 int32_t SetOptionByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int32_t optio… in SetOptionByProxy()
/base/sensors/sensor/services/sensor/hdi_connection/interface/src/
Dsensor_hdi_connection.cpp67 int32_t SensorHdiConnection::EnableSensor(int32_t sensorId) in EnableSensor()
77 int32_t SensorHdiConnection::DisableSensor(int32_t sensorId) in DisableSensor()
87 int32_t SensorHdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInt… in SetBatch()
97 int32_t SensorHdiConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
107 int32_t SensorHdiConnection::SetOption(int32_t sensorId, int32_t option) in SetOption()
117 int32_t SensorHdiConnection::RunCommand(int32_t sensorId, int32_t cmd, int32_t params) in RunCommand()
/base/sensors/sensor/services/sensor/hdi_connection/hardware/src/
Dhdi_service_impl.cpp66 int32_t HdiServiceImpl::EnableSensor(uint32_t sensorId) in EnableSensor()
93 int32_t HdiServiceImpl::DisableSensor(uint32_t sensorId) in DisableSensor()
112 int32_t HdiServiceImpl::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch()
124 int32_t HdiServiceImpl::SetMode(int32_t sensorId, int32_t mode) in SetMode()
129 int32_t HdiServiceImpl::RunCommand(uint32_t sensorId, int32_t cmd, int32_t params) in RunCommand()
134 int32_t HdiServiceImpl::SetOption(int32_t sensorId, uint32_t option) in SetOption()
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/
Dhdi_connection.cpp87 const int32_t sensorId = sensorInfos[i].sensorId; in GetSensorList() local
104 int32_t HdiConnection::EnableSensor(int32_t sensorId) in EnableSensor()
119 int32_t HdiConnection::DisableSensor(int32_t sensorId) in DisableSensor()
134 int32_t HdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch()
149 int32_t HdiConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
164 int32_t HdiConnection::SetOption(int32_t sensorId, int32_t option) in SetOption()
213 int32_t HdiConnection::RunCommand(int32_t sensorId, int32_t cmd, int32_t params) in RunCommand()
236 void HdiConnection::updateSensorBasicInfo(int32_t sensorId, int64_t samplingPeriodNs, int64_t maxRe… in updateSensorBasicInfo()
245 void HdiConnection::setSensorBasicInfoState(int32_t sensorId, SensorState state) in setSensorBasicInfoState()
256 void HdiConnection::deleteSensorBasicInfoState(int32_t sensorId) in deleteSensorBasicInfoState()
Dcompatible_connection.cpp52 const int32_t sensorId = sensorInfos[i].sensorId; in GetSensorList() local
69 int32_t CompatibleConnection::EnableSensor(int32_t sensorId) in EnableSensor()
79 int32_t CompatibleConnection::DisableSensor(int32_t sensorId) in DisableSensor()
89 int32_t CompatibleConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportIn… in SetBatch()
99 int32_t CompatibleConnection::SetMode(int32_t sensorId, int32_t mode) in SetMode()
109 int32_t CompatibleConnection::RunCommand(int32_t sensorId, int32_t cmd, int32_t params) in RunCommand()
114 int32_t CompatibleConnection::SetOption(int32_t sensorId, int32_t option) in SetOption()
/base/sensors/sensor/services/sensor/src/
Dsensor_manager.cpp44 uint32_t SensorManager::GetSensorFlag(uint32_t sensorId) in GetSensorFlag()
54 bool SensorManager::SetBestSensorParams(uint32_t sensorId, int64_t samplingPeriodNs, int64_t maxRep… in SetBestSensorParams()
81 bool SensorManager::ResetBestSensorParams(uint32_t sensorId) in ResetBestSensorParams()
99 SensorBasicInfo SensorManager::GetSensorInfo(uint32_t sensorId, int64_t samplingPeriodNs, int64_t m… in GetSensorInfo()
132 ErrCode SensorManager::SaveSubscriber(uint32_t sensorId, uint32_t pid, int64_t samplingPeriodNs, in SaveSubscriber()
155 bool SensorManager::IsOtherClientUsingSensor(uint32_t sensorId, int32_t clientPid) in IsOtherClientUsingSensor()
170 ErrCode SensorManager::AfterDisableSensor(uint32_t sensorId) in AfterDisableSensor()
Dsensor_suspend_policy.cpp40 bool SensorSuspendPolicy::CheckFreezingSensor(uint32_t sensorId) in CheckFreezingSensor()
45 ErrCode SensorSuspendPolicy::DisableSensor(uint32_t sensorId, int32_t pid) in DisableSensor()
74 for (auto &sensorId : sensorIdList) { in DoSuspend() local
86 ErrCode SensorSuspendPolicy::SaveSubscriber(uint32_t sensorId, int64_t samplingPeriodNs, in SaveSubscriber()
103 ErrCode SensorSuspendPolicy::EnableSensor(uint32_t sensorId, int32_t pid, int64_t samplingPeriodNs, in EnableSensor()
163 for (auto &sensorId : sensorIdList) { in DoActive() local
Dclient_info.cpp43 SensorState ClientInfo::GetSensorState(uint32_t sensorId) in GetSensorState()
66 SensorBasicInfo ClientInfo::GetBestSensorInfo(uint32_t sensorId) in GetBestSensorInfo()
97 bool ClientInfo::OnlyCurPidSensorEnabled(uint32_t sensorId, int32_t pid) in OnlyCurPidSensorEnabled()
205 std::vector<sptr<SensorBasicDataChannel>> ClientInfo::GetSensorChannel(uint32_t sensorId) in GetSensorChannel()
230 bool ClientInfo::UpdateSensorInfo(uint32_t sensorId, int32_t pid, const SensorBasicInfo &sensorInfo) in UpdateSensorInfo()
254 void ClientInfo::RemoveSubscriber(uint32_t sensorId, uint32_t pid) in RemoveSubscriber()
291 bool ClientInfo::ClearSensorInfo(uint32_t sensorId) in ClearSensorInfo()
308 void ClientInfo::ClearCurPidSensorInfo(uint32_t sensorId, int32_t pid) in ClearCurPidSensorInfo()
365 SensorBasicInfo ClientInfo::GetCurPidSensorInfo(uint32_t sensorId, int32_t pid) in GetCurPidSensorInfo()
394 uint64_t ClientInfo::ComputeBestPeriodCount(uint32_t sensorId, sptr<SensorBasicDataChannel> &channe… in ComputeBestPeriodCount()
[all …]
Dsensor_data_processer.cpp69 uint32_t sensorId = static_cast<uint32_t>(event.sensorTypeId); in SendNoneFifoCacheData() local
119 uint32_t sensorId = static_cast<uint32_t>(event.sensorTypeId); in SendFifoCacheData() local
180 uint32_t sensorId = static_cast<uint32_t>(event.sensorTypeId); in ReportData() local
203 uint32_t sensorId = static_cast<uint32_t>(event.sensorTypeId); in ReportNotContinuousData() local
224 …nsorDataProcesser::CheckSendDataPermission(sptr<SensorBasicDataChannel> channel, uint32_t sensorId) in CheckSendDataPermission()
264 uint32_t sensorId = static_cast<uint32_t>(event[eventSize - 1].sensorTypeId); in SendRawData() local
280 uint32_t sensorId = static_cast<uint32_t>(event.sensorTypeId); in CacheSensorEvent() local
312 …uint32_t sensorId = static_cast<uint32_t>(eventsBuf.circularBuf[eventsBuf.readPosition].sensorType… in EventFilter() local
Dsensor_service_stub.cpp80 uint32_t sensorId = data.ReadUint32(); in SensorEnableInner() local
92 uint32_t sensorId = data.ReadUint32(); in SensorDisableInner() local
104 uint32_t sensorId = data.ReadUint32(); in GetSensorStateInner() local
116 uint32_t sensorId = data.ReadUint32(); in RunCommandInner() local
Dflush_info_record.cpp42 void FlushInfoRecord::ClearFlushInfoItem(uint32_t sensorId) in ClearFlushInfoItem()
51 ErrCode FlushInfoRecord::SetFlushInfo(uint32_t sensorId, const sptr<SensorBasicDataChannel> &channe… in SetFlushInfo()
99 ErrCode FlushInfoRecord::FlushProcess(const uint32_t sensorId, const uint32_t flag, const int32_t p… in FlushProcess()
Dsensor_service.cpp161 void SensorService::ReportSensorUsedInfo(uint32_t sensorId, bool enable) in ReportSensorUsedInfo()
192 void SensorService::ReportOnChangeData(uint32_t sensorId) in ReportOnChangeData()
222 ErrCode SensorService::SaveSubscriber(uint32_t sensorId, int64_t samplingPeriodNs, int64_t maxRepor… in SaveSubscriber()
239 ErrCode SensorService::EnableSensor(uint32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportD… in EnableSensor()
283 ErrCode SensorService::DisableSensor(uint32_t sensorId) in DisableSensor()
314 int32_t SensorService::GetSensorState(uint32_t sensorId) in GetSensorState()
324 ErrCode SensorService::RunCommand(uint32_t sensorId, uint32_t cmdType, uint32_t params) in RunCommand()
Dsensor_dump.cpp144 auto sensorId = sensor.GetSensorId(); in DumpSensorList() local
166 auto sensorId = channel.GetSensorId(); in DumpSensorChannel() local
191 uint32_t sensorId = sensor.GetSensorId(); in DumpOpeningSensor() local
209 uint32_t sensorId = sensorData.first; in DumpSensorData() local
241 int32_t SensorDump::DataSizeBySensorId(uint32_t sensorId) in DataSizeBySensorId()
268 std::string SensorDump::GetDataBySensorId(uint32_t sensorId, struct SensorEvent &sensorData) in GetDataBySensorId()
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_service_client.cpp78 bool SensorServiceClient::IsValidSensorId(uint32_t sensorId) in IsValidSensorId()
92 int32_t SensorServiceClient::EnableSensor(uint32_t sensorId, int64_t samplingPeriod, int64_t maxRep… in EnableSensor()
111 int32_t SensorServiceClient::DisableSensor(uint32_t sensorId) in DisableSensor()
130 int32_t SensorServiceClient::RunCommand(uint32_t sensorId, int32_t cmdType, int32_t params) in RunCommand()
223 void SensorServiceClient::UpdateSensorInfoMap(uint32_t sensorId, int64_t samplingPeriod, int64_t ma… in UpdateSensorInfoMap()
235 void SensorServiceClient::DeleteSensorInfoItem(uint32_t sensorId) in DeleteSensorInfoItem()
Dsensor_agent_proxy.cpp170 int32_t SensorAgentProxy::ActivateSensor(int32_t sensorId, const SensorUser *user) const in ActivateSensor()
197 int32_t SensorAgentProxy::DeactivateSensor(int32_t sensorId, const SensorUser *user) const in DeactivateSensor()
219 int32_t SensorAgentProxy::SetBatch(int32_t sensorId, const SensorUser *user, int64_t samplingInterv… in SetBatch()
240 int32_t SensorAgentProxy::SubscribeSensor(int32_t sensorId, const SensorUser *user) const in SubscribeSensor()
257 int32_t SensorAgentProxy::UnsubscribeSensor(int32_t sensorId, const SensorUser *user) const in UnsubscribeSensor()
280 int32_t SensorAgentProxy::SetMode(int32_t sensorId, const SensorUser *user, int32_t mode) const in SetMode()
294 int32_t SensorAgentProxy::SetOption(int32_t sensorId, const SensorUser *user, int32_t option) const in SetOption()
Dsensor_service_proxy.cpp43 ErrCode SensorServiceProxy::EnableSensor(uint32_t sensorId, int64_t samplingPeriodNs, int64_t maxRe… in EnableSensor()
72 ErrCode SensorServiceProxy::DisableSensor(uint32_t sensorId) in DisableSensor()
93 int32_t SensorServiceProxy::GetSensorState(uint32_t sensorId) in GetSensorState()
114 ErrCode SensorServiceProxy::RunCommand(uint32_t sensorId, uint32_t cmdType, uint32_t params) in RunCommand()
/base/sensors/sensor_lite/services/src/
Dsensor_service_impl.c144 int32_t ActivateSensorImpl(int32_t sensorId, const SensorUser *user) in ActivateSensorImpl()
172 int32_t DeactivateSensorImpl(int32_t sensorId, const SensorUser *user) in DeactivateSensorImpl()
200 int32_t SetBatchImpl(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t re… in SetBatchImpl()
218 int32_t SubscribeSensorImpl(int32_t sensorId, const SensorUser *user) in SubscribeSensorImpl()
246 int32_t UnsubscribeSensorImpl(int32_t sensorId, const SensorUser *user) in UnsubscribeSensorImpl()
274 int32_t SetModeImpl(int32_t sensorId, const SensorUser *user, int32_t mode) in SetModeImpl()
286 int32_t SetOptionImpl(int32_t sensorId, const SensorUser *user, int32_t option) in SetOptionImpl()
Dsensor_service.c55 int32_t sensorId = IpcIoPopInt32(req); in ActivateSensorInvoke() local
72 int32_t sensorId = IpcIoPopInt32(req); in DeactivateSensorInvoke() local
89 int32_t sensorId = IpcIoPopInt32(req); in SetBatchInvoke() local
108 int32_t sensorId = IpcIoPopInt32(req); in SubscribeSensorInvoke() local
126 int32_t sensorId = IpcIoPopInt32(req); in UnsubscribeSensorInvoke() local
143 int32_t sensorId = IpcIoPopInt32(req); in SetModeInvoke() local
161 int32_t sensorId = IpcIoPopInt32(req); in SetOptionInvoke() local
/base/sensors/sensor/utils/src/
Dsensor_channel_info.cpp48 void SensorChannelInfo::SetSensorId(uint32_t sensorId) in SetSensorId()
Dsensor.cpp49 void Sensor::SetSensorId(uint32_t sensorId) in SetSensorId()
/base/sensors/sensor/utils/include/
Dsensor_data_event.h38 int32_t sensorId; member
/base/sensors/sensor_lite/interfaces/kits/native/include/
Dsensor_agent_type.h114 int32_t sensorId; /**< Sensor ID */ member
/base/sensors/sensor_lite/frameworks/include/
Dsensor_agent_type.h118 int32_t sensorId; /**< Sensor ID */ member

12