Searched defs:samplingPeriodNs (Results 1 - 6 of 6) sorted by relevance

/frameworks/native/services/sensorservice/
H A DSensorInterface.cpp66 int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) {
67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs,
65 batch(void* ident, int , int flags, int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) argument
H A DSensorDirectConnection.cpp62 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs,
67 UNUSED(samplingPeriodNs);
74 int handle, nsecs_t samplingPeriodNs) {
77 UNUSED(samplingPeriodNs);
61 enableDisable( int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument
73 setEventRate( int handle, nsecs_t samplingPeriodNs) argument
H A DSensorDevice.cpp316 int64_t samplingPeriodNs,
320 if (samplingPeriodNs < MINIMUM_EVENTS_PERIOD) {
321 samplingPeriodNs = MINIMUM_EVENTS_PERIOD;
329 ident, handle, flags, samplingPeriodNs, maxBatchReportLatencyNs);
335 BatchParams params(samplingPeriodNs, maxBatchReportLatencyNs);
339 info.setBatchParamsForIdent(ident, flags, samplingPeriodNs, maxBatchReportLatencyNs);
370 status_t SensorDevice::setDelay(void* ident, int handle, int64_t samplingPeriodNs) { argument
371 return batch(ident, handle, 0, samplingPeriodNs, 0);
569 int64_t samplingPeriodNs,
575 ident, samplingPeriodNs, maxBatchReportLatencyN
312 batch( void* ident, int handle, int flags, int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) argument
568 setBatchParamsForIdent(void* ident, int, int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) argument
[all...]
H A DSensorEventConnection.cpp505 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs,
510 err = mService->enable(this, handle, samplingPeriodNs, maxBatchReportLatencyNs,
520 int handle, nsecs_t samplingPeriodNs)
522 return mService->setEventRate(this, handle, samplingPeriodNs, mOpPackageName);
504 enableDisable( int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument
519 setEventRate( int handle, nsecs_t samplingPeriodNs) argument
H A DSensorService.cpp1184 int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags,
1254 if (maxDelayNs > 0 && (samplingPeriodNs > maxDelayNs)) {
1255 samplingPeriodNs = maxDelayNs;
1259 if (samplingPeriodNs < minDelayNs) {
1260 samplingPeriodNs = minDelayNs;
1265 handle, reservedFlags, samplingPeriodNs, maxBatchReportLatencyNs);
1267 status_t err = sensor->batch(connection.get(), handle, 0, samplingPeriodNs,
1299 samplingPeriodNs, maxBatchReportLatencyNs, true);
1183 enable(const sp<SensorEventConnection>& connection, int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags, const String16& opPackageName) argument
/frameworks/native/libs/sensor/
H A DISensorEventConnection.cpp60 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, argument
67 data.writeInt64(samplingPeriodNs);
123 nsecs_t samplingPeriodNs = data.readInt64(); local
126 status_t result = enableDisable(handle, enabled, samplingPeriodNs,

Completed in 61 milliseconds