Home
last modified time | relevance | path

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

12

/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:
/frameworks/native/services/inputflinger/tests/
DFakeWindows.cpp29 std::unique_ptr<InputEvent> FakeInputReceiver::consume(std::chrono::milliseconds timeout, in consume() function in android::FakeInputReceiver
48 status = mConsumer.consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, in receiveEvent()
86 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeEvent()
130 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeMotion()
151 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeFocusEvent()
163 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeCaptureEvent()
176 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeDragEvent()
190 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED); in consumeTouchModeEvent()
202 std::unique_ptr<InputEvent> event = consume(timeout); in assertNoEvents()
285 std::unique_ptr<InputEvent> event = consume(CONSUME_TIMEOUT_EVENT_EXPECTED, handled); in consumeKey()
[all …]
DFakeWindows.h67 std::unique_ptr<InputEvent> consume(std::chrono::milliseconds timeout, bool handled = false);
393 std::unique_ptr<InputEvent> consume(std::chrono::milliseconds timeout, bool handled = true);
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DALSProbe.java152 consumer.consume(value); in onNext()
179 nextConsumer.consume(current); in awaitNextLux()
188 nextConsumer.consume(current); in awaitNextLux()
244 public void consume(float value) { in consume() method in ALSProbe.NextConsumer
251 c.consume(value); in consume()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/extensions/
DPointerInputScopeExt.kt44 if (shouldConsume) down.consume() in observeTaps()
84 event.changes.fastForEach { it.consume() } in consumeUntilUp()
93 .forEach(PointerInputChange::consume) in <lambda>()
/frameworks/base/core/java/android/util/apk/
DVerityBuilder.java212 public void consume(ByteBuffer buffer) throws DigestException { in consume() method in VerityBuilder.BufferedDigester
284 digester.consume(ByteBuffer.allocate(CHUNK_SIZE_BYTES - lastIncompleteChunkSize)); in generateFsVerityDigestAtLeafLevel()
316 digester.consume(alternativeCentralDirOffset); in generateApkVerityDigestAtLeafLevel()
329 digester.consume(ByteBuffer.allocate(CHUNK_SIZE_BYTES - lastIncompleteChunkSize)); in generateApkVerityDigestAtLeafLevel()
361 digester.consume(slice(output, 0, CHUNK_SIZE_BYTES)); in generateFsVerityTreeInternal()
391 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()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DMultiPointerDraggable.kt262 consumablePointer.consume() in detectDragGestures()
267 change.consume() in detectDragGestures()
322 it.consume() in detectDragGestures()
330 it.consume() in detectDragGestures()
/frameworks/native/services/inputflinger/
DInputListener.cpp33 std::list<NotifyArgs>& operator+=(std::list<NotifyArgs>& keep, std::list<NotifyArgs>&& consume) { in operator +=() argument
34 keep.splice(keep.end(), consume); in operator +=()
/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.cpp290 status = mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, &event); in publishAndConsumeKeyEvent()
369 status_t status = mConsumer->consume(&mEventFactory, in publishAndConsumeBatchedMotionMove()
389 mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, &event); in publishAndConsumeMotionEvent()
414 status = mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, &event); in publishAndConsumeFocusEvent()
455 status = mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, &event); in publishAndConsumeCaptureEvent()
497 status = mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, &event); in publishAndConsumeDragEvent()
539 status = mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, &event); in publishAndConsumeTouchModeEvent()
/frameworks/base/tools/aapt2/tools/
Dfix_resources.py25 contents = c.consume(file_path, contents)
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DTouchMonitor.java437 boolean consume = touchSession.getGestureListeners()
442 if (consume) {
445 return consume;
/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/include/
DInputListener.h28 std::list<NotifyArgs>& operator+=(std::list<NotifyArgs>& keep, std::list<NotifyArgs>&& consume);
/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DREADME.md35 Higher quality levels will sound better but consume more CPU because they have more taps in the fil…
45 … The resampler stores the fraction internally and keeps track of when to consume or generate a fra…
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDeferredDisplayUpdaterDiffTest.java157 consumer.consume(first, second, field); in generateWithSingleDifferentField()
246 void consume(DisplayInfo first, DisplayInfo second, Field field); in consume() method
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputDispatcherFuzzer.cpp185 window->consume(0ms); in LLVMFuzzerTestOneInput()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DMultiPointerDraggableTest.kt241 initial.changes.first().consume() in <lambda>()
252 main.changes.first().consume() in <lambda>()
/frameworks/native/include/input/
DInputConsumer.h69 status_t consume(InputEventFactoryInterface* factory, bool consumeBatches, nsecs_t frameTime,
/frameworks/base/core/java/android/view/accessibility/flags/
Daccessibility_flags.aconfig97 …description: "Allows accessibility services to intercept but not consume motion events from specif…

12