Searched refs:batch (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/
H A DInputTransport.cpp412 ALOGD("channel '%s' consumer ~ consumed batch event, seq=%u",
440 Batch& batch = mBatches.editItemAt(batchIndex); local
441 if (canAddSample(batch, &mMsg)) {
442 batch.samples.push(mMsg);
444 ALOGD("channel '%s' consumer ~ appended to batch event",
449 // We cannot append to the batch in progress, so we need to consume
450 // the previous batch right now and defer the new message until later.
453 batch, batch.samples.size(), outSeq, outEvent);
459 ALOGD("channel '%s' consumer ~ consumed batch even
471 Batch& batch = mBatches.editTop(); local
507 Batch& batch = mBatches.editItemAt(i); local
538 consumeSamples(InputEventFactoryInterface* factory, Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent) argument
854 const Batch& batch = mBatches.itemAt(i); local
926 canAddSample(const Batch& batch, const InputMessage *msg) argument
942 findSampleNoLaterThan(const Batch& batch, nsecs_t time) argument
[all...]
/frameworks/base/include/androidfw/
H A DInputTransport.h276 * to determine whether a pending batch is available to be consumed.
323 /* Returns true if there is a pending batch.
404 // a batch, we append a record here that associates the last sequence number in the
405 // batch with the previous one. When the finished signal is sent, we traverse the
406 // chain to individually finish all input messages that were part of the batch.
416 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent);
431 static bool canAddSample(const Batch& batch, const InputMessage* msg);
432 static ssize_t findSampleNoLaterThan(const Batch& batch, nsecs_t time);

Completed in 1248 milliseconds