Searched refs:consume (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/androidfw/tests/
H A DInputPublisherAndConsumer_test.cpp91 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event);
93 << "consumer consume should return OK";
174 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event);
176 << "consumer consume should return OK";
/frameworks/base/core/jni/
H A Dandroid_view_InputEventReceiver.cpp153 status_t status = mInputConsumer.consume(&mInputEventFactory,
174 ALOGE("channel '%s' ~ Failed to consume input event. status=%d",
282 message.appendFormat("Failed to consume batched input event. status=%d", status);
H A Dandroid_app_NativeActivity.cpp210 status_t res = mConsumer.consume(&mPooledInputEventFactory, true /*consumeBatches*/, -1,
214 ALOGW("channel '%s' ~ Failed to consume input event. status=%d",
/frameworks/base/include/androidfw/
H A DInputTransport.h292 status_t consume(InputEventFactoryInterface* factory, bool consumeBatches,
307 * Should be called after calling consume() to determine whether the consumer
314 * One option is simply to call consume() in a loop until it returns WOULD_BLOCK.
319 * one more time to consume the deferred event.
325 * Should be called after calling consume() with consumeBatches == false to determine
326 * whether consume() should be called again later on with consumeBatches == true.
341 // call to consume and that still needs to be handled.
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp386 status_t InputConsumer::consume(InputEventFactoryInterface* factory, function in class:android::InputConsumer
389 ALOGD("channel '%s' consumer ~ consume: consumeBatches=%s, frameTime=%lld",
400 // mMsg contains a valid input message from the previous call to consume
449 // We cannot append to the batch in progress, so we need to consume

Completed in 304 milliseconds