/frameworks/native/services/sensorservice/ |
D | SensorInterface.h | 38 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs, 54 virtual status_t batch(void* ident, int handle, int, int64_t samplingPeriodNs, in batch() argument 57 return setDelay(ident, handle, samplingPeriodNs); in batch() 86 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
|
D | SensorDirectConnection.cpp | 72 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, in enableDisable() argument 77 UNUSED(samplingPeriodNs); in enableDisable() 84 int handle, nsecs_t samplingPeriodNs) { in setEventRate() argument 87 UNUSED(samplingPeriodNs); in setEventRate()
|
D | SensorDirectConnection.h | 61 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, 63 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
|
D | SensorDevice.cpp | 654 int64_t samplingPeriodNs, in batch() argument 658 if (samplingPeriodNs < MINIMUM_EVENTS_PERIOD) { in batch() 659 samplingPeriodNs = MINIMUM_EVENTS_PERIOD; in batch() 667 ident, handle, flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch() 670 return batchLocked(ident, handle, flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch() 673 status_t SensorDevice::batchLocked(void* ident, int handle, int flags, int64_t samplingPeriodNs, in batchLocked() argument 683 BatchParams params(samplingPeriodNs, maxBatchReportLatencyNs); in batchLocked() 687 info.setBatchParamsForIdent(ident, flags, samplingPeriodNs, maxBatchReportLatencyNs); in batchLocked() 717 status_t SensorDevice::setDelay(void* ident, int handle, int64_t samplingPeriodNs) { in setDelay() argument 718 return batch(ident, handle, 0, samplingPeriodNs, 0); in setDelay() [all …]
|
D | SensorInterface.cpp | 66 int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) { in batch() argument 67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
|
D | SensorsWrapper.h | 66 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, 120 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument 122 return mSensors->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
|
D | SensorEventConnection.h | 77 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, 79 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
|
D | SensorDevice.h | 93 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, 173 status_t setBatchParamsForIdent(void* ident, int flags, int64_t samplingPeriodNs, 211 status_t batchLocked(void* ident, int handle, int flags, int64_t samplingPeriodNs,
|
D | SensorEventConnection.cpp | 603 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, in enableDisable() argument 608 err = mService->enable(this, handle, samplingPeriodNs, maxBatchReportLatencyNs, in enableDisable() 618 int handle, nsecs_t samplingPeriodNs) in setEventRate() argument 620 return mService->setEventRate(this, handle, samplingPeriodNs, mOpPackageName); in setEventRate()
|
D | SensorService.cpp | 1390 int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags, in enable() argument 1473 if (maxDelayNs > 0 && (samplingPeriodNs > maxDelayNs)) { in enable() 1474 samplingPeriodNs = maxDelayNs; in enable() 1478 if (samplingPeriodNs < minDelayNs) { in enable() 1479 samplingPeriodNs = minDelayNs; in enable() 1484 handle, reservedFlags, samplingPeriodNs, maxBatchReportLatencyNs); in enable() 1486 status_t err = sensor->batch(connection.get(), handle, 0, samplingPeriodNs, in enable() 1523 samplingPeriodNs, maxBatchReportLatencyNs, true); in enable()
|
D | SensorService.h | 82 nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags,
|
/frameworks/native/libs/sensor/ |
D | ISensorEventConnection.cpp | 61 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, in enableDisable() argument 68 data.writeInt64(samplingPeriodNs); in enableDisable() 135 nsecs_t samplingPeriodNs = data.readInt64(); in onTransact() local 138 status_t result = enableDisable(handle, enabled, samplingPeriodNs, in onTransact()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | ISensorEventConnection.h | 40 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
|