| /base/sensors/sensor/interfaces/native/src/ |
| D | sensor_agent.cpp | 45 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/ |
| D | sensor_agent_client.c | 45 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()
|
| D | sensor_agent_proxy.c | 199 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/ |
| D | sensor_hdi_connection.cpp | 67 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/ |
| D | hdi_service_impl.cpp | 66 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/ |
| D | hdi_connection.cpp | 87 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()
|
| D | compatible_connection.cpp | 52 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/ |
| D | sensor_manager.cpp | 44 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()
|
| D | sensor_suspend_policy.cpp | 40 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
|
| D | client_info.cpp | 43 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 …]
|
| D | sensor_data_processer.cpp | 69 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
|
| D | sensor_service_stub.cpp | 80 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
|
| D | flush_info_record.cpp | 42 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()
|
| D | sensor_service.cpp | 161 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()
|
| D | sensor_dump.cpp | 144 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/ |
| D | sensor_service_client.cpp | 78 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()
|
| D | sensor_agent_proxy.cpp | 170 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()
|
| D | sensor_service_proxy.cpp | 43 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/ |
| D | sensor_service_impl.c | 144 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()
|
| D | sensor_service.c | 55 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/ |
| D | sensor_channel_info.cpp | 48 void SensorChannelInfo::SetSensorId(uint32_t sensorId) in SetSensorId()
|
| D | sensor.cpp | 49 void Sensor::SetSensorId(uint32_t sensorId) in SetSensorId()
|
| /base/sensors/sensor/utils/include/ |
| D | sensor_data_event.h | 38 int32_t sensorId; member
|
| /base/sensors/sensor_lite/interfaces/kits/native/include/ |
| D | sensor_agent_type.h | 114 int32_t sensorId; /**< Sensor ID */ member
|
| /base/sensors/sensor_lite/frameworks/include/ |
| D | sensor_agent_type.h | 118 int32_t sensorId; /**< Sensor ID */ member
|