Home
last modified time | relevance | path

Searched refs:consume (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.md11 …ble for consumption, and schedules a runnable via the `Choreographer` to consume it a short time b…
12 …cheduled runnable is executed, it doesn't just consume the batched input. It proactively tries to
23consume the events inside `handleEvent`, the app calls `InputConsumer::consume(.., consumeBatches=…
25consume` function above would actually return a `NULL` event with status `WOULD_BLOCK`. When this …
29 …leEvent` callback. The other time when the app reads events is when the 'consume batched input' ru…
33consume the events inside 'consume batched input' runnable, the app calls `InputConsumer::consume(…
39 1. Even if events have been read by `InputConsumer`, `consume` will return `NULL` event with status…
45 4. The `consume` function is called in 1 of 2 possible ways:
Dandroid_view_InputEventReceiver.cpp319 status_t status = mInputConsumer.consume(&mInputEventFactory, in consumeEvents()
/frameworks/base/core/java/android/util/apk/
DVerityBuilder.java231 public void consume(ByteBuffer buffer) throws DigestException { in consume() method in VerityBuilder.BufferedDigester
303 digester.consume(ByteBuffer.allocate(CHUNK_SIZE_BYTES - lastIncompleteChunkSize)); in generateFsVerityDigestAtLeafLevel()
335 digester.consume(alternativeCentralDirOffset); in generateApkVerityDigestAtLeafLevel()
348 digester.consume(ByteBuffer.allocate(CHUNK_SIZE_BYTES - lastIncompleteChunkSize)); in generateApkVerityDigestAtLeafLevel()
380 digester.consume(slice(output, 0, CHUNK_SIZE_BYTES)); in generateFsVerityTreeInternal()
410 digester.consume(slice(output, 0, CHUNK_SIZE_BYTES)); in generateVerityTreeInternal()
DDataDigester.java24 void consume(ByteBuffer buffer) throws DigestException; in consume() method
DByteBufferDataSource.java64 md.consume(region); in feedIntoDataDigester()
DReadFileDataSource.java66 md.consume(ByteBuffer.wrap(buffer, 0, readSize)); in feedIntoDataDigester()
DMemoryMappedFileDataSource.java95 md.consume(buf); in feedIntoDataDigester()
DApkSigningBlockUtils.java810 public void consume(ByteBuffer buffer) { in consume() method in ApkSigningBlockUtils.MultipleDigestDataDigester
/frameworks/base/core/java/android/view/
DScrollCaptureSearchResults.java150 mExecutor.execute(() -> consume(scrollBounds)); in accept()
153 private void consume(Rect scrollBounds) { in consume() method in ScrollCaptureSearchResults.SearchRequest
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp98 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event); in PublishAndConsumeKeyEvent()
203 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event); in PublishAndConsumeMotionEvent()
300 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event); in PublishAndConsumeFocusEvent()
342 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event); in PublishAndConsumeCaptureEvent()
384 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event); in PublishAndConsumeDragEvent()
/frameworks/base/tools/aapt2/tools/
Dfix_resources.py25 contents = c.consume(file_path, contents)
/frameworks/base/tools/aapt2/tools/consumers/
Dpositional_arguments.py18 def consume(self, xml_path, input): member in PositionalArgumentFixer
Dduplicates.py14 def consume(self, xml_path, input): member in DuplicateRemover
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp704 InputEvent* consume() { in consume() function in android::inputdispatcher::FakeInputReceiver
725 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, in receiveEvent()
768 InputEvent* event = consume(); in consumeEvent()
813 InputEvent* event = consume(); in consumeFocusEvent()
829 const InputEvent* event = consume(); in consumeCaptureEvent()
844 const InputEvent* event = consume(); in consumeDragEvent()
861 InputEvent* event = consume(); in assertNoEvents()
1082 InputEvent* consume() { in consume() function in android::inputdispatcher::FakeWindowHandle
1086 return mInputReceiver->consume(); in consume()
1090 InputEvent* event = consume(); in consumeMotion()
[all …]
/frameworks/native/cmds/flatland/
DREADME.txt16 that consume much CPU cycles, memory bandwidth, or might otherwise interfere
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp149 result = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, in consumeEvent()
/frameworks/base/core/java/android/text/
DTextUtils.java2117 int consume = 2; in formatSimple() local
2124 consume += 1; in formatSimple()
2125 code = sb.charAt(i + consume - 1); in formatSimple()
2177 sb.replace(i, i + consume, repl); in formatSimple()
/frameworks/base/core/java/android/widget/
DSearchView.java2040 final boolean consume = super.onKeyPreIme(keyCode, event); in onKeyPreIme()
2041 if (consume && keyCode == KeyEvent.KEYCODE_BACK in onKeyPreIme()
2048 return consume; in onKeyPreIme()
/frameworks/native/include/input/
DInputTransport.h465 status_t consume(InputEventFactoryInterface* factory, bool consumeBatches, nsecs_t frameTime,
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt38 programming for a long time. It can consume seconds of CPU cycles during
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp123 status_t consumed = mInputConsumer->consume(&mInputEventFactory, true, -1, &seqId, &ev); in consumeEvent()
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop23 # to consume input
/frameworks/native/libs/input/
DInputTransport.cpp706 status_t InputConsumer::consume(InputEventFactoryInterface* factory, bool consumeBatches, in consume() function in android::InputConsumer