Home
last modified time | relevance | path

Searched refs:mIdGenerator (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/inputflinger/tests/fuzzers/
DInputDispatcherFuzzer.cpp44 : mFdp(fdp), mIdGenerator(IdGenerator::Source::OTHER) {} in NotifyStreamProvider()
47 NotifyMotionArgs args = generateFuzzedMotionArgs(mIdGenerator, mFdp, MAX_RANDOM_DISPLAYS); in nextMotion()
63 IdGenerator mIdGenerator; member in android::inputdispatcher::__anon94145daa0111::NotifyStreamProvider
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp27 InputState::InputState(const IdGenerator& idGenerator) : mIdGenerator(idGenerator) {} in InputState()
401 return std::make_unique<MotionEntry>(mIdGenerator.nextId(), /*injectionState=*/nullptr, in createCancelEntryForMemento()
418 std::make_unique<KeyEntry>(mIdGenerator.nextId(), /*injectionState=*/nullptr, in synthesizeCancelationEvents()
480 std::make_unique<MotionEntry>(mIdGenerator.nextId(), /*injectionState=*/nullptr, in synthesizePointerDownEvents()
534 std::make_unique<MotionEntry>(mIdGenerator.nextId(), /*injectionState=*/nullptr, in synthesizeCancelationEventsForPointers()
DInputState.h124 const IdGenerator& mIdGenerator; // InputDispatcher owns it so we won't have dangling reference. variable
DInputDispatcher.cpp916 mIdGenerator(IdGenerator::Source::INPUT_DISPATCHER), in InputDispatcher()
1630 std::make_unique<KeyEntry>(mIdGenerator.nextId(), /*injectionState=*/nullptr, in synthesizeKeyRepeatLocked()
1699 std::make_unique<FocusEntry>(mIdGenerator.nextId(), now(), windowToken, hasFocus, in enqueueFocusEventLocked()
2097 std::make_unique<DragEntry>(mIdGenerator.nextId(), now(), windowHandle->getToken(), in enqueueDragEventLocked()
3449 createDispatchEntry(mIdGenerator, inputTarget, eventEntry, inputTarget.flags, in enqueueDispatchEntryLocked()
3537 MotionEntry>(mIdGenerator.nextId(), motionEntry.injectionState, in enqueueDispatchEntryLocked()
3585 createDispatchEntry(mIdGenerator, inputTarget, std::move(cancelEvent), in enqueueDispatchEntryLocked()
4412 int32_t newId = mIdGenerator.nextId(); in splitMotionEvent()
5641 auto entry = std::make_unique<TouchModeEntry>(mIdGenerator.nextId(), now(), inTouchMode, in setInTouchMode()
6108 mIdGenerator); in createInputChannel()
[all …]
DInputDispatcher.h216 const IdGenerator mIdGenerator GUARDED_BY(mLock);
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h133 IdGenerator mIdGenerator; variable
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp997 : mReader(reader), mIdGenerator(IdGenerator::Source::INPUT_READER) {} in ContextImpl()
1077 return mIdGenerator.nextId(); in getNextId()