Home
last modified time | relevance | path

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

12

/drivers/hdf_core/framework/model/sensor/driver/include/
Dsensor_device_if.h17 int32_t (*SetBatch)(int64_t samplingInterval, int64_t reportInterval);
/drivers/peripheral/sensor/interfaces/include/
Dsensor_if.h109 int32_t (*SetBatch)(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval);
/drivers/peripheral/sensor/hdi_service/
Dsensor_if_service.cpp162 int32_t SensorIfService::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterva… in SetBatch() argument
165 … reportInterval is [%{public}" PRId64 "].", __func__, sensorId, samplingInterval, reportInterval); in SetBatch()
172 int32_t ret = sensorVdiImpl_->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
Dsensor_if_service.h39 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
/drivers/peripheral/sensor/interfaces/v1_0/
Disensor_interface_vdi.h50 … virtual int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) = 0;
/drivers/peripheral/sensor/hdi_impl/
Dsensor_impl.h39 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
Dsensor_impl.cpp220 int32_t SensorImpl::SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) in SetBatch() argument
223 … reportInterval is [%{public}" PRId64 "].", __func__, sensorId, samplingInterval, reportInterval); in SetBatch()
230 int32_t ret = sensorInterface->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch()
/drivers/hdf_core/framework/test/unittest/sensor/
Dhdf_sensor_test.c143 static int32_t SensorSetBatchTest(int64_t samplingInterval, int64_t interval) in SensorSetBatchTest() argument
150 drvData->interval = samplingInterval; in SensorSetBatchTest()
/drivers/peripheral/sensor/hal/src/
Dsensor_controller.c305 static int32_t SetSensorBatch(int32_t sensorId, int64_t samplingInterval, int64_t interval) in SetSensorBatch() argument
312 if (samplingInterval < 0) { in SetSensorBatch()
313 …{public}s: invalid param , samplingInterval is [%{public}" PRId64 "]", __func__, samplingInterval); in SetSensorBatch()
326 …HdfSbufWriteInt32(msg, SENSOR_OPS_IO_CMD_SET_BATCH) || !HdfSbufWriteInt64(msg, samplingInterval) || in SetSensorBatch()
/drivers/hdf_core/framework/model/sensor/driver/common/src/
Dsensor_device_manager.c183 int64_t samplingInterval; in SetBatch() local
191 if (!HdfSbufReadInt64(data, &samplingInterval) || !HdfSbufReadInt64(data, &reportInterval)) { in SetBatch()
196 return deviceInfo->ops.SetBatch(samplingInterval, reportInterval); in SetBatch()
/drivers/hdf_core/framework/model/sensor/driver/ppg/
Dsensor_ppg_driver.c147 static int32_t SetPpgBatch(int64_t samplingInterval, int64_t interval) in SetPpgBatch() argument
153 drvData->interval = samplingInterval; in SetPpgBatch()
/drivers/hdf_core/framework/model/sensor/driver/pedometer/
Dsensor_pedometer_driver.c165 static int32_t SetPedometerBatch(int64_t samplingInterval, int64_t interval) in SetPedometerBatch() argument
174 drvData->interval = samplingInterval; in SetPedometerBatch()
/drivers/hdf_core/framework/model/sensor/driver/barometer/
Dsensor_barometer_driver.c162 static int32_t SetBarometerBatch(int64_t samplingInterval, int64_t interval) in SetBarometerBatch() argument
171 drvData->interval = samplingInterval; in SetBarometerBatch()
/drivers/hdf_core/framework/model/sensor/driver/accel/
Dsensor_gravity_driver.c166 static int32_t SetGravityBatch(int64_t samplingInterval, int64_t interval) in SetGravityBatch() argument
176 ms = OsalDivS64(samplingInterval, (SENSOR_CONVERT_UNIT * SENSOR_CONVERT_UNIT)); in SetGravityBatch()
Dsensor_accel_driver.c187 static int32_t SetAccelBatch(int64_t samplingInterval, int64_t interval) in SetAccelBatch() argument
196 drvData->interval = samplingInterval; in SetAccelBatch()
/drivers/hdf_core/framework/model/sensor/driver/gyro/
Dsensor_gyro_driver.c162 static int32_t SetGyroBatch(int64_t samplingInterval, int64_t interval) in SetGyroBatch() argument
171 drvData->interval = samplingInterval; in SetGyroBatch()
/drivers/hdf_core/framework/model/sensor/driver/proximity/
Dsensor_proximity_driver.c161 static int32_t SetProximityBatch(int64_t samplingInterval, int64_t interval) in SetProximityBatch() argument
170 drvData->interval = samplingInterval; in SetProximityBatch()
/drivers/hdf_core/framework/model/sensor/driver/temperature/
Dsensor_temperature_driver.c164 static int32_t SetTemperatureBatch(int64_t samplingInterval, int64_t interval) in SetTemperatureBatch() argument
173 drvData->interval = samplingInterval; in SetTemperatureBatch()
/drivers/hdf_core/framework/model/sensor/driver/humidity/
Dsensor_humidity_driver.c162 static int32_t SetHumidityBatch(int64_t samplingInterval, int64_t interval) in SetHumidityBatch() argument
171 drvData->interval = samplingInterval; in SetHumidityBatch()
/drivers/hdf_core/framework/model/sensor/driver/magnetic/
Dsensor_magnetic_driver.c162 static int32_t SetMagneticBatch(int64_t samplingInterval, int64_t interval) in SetMagneticBatch() argument
171 drvData->interval = samplingInterval; in SetMagneticBatch()
/drivers/hdf_core/framework/model/sensor/driver/hall/
Dsensor_hall_driver.c263 static int32_t SetHallBatch(int64_t samplingInterval, int64_t interval) in SetHallBatch() argument
265 (void)samplingInterval; in SetHallBatch()
/drivers/hdf_core/framework/model/sensor/driver/als/
Dsensor_als_driver.c299 static int32_t SetAlsBatch(int64_t samplingInterval, int64_t interval) in SetAlsBatch() argument
308 drvData->interval = samplingInterval; in SetAlsBatch()
/drivers/interface/sensor/v1_0/
DISensorInterface.idl95 * @param samplingInterval Indicates the sensor data sampling interval to set, in nanoseconds.
102 SetBatch([in] int sensorId,[in] long samplingInterval, [in] long reportInterval);
/drivers/interface/sensor/v1_1/
DISensorInterface.idl95 * @param samplingInterval Indicates the sensor data sampling interval to set, in nanoseconds.
102 SetBatch([in] int sensorId,[in] long samplingInterval, [in] long reportInterval);
/drivers/peripheral/sensor/
DREADME_zh.md71 …="b16691194511438"></a>SetBatch</strong>(iint32_t sensorId, int64_t samplingInterval, int64_t repo…

12