Searched defs:batch (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/services/sensorservice/
H A DSensorInterface.h43 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, function in class:android::SensorInterface
76 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
H A DSensorInterface.cpp53 status_t HardwareSensor::batch(void* ident, int handle, int flags, function in class:android::HardwareSensor
55 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs,
H A DSensorDevice.cpp149 // Log error. Every activate call should be preceded by a batch() call.
150 ALOGE("\t >>>ERROR: activate called without batch");
162 // Call batch for this sensor with the previously calculated best effort
164 // events, and the best effort batch parameters might have changed.
166 "\t>>> actuating h/w batch %d %d %lld %lld ", handle,
169 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags,
192 // On older devices which do not support batch, call setDelay().
203 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, function in class:android::SensorDevice
214 return mSensorDevice->batch(mSensorDevice, handle, flags, samplingPeriodNs,
220 errDryRun = mSensorDevice->batch(mSensorDevic
[all...]
/frameworks/native/libs/input/
H A DInputTransport.cpp418 ALOGD("channel '%s' consumer ~ consumed batch event, seq=%u",
446 Batch& batch = mBatches.editItemAt(batchIndex); local
447 if (canAddSample(batch, &mMsg)) {
448 batch.samples.push(mMsg);
450 ALOGD("channel '%s' consumer ~ appended to batch event",
455 // We cannot append to the batch in progress, so we need to consume
456 // the previous batch right now and defer the new message until later.
459 batch, batch.samples.size(), outSeq, outEvent);
465 ALOGD("channel '%s' consumer ~ consumed batch even
477 Batch& batch = mBatches.editTop(); local
513 Batch& batch = mBatches.editItemAt(i); local
547 consumeSamples(InputEventFactoryInterface* factory, Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent) argument
863 const Batch& batch = mBatches.itemAt(i); local
935 canAddSample(const Batch& batch, const InputMessage *msg) argument
951 findSampleNoLaterThan(const Batch& batch, nsecs_t time) argument
[all...]

Completed in 3580 milliseconds