/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/src/ |
H A D | hdi_service_impl.cpp | 114 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 D | sensor_agent.c | 44 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 D | sensor_agent_client.c | 66 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 D | native_sensor_impl.h | 38 int64_t reportInterval = -1; member
|
/base/sensors/sensor_lite/interfaces/kits/native/include/ |
H A D | sensor_agent.h | 92 * @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 D | medical_native_impl.h | 89 * @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 D | sensor_hdi_connection.cpp | 89 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 D | compatible_connection.h | 32 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
|
H A D | hdi_connection.h | 33 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
|
/base/sensors/sensor/services/hdi_connection/hardware/include/ |
H A D | hdi_service_impl.h | 34 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval);
|
/base/sensors/sensor/services/hdi_connection/interface/include/ |
H A D | i_sensor_hdi_connection.h | 34 virtual int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) = 0;
|
/base/sensors/sensor/interfaces/inner_api/ |
H A D | sensor_agent.h | 89 * @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 D | sensor_agent_proxy.h | 44 int64_t reportInterval);
|
/base/sensors/sensor/services/hdi_connection/hardware/src/ |
H A D | hdi_service_impl.cpp | 286 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 D | compatible_connection.h | 38 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 D | sensor_hdi_connection.h | 38 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
|
H A D | i_sensor_hdi_connection.h | 40 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 D | hdi_service_impl.h | 40 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval);
|
/base/sensors/sensor_lite/services/include/ |
H A D | sensor_service.h | 56 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 D | compatible_connection.cpp | 84 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 D | compatible_connection.cpp | 94 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 D | hdi_connection.cpp | 150 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 D | sensor_agent.cpp | 77 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 D | sensor_hdi_connection.cpp | 297 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 D | sensor_service_impl.c | 201 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()
|