| /base/sensors/sensor/services/src/ |
| D | sensor_manager.cpp | 45 bool SensorManager::SetBestSensorParams(const SensorDescription &sensorDesc, int64_t samplingPeriod… in SetBestSensorParams() 72 bool SensorManager::ResetBestSensorParams(const SensorDescription &sensorDesc) in ResetBestSensorParams() 109 bool SensorManager::SaveSubscriber(const SensorDescription &sensorDesc, uint32_t pid, int64_t sampl… in SaveSubscriber() 122 SensorBasicInfo SensorManager::GetSensorInfo(const SensorDescription &sensorDesc, int64_t samplingP… in GetSensorInfo() 152 bool SensorManager::IsOtherClientUsingSensor(const SensorDescription &sensorDesc, int32_t clientPid) in IsOtherClientUsingSensor() 171 ErrCode SensorManager::AfterDisableSensor(const SensorDescription &sensorDesc) in AfterDisableSensor()
|
| D | sensor_power_policy.cpp | 78 for (const auto &sensorDesc : sensorDescList) { in Suspend() local 134 bool SensorPowerPolicy::Resume(int32_t pid, const SensorDescription &sensorDesc, int64_t samplingPe… in Resume() 168 ErrCode SensorPowerPolicy::RestoreSensorInfo(int32_t pid, const SensorDescription &sensorDesc, int6… in RestoreSensorInfo() 222 for (const auto &sensorDesc : sensorDescList) { in GetActiveInfoList() local
|
| D | client_info.cpp | 47 bool ClientInfo::GetSensorState(const SensorDescription &sensorDesc) in GetSensorState() 71 SensorBasicInfo ClientInfo::GetBestSensorInfo(const SensorDescription &sensorDesc) in GetBestSensorInfo() 102 bool ClientInfo::OnlyCurPidSensorEnabled(const SensorDescription &sensorDesc, int32_t pid) in OnlyCurPidSensorEnabled() 212 …tor<sptr<SensorBasicDataChannel>> ClientInfo::GetSensorChannel(const SensorDescription &sensorDesc) in GetSensorChannel() 241 bool ClientInfo::UpdateSensorInfo(const SensorDescription &sensorDesc, int32_t pid, const SensorBas… in UpdateSensorInfo() 266 void ClientInfo::RemoveSubscriber(const SensorDescription &sensorDesc, uint32_t pid) in RemoveSubscriber() 306 void ClientInfo::ClearSensorInfo(const SensorDescription &sensorDesc) in ClearSensorInfo() 324 void ClientInfo::ClearCurPidSensorInfo(const SensorDescription &sensorDesc, int32_t pid) in ClearCurPidSensorInfo() 381 SensorBasicInfo ClientInfo::GetCurPidSensorInfo(const SensorDescription &sensorDesc, int32_t pid) in GetCurPidSensorInfo() 409 uint64_t ClientInfo::ComputeBestPeriodCount(const SensorDescription &sensorDesc, sptr<SensorBasicDa… in ComputeBestPeriodCount() [all …]
|
| D | sensor_service.cpp | 323 void SensorService::ReportOnChangeData(const SensorDescription &sensorDesc) in ReportOnChangeData() 350 ErrCode SensorService::SaveSubscriber(const SensorDescription &sensorDesc, int64_t samplingPeriodNs, in SaveSubscriber() 374 bool SensorService::CheckSensorId(const SensorDescription &sensorDesc) in CheckSensorId() 407 ErrCode SensorService::CheckAuthAndParameter(const SensorDescription &sensorDesc, int64_t samplingP… in CheckAuthAndParameter() 437 SensorDescription sensorDesc { in EnableSensor() local 478 ErrCode SensorService::SensorReportEvent(const SensorDescription &sensorDesc, int64_t samplingPerio… in SensorReportEvent() 500 ErrCode SensorService::DisableSensor(const SensorDescription &sensorDesc, int32_t pid) in DisableSensor() 547 SensorDescription sensorDesc { in DisableSensor() local 941 void SensorService::ReportActiveInfo(const SensorDescription &sensorDesc, int32_t pid) in ReportActiveInfo()
|
| /base/sensors/sensor/services/hdi_connection/adapter/src/ |
| D | hdi_connection.cpp | 131 int32_t HdiConnection::EnableSensor(const SensorDescription &sensorDesc) in EnableSensor() 154 int32_t HdiConnection::DisableSensor(const SensorDescription &sensorDesc) in DisableSensor() 177 int32_t HdiConnection::SetBatch(const SensorDescription &sensorDesc, int64_t samplingInterval, int6… in SetBatch() 196 int32_t HdiConnection::SetMode(const SensorDescription &sensorDesc, int32_t mode) in SetMode() 316 void HdiConnection::UpdateSensorBasicInfo(const SensorDescription &sensorDesc, int64_t samplingPeri… in UpdateSensorBasicInfo() 332 void HdiConnection::SetSensorBasicInfoState(const SensorDescription &sensorDesc, bool state) in SetSensorBasicInfoState() 347 void HdiConnection::DeleteSensorBasicInfoState(const SensorDescription &sensorDesc) in DeleteSensorBasicInfoState()
|
| D | compatible_connection.cpp | 77 int32_t CompatibleConnection::EnableSensor(const SensorDescription &sensorDesc) in EnableSensor() 88 int32_t CompatibleConnection::DisableSensor(const SensorDescription &sensorDesc) in DisableSensor() 99 int32_t CompatibleConnection::SetBatch(const SensorDescription &sensorDesc, int64_t samplingInterva… in SetBatch() 111 int32_t CompatibleConnection::SetMode(const SensorDescription &sensorDesc, int32_t mode) in SetMode()
|
| /base/sensors/sensor/services/hdi_connection/hardware/src/ |
| D | hdi_service_impl.cpp | 262 int32_t HdiServiceImpl::EnableSensor(const SensorDescription &sensorDesc) in EnableSensor() 285 int32_t HdiServiceImpl::DisableSensor(const SensorDescription &sensorDesc) in DisableSensor() 312 int32_t HdiServiceImpl::SetBatch(const SensorDescription &sensorDesc, int64_t samplingInterval, int… in SetBatch() 324 int32_t HdiServiceImpl::SetMode(const SensorDescription &sensorDesc, int32_t mode) in SetMode()
|
| /base/sensors/sensor/services/hdi_connection/interface/src/ |
| D | sensor_hdi_connection.cpp | 257 int32_t SensorHdiConnection::EnableSensor(const SensorDescription &sensorDesc) in EnableSensor() 292 int32_t SensorHdiConnection::DisableSensor(const SensorDescription &sensorDesc) in DisableSensor() 330 int32_t SensorHdiConnection::SetBatch(const SensorDescription &sensorDesc, int64_t samplingInterval, in SetBatch() 366 int32_t SensorHdiConnection::SetMode(const SensorDescription &sensorDesc, int32_t mode) in SetMode()
|
| /base/sensors/sensor/frameworks/native/src/ |
| D | sensor_agent_proxy.cpp | 54 …cordSensorCallback> SensorAgentProxy::GetSubscribeUserCallback(const SensorDescription &sensorDesc) in GetSubscribeUserCallback() 159 int32_t SensorAgentProxy::ActivateSensor(const SensorDescription &sensorDesc, const SensorUser *use… in ActivateSensor() 199 int32_t SensorAgentProxy::DeactivateSensor(const SensorDescription &sensorDesc, const SensorUser *u… in DeactivateSensor() 243 int32_t SensorAgentProxy::SetBatch(const SensorDescription &sensorDesc, const SensorUser *user, in SetBatch() 271 int32_t SensorAgentProxy::SubscribeSensor(const SensorDescription &sensorDesc, const SensorUser *us… in SubscribeSensor() 307 int32_t SensorAgentProxy::UnsubscribeSensor(const SensorDescription &sensorDesc, const SensorUser *… in UnsubscribeSensor() 350 int32_t SensorAgentProxy::SetMode(const SensorDescription &sensorDesc, const SensorUser *user, int3… in SetMode()
|
| D | sensor_service_client.cpp | 151 bool SensorServiceClient::IsValid(const SensorDescription &sensorDesc) in IsValid() 171 int32_t SensorServiceClient::EnableSensor(const SensorDescription &sensorDesc, int64_t samplingPeri… in EnableSensor() 197 int32_t SensorServiceClient::DisableSensor(const SensorDescription &sensorDesc) in DisableSensor() 563 void SensorServiceClient::UpdateSensorInfoMap(const SensorDescription &sensorDesc, int64_t sampling… in UpdateSensorInfoMap() 577 void SensorServiceClient::DeleteSensorInfoItem(const SensorDescription &sensorDesc) in DeleteSensorInfoItem()
|
| /base/sensors/sensor/frameworks/js/napi/src/ |
| D | sensor_js.cpp | 71 static bool CheckSubscribe(SensorDescription sensorDesc) in CheckSubscribe() 105 static bool CheckSystemSubscribe(SensorDescription sensorDesc) in CheckSystemSubscribe() 218 int32_t UnsubscribeSensor(const SensorDescription &sensorDesc) in UnsubscribeSensor() 231 int32_t SubscribeSensor(const SensorDescription &sensorDesc, int64_t interval, RecordSensorCallback… in SubscribeSensor() 290 static bool IsOnceSubscribed(napi_env env, SensorDescription sensorDesc, napi_value callback) in IsOnceSubscribed() 315 static void UpdateOnceCallback(napi_env env, SensorDescription sensorDesc, napi_value callback) in UpdateOnceCallback() 412 static bool IsSubscribed(napi_env env, SensorDescription sensorDesc, napi_value callback) in IsSubscribed() 437 static void UpdateCallbackInfos(napi_env env, SensorDescription sensorDesc, napi_value callback) in UpdateCallbackInfos() 570 SensorDescription &sensorDesc) in GetOptionalParameter() 617 SensorDescription sensorDesc; in On() local [all …]
|
| /base/sensors/sensor/test/fuzztest/services/service/reportactiveinfo_fuzzer/ |
| D | reportactiveinfo_fuzzer.cpp | 81 SensorDescription sensorDesc; in ReportActiveInfoFuzzTest() local
|
| /base/sensors/sensor/test/fuzztest/services/sensordisablestub_fuzzer/ |
| D | sensordisablestub_fuzzer.cpp | 86 SensorDescriptionIPC sensorDesc; in OnRemoteRequestFuzzTest() local
|
| /base/sensors/sensor/test/fuzztest/services/sensorenablestub_fuzzer/ |
| D | sensorenablestub_fuzzer.cpp | 87 SensorDescriptionIPC sensorDesc {-1, 1, 0, 1}; in OnRemoteRequestFuzzTest() local
|
| /base/sensors/sensor/utils/common/src/ |
| D | sensor.cpp | 324 auto sensorDesc = new (std::nothrow) SensorDescriptionIPC(); in Unmarshalling() local
|