/drivers/hdf_core/framework/model/sensor/driver/include/ |
D | sensor_device_if.h | 17 int32_t (*SetBatch)(int64_t samplingInterval, int64_t reportInterval);
|
/drivers/peripheral/sensor/interfaces/include/ |
D | sensor_if.h | 109 int32_t (*SetBatch)(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval);
|
/drivers/peripheral/sensor/hdi_service/ |
D | sensor_if_service.cpp | 162 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()
|
D | sensor_if_service.h | 39 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
|
/drivers/peripheral/sensor/interfaces/v1_0/ |
D | isensor_interface_vdi.h | 50 … virtual int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) = 0;
|
/drivers/peripheral/sensor/hdi_impl/ |
D | sensor_impl.h | 39 int32_t SetBatch(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval) override;
|
D | sensor_impl.cpp | 220 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/ |
D | hdf_sensor_test.c | 143 static int32_t SensorSetBatchTest(int64_t samplingInterval, int64_t interval) in SensorSetBatchTest() argument 150 drvData->interval = samplingInterval; in SensorSetBatchTest()
|
/drivers/peripheral/sensor/hal/src/ |
D | sensor_controller.c | 305 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/ |
D | sensor_device_manager.c | 183 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/ |
D | sensor_ppg_driver.c | 147 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/ |
D | sensor_pedometer_driver.c | 165 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/ |
D | sensor_barometer_driver.c | 162 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/ |
D | sensor_gravity_driver.c | 166 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()
|
D | sensor_accel_driver.c | 187 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/ |
D | sensor_gyro_driver.c | 162 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/ |
D | sensor_proximity_driver.c | 161 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/ |
D | sensor_temperature_driver.c | 164 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/ |
D | sensor_humidity_driver.c | 162 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/ |
D | sensor_magnetic_driver.c | 162 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/ |
D | sensor_hall_driver.c | 263 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/ |
D | sensor_als_driver.c | 299 static int32_t SetAlsBatch(int64_t samplingInterval, int64_t interval) in SetAlsBatch() argument 308 drvData->interval = samplingInterval; in SetAlsBatch()
|
/drivers/interface/sensor/v1_0/ |
D | ISensorInterface.idl | 95 * @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/ |
D | ISensorInterface.idl | 95 * @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/ |
D | README_zh.md | 71 …="b16691194511438"></a>SetBatch</strong>(iint32_t sensorId, int64_t samplingInterval, int64_t repo…
|