Home
last modified time | relevance | path

Searched refs:reportInterval (Results 1 - 25 of 33) sorted by relevance

12

/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/src/
H A 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()
119 reportInterval = 0; in SetBatch()
122 g_reportInterval = reportInterval; in SetBatch()
/base/sensors/sensor_lite/frameworks/src/
H A Dsensor_agent.c44 int32_t SetBatch(int32_t sensorTypeId, SensorUser *user, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
49 return SetBatchByProxy(g_proxy, sensorTypeId, user, samplingInterval, reportInterval); in SetBatch()
H A Dsensor_agent_client.c66 int64_t reportInterval) in SetBatchByProxy()
73 return sensor->SetBatch(sensorId, user, samplingInterval, reportInterval); in SetBatchByProxy()
65 SetBatchByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t reportInterval) SetBatchByProxy() argument
/base/sensors/sensor/frameworks/native/include/
H A Dnative_sensor_impl.h38 int64_t reportInterval = -1; member
/base/sensors/sensor_lite/interfaces/kits/native/include/
H A Dsensor_agent.h92 * @param reportInterval Indicates the sensor data reporting interval, in nanoseconds.
97 int32_t SetBatch(int32_t sensorTypeId, SensorUser *user, int64_t samplingInterval, int64_t reportInterval);
/base/sensors/medical_sensor/interfaces/native/include/
H A Dmedical_native_impl.h89 * @param reportInterval Indicates the sensor data reporting interval, in nanoseconds.
94 int32_t SetBatch(int32_t sensorTypeId, const MedicalSensorUser *user, int64_t samplingInterval, int64_t reportInterval);
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/src/
H A Dsensor_hdi_connection.cpp89 int32_t SensorHdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
91 int32_t ret = iSensorHdiConnection_->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
/base/sensors/sensor/services/hdi_connection/adapter/include/
H A Dcompatible_connection.h32 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
H A Dhdi_connection.h33 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
/base/sensors/sensor/services/hdi_connection/hardware/include/
H A Dhdi_service_impl.h34 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval);
/base/sensors/sensor/services/hdi_connection/interface/include/
H A Di_sensor_hdi_connection.h34 virtual int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) = 0;
/base/sensors/sensor/interfaces/inner_api/
H A Dsensor_agent.h89 * @param reportInterval Indicates the sensor data reporting interval, in nanoseconds.
94 int32_t SetBatch(int32_t sensorTypeId, const SensorUser *user, int64_t samplingInterval, int64_t reportInterval);
/base/sensors/sensor_lite/frameworks/include/
H A Dsensor_agent_proxy.h44 int64_t reportInterval);
/base/sensors/sensor/services/hdi_connection/hardware/src/
H A Dhdi_service_impl.cpp286 int32_t HdiServiceImpl::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
289 if (samplingInterval < 0 || reportInterval < 0) { in SetBatch()
291 reportInterval = 0; in SetBatch()
294 reportInterval_ = reportInterval; in SetBatch()
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/include/
H A Dcompatible_connection.h38 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/include/
H A Dsensor_hdi_connection.h38 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
H A Di_sensor_hdi_connection.h40 virtual int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) = 0;
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/include/
H A Dhdi_service_impl.h40 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval);
/base/sensors/sensor_lite/services/include/
H A Dsensor_service.h56 int32_t (*SetBatch)(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t reportInterval);
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/
H A Dcompatible_connection.cpp84 int32_t CompatibleConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
86 int32_t ret = hdiServiceImpl_.SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
/base/sensors/sensor/services/hdi_connection/adapter/src/
H A Dcompatible_connection.cpp94 int32_t CompatibleConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
96 int32_t ret = hdiServiceImpl_.SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
H A Dhdi_connection.cpp150 int32_t HdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
153 int32_t ret = g_sensorInterface->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
162 UpdateSensorBasicInfo(sensorId, samplingInterval, reportInterval); in SetBatch()
/base/sensors/sensor/frameworks/native/src/
H A Dsensor_agent.cpp77 int32_t SetBatch(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
79 int32_t ret = SENSOR_AGENT_IMPL->SetBatch(sensorId, user, samplingInterval, reportInterval); in SetBatch()
/base/sensors/sensor/services/hdi_connection/interface/src/
H A Dsensor_hdi_connection.cpp297 int32_t SensorHdiConnection::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
306 ret = iSensorCompatibleHdiConnection_->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
318 ret = iSensorHdiConnection_->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
/base/sensors/sensor_lite/services/src/
H A Dsensor_service_impl.c201 int32_t SetBatchImpl(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t reportInterval) in SetBatchImpl() argument
210 if ((samplingInterval < 0) || (reportInterval < 0)) { in SetBatchImpl()
212 "[SERVICE:%s]: %s samplingInterval: %lld or reportInterval: %lld is invalid", in SetBatchImpl()
213 SENSOR_SERVICE, __func__, samplingInterval, reportInterval); in SetBatchImpl()

Completed in 8 milliseconds

12