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.cpp50 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, function in class:android::HardwareSensor
52 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs,
H A DSensorDevice.cpp156 // Log error. Every activate call should be preceded by a batch() call.
157 ALOGE("\t >>>ERROR: activate called without batch");
169 // Call batch for this sensor with the previously calculated best effort
171 // events, and the best effort batch parameters might have changed.
173 "\t>>> actuating h/w batch %d %d %" PRId64 " %" PRId64, handle,
176 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags,
199 // On older devices which do not support batch, call setDelay().
210 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, function in class:android::SensorDevice
225 "SensorDevice::batch: ident=%p, handle=0x%08x, flags=%d, period_ns=%" PRId64 " timeout=%" PRId64,
235 // A batch ha
[all...]
/frameworks/native/libs/input/
H A DInputTransport.cpp419 ALOGD("channel '%s' consumer ~ consumed batch event, seq=%u",
447 Batch& batch = mBatches.editItemAt(batchIndex); local
448 if (canAddSample(batch, &mMsg)) {
449 batch.samples.push(mMsg);
451 ALOGD("channel '%s' consumer ~ appended to batch event",
456 // We cannot append to the batch in progress, so we need to consume
457 // the previous batch right now and defer the new message until later.
460 batch, batch.samples.size(), outSeq, outEvent);
466 ALOGD("channel '%s' consumer ~ consumed batch even
478 Batch& batch = mBatches.editTop(); local
514 Batch& batch = mBatches.editItemAt(i); local
548 consumeSamples(InputEventFactoryInterface* factory, Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent) argument
864 const Batch& batch = mBatches.itemAt(i); local
936 canAddSample(const Batch& batch, const InputMessage *msg) argument
952 findSampleNoLaterThan(const Batch& batch, nsecs_t time) argument
[all...]

Completed in 119 milliseconds