Home
last modified time | relevance | path

Searched refs:samplingInterval (Results 1 – 25 of 35) sorted by relevance

12

/base/sensors/sensor/services/sensor/hdi_connection/hardware/src/
Dhdi_service_impl.cpp143 int32_t HdiServiceImpl::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
146 if (samplingInterval < 0 || reportInterval < 0) { in SetBatch()
147 samplingInterval = SAMPLING_INTERVAL_NS; in SetBatch()
150 samplingInterval_ = samplingInterval; in SetBatch()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/src/
Dhdi_service_impl.cpp114 int32_t HdiServiceImpl::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
117 if (samplingInterval < 0 || reportInterval < 0) { in SetBatch()
118 samplingInterval = SAMPLING_INTERVAL_NS; in SetBatch()
121 g_samplingInterval = samplingInterval; in SetBatch()
/base/sensors/sensor_lite/frameworks/src/
Dsensor_agent.c44 int32_t SetBatch(int32_t sensorTypeId, SensorUser *user, int64_t samplingInterval, int64_t reportIn… in SetBatch() argument
49 return SetBatchByProxy(g_proxy, sensorTypeId, user, samplingInterval, reportInterval); in SetBatch()
Dsensor_agent_client.c65 …BatchByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int64_t samplingInterval, in SetBatchByProxy() argument
73 return sensor->SetBatch(sensorId, user, samplingInterval, reportInterval); in SetBatchByProxy()
/base/sensors/sensor_lite/interfaces/kits/native/include/
Dsensor_agent.h97 int32_t SetBatch(int32_t sensorTypeId, SensorUser *user, int64_t samplingInterval, int64_t reportIn…
/base/sensors/sensor_lite/frameworks/include/
Dsensor_agent.h101 int32_t SetBatch(int32_t sensorTypeId, SensorUser *user, int64_t samplingInterval, int64_t reportIn…
Dsensor_agent_proxy.h43 …BatchByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int64_t samplingInterval,
/base/sensors/medical_sensor/interfaces/native/include/
Dmedical_native_impl.h94 int32_t SetBatch(int32_t sensorTypeId, const MedicalSensorUser *user, int64_t samplingInterval, int…
/base/sensors/sensor/services/sensor/hdi_connection/interface/include/
Di_sensor_hdi_connection.h34 … virtual int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) = 0;
Dsensor_hdi_connection.h34 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
/base/sensors/sensor/services/sensor/hdi_connection/hardware/include/
Dhdi_service_impl.h34 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval);
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/src/
Dsensor_hdi_connection.cpp89 int32_t SensorHdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInt… in SetBatch() argument
91 int32_t ret = iSensorHdiConnection_->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
/base/sensors/sensor/services/sensor/hdi_connection/adapter/include/
Dcompatible_connection.h32 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
Dhdi_connection.h33 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/include/
Dhdi_service_impl.h40 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval);
/base/sensors/sensor/interfaces/native/include/
Dsensor_agent.h94 int32_t SetBatch(int32_t sensorTypeId, const SensorUser *user, int64_t samplingInterval, int64_t re…
/base/sensors/sensor_lite/services/include/
Dsensor_service.h56 …int32_t (*SetBatch)(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t re…
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/include/
Di_sensor_hdi_connection.h40 … virtual int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) = 0;
Dsensor_hdi_connection.h38 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
/base/sensors/sensor/services/sensor/hdi_connection/interface/src/
Dsensor_hdi_connection.cpp184 int32_t SensorHdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInt… in SetBatch() argument
190 ret = iSensorCompatibleHdiConnection_->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
199 ret = iSensorHdiConnection_->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/include/
Dcompatible_connection.h38 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
/base/sensors/sensor/interfaces/native/src/
Dsensor_agent.cpp75 int32_t SetBatch(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t report… in SetBatch() argument
77 int32_t ret = SENSOR_AGENT_IMPL->SetBatch(sensorId, user, samplingInterval, reportInterval); in SetBatch()
/base/sensors/sensor_lite/services/src/
Dsensor_service_impl.c193 int32_t SetBatchImpl(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t re… in SetBatchImpl() argument
202 if ((samplingInterval < 0) || (reportInterval < 0)) { in SetBatchImpl()
205 SENSOR_SERVICE, __func__, samplingInterval, reportInterval); in SetBatchImpl()
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/
Dcompatible_connection.cpp97 int32_t CompatibleConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportIn… in SetBatch() argument
99 int32_t ret = hdiServiceImpl_.SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/
Dcompatible_connection.cpp84 int32_t CompatibleConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportIn… in SetBatch() argument
86 int32_t ret = hdiServiceImpl_.SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()

12