/frameworks/native/services/sensorservice/ |
D | SensorDevice.cpp | 235 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, in batch() argument 239 if (samplingPeriodNs < MINIMUM_EVENTS_PERIOD) { in batch() 240 samplingPeriodNs = MINIMUM_EVENTS_PERIOD; in batch() 251 ident, handle, flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch() 257 BatchParams params(flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch() 261 info.setBatchParamsForIdent(ident, flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch() 300 status_t SensorDevice::setDelay(void* ident, int handle, int64_t samplingPeriodNs) { in setDelay() argument 302 if (samplingPeriodNs < MINIMUM_EVENTS_PERIOD) { in setDelay() 303 samplingPeriodNs = MINIMUM_EVENTS_PERIOD; in setDelay() 318 params.batchDelay = samplingPeriodNs; in setDelay() [all …]
|
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 | SensorInterface.cpp | 66 int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) { in batch() argument 67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
|
D | SensorDevice.h | 44 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, 95 status_t setBatchParamsForIdent(void* ident, int flags, int64_t samplingPeriodNs,
|
D | SensorEventConnection.h | 73 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, 75 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
|
D | SensorEventConnection.cpp | 503 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, in enableDisable() argument 508 err = mService->enable(this, handle, samplingPeriodNs, maxBatchReportLatencyNs, in enableDisable() 518 int handle, nsecs_t samplingPeriodNs) in setEventRate() argument 520 return mService->setEventRate(this, handle, samplingPeriodNs, mOpPackageName); in setEventRate()
|
D | SensorService.cpp | 987 int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags, in enable() argument 1056 if (samplingPeriodNs < minDelayNs) { in enable() 1057 samplingPeriodNs = minDelayNs; in enable() 1062 handle, reservedFlags, samplingPeriodNs, maxBatchReportLatencyNs); in enable() 1064 status_t err = sensor->batch(connection.get(), handle, 0, samplingPeriodNs, in enable() 1096 reg_info.mSamplingRateUs = samplingPeriodNs/1000; in enable()
|
D | SensorService.h | 75 nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags,
|
/frameworks/native/libs/gui/ |
D | ISensorEventConnection.cpp | 58 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, in enableDisable() argument 65 data.writeInt64(samplingPeriodNs); in enableDisable() 112 nsecs_t samplingPeriodNs = data.readInt64(); in onTransact() local 115 status_t result = enableDisable(handle, enabled, samplingPeriodNs, in onTransact()
|
/frameworks/native/include/gui/ |
D | ISensorEventConnection.h | 39 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
|