/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.md | 11 …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 … 23 …consume the events inside `handleEvent`, the app calls `InputConsumer::consume(.., consumeBatches=… 25 …consume` 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… 33 …consume 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/ |
D | FakeWindows.cpp | 29 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 …]
|
D | FakeWindows.h | 67 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/ |
D | ALSProbe.java | 152 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/ |
D | PointerInputScopeExt.kt | 44 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/ |
D | VerityBuilder.java | 212 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()
|
D | DataDigester.java | 24 void consume(ByteBuffer buffer) throws DigestException; in consume() method
|
D | ByteBufferDataSource.java | 64 md.consume(region); in feedIntoDataDigester()
|
D | ReadFileDataSource.java | 66 md.consume(ByteBuffer.wrap(buffer, 0, readSize)); in feedIntoDataDigester()
|
D | MemoryMappedFileDataSource.java | 95 md.consume(buf); in feedIntoDataDigester()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | MultiPointerDraggable.kt | 262 consumablePointer.consume() in detectDragGestures() 267 change.consume() in detectDragGestures() 322 it.consume() in detectDragGestures() 330 it.consume() in detectDragGestures()
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 33 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/ |
D | ScrollCaptureSearchResults.java | 150 mExecutor.execute(() -> consume(scrollBounds)); in accept() 153 private void consume(Rect scrollBounds) { in consume() method in ScrollCaptureSearchResults.SearchRequest
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 290 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/ |
D | fix_resources.py | 25 contents = c.consume(file_path, contents)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/ |
D | TouchMonitor.java | 437 boolean consume = touchSession.getGestureListeners() 442 if (consume) { 445 return consume;
|
/frameworks/base/tools/aapt2/tools/consumers/ |
D | positional_arguments.py | 18 def consume(self, xml_path, input): member in PositionalArgumentFixer
|
D | duplicates.py | 14 def consume(self, xml_path, input): member in DuplicateRemover
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 28 std::list<NotifyArgs>& operator+=(std::list<NotifyArgs>& keep, std::list<NotifyArgs>&& consume);
|
/frameworks/av/media/libaaudio/src/flowgraph/resampler/ |
D | README.md | 35 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/ |
D | DeferredDisplayUpdaterDiffTest.java | 157 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/ |
D | InputDispatcherFuzzer.cpp | 185 window->consume(0ms); in LLVMFuzzerTestOneInput()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | MultiPointerDraggableTest.kt | 241 initial.changes.first().consume() in <lambda>() 252 main.changes.first().consume() in <lambda>()
|
/frameworks/native/include/input/ |
D | InputConsumer.h | 69 status_t consume(InputEventFactoryInterface* factory, bool consumeBatches, nsecs_t frameTime,
|
/frameworks/base/core/java/android/view/accessibility/flags/ |
D | accessibility_flags.aconfig | 97 …description: "Allows accessibility services to intercept but not consume motion events from specif…
|