Home
last modified time | relevance | path

Searched refs:AKEY_EVENT_ACTION_DOWN (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/services/inputflinger/tests/
DInputDeviceMetricsSource_test.cpp57 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, TOUCHSCREEN) in TEST_P()
74 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P()
83 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P()
91 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P()
97 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P()
106 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P()
112 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, KEY_SOURCES) in TEST_P()
DInputProcessor_test.cpp84 AKEY_EVENT_ACTION_DOWN, /*flags=*/4, AKEYCODE_HOME, /*scanCode=*/5, in TEST_F()
DInputDispatcher_test.cpp79 static_assert(AMOTION_EVENT_ACTION_DOWN == AKEY_EVENT_ACTION_DOWN);
132 ui::LogicalDisplayId::INVALID, INVALID_HMAC, AKEY_EVENT_ACTION_DOWN, 0, in getTestKeyEvent()
448 mInputReceiver.consumeEvent(InputEventType::KEY, AKEY_EVENT_ACTION_DOWN, expectedDisplayId, in consumeKeyDown()
524 injectKey(dispatcher, AKEY_EVENT_ACTION_DOWN, /*repeatCount=*/0, in assertInjectedKeyTimesOut()
535 return injectKey(dispatcher, AKEY_EVENT_ACTION_DOWN, /*repeatCount=*/0, displayId); in injectKeyDown()
544 return injectKey(dispatcher, AKEY_EVENT_ACTION_DOWN, /*repeatCount=*/0, displayId, in injectKeyDownNoRepeat()
4964 mDispatcher->notifyKey(generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ui::LogicalDisplayId::DEFAULT)); in TEST_F()
5035 generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ui::LogicalDisplayId::DEFAULT); in TEST_F()
5061 mDispatcher->notifyKey(generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ui::LogicalDisplayId::DEFAULT)); in TEST_F()
5266 generateKeyArgs(AKEY_EVENT_ACTION_DOWN, ui::LogicalDisplayId::DEFAULT); in TEST_F()
[all …]
DInputReader_test.cpp1202 firstMapper.setProcessResult({KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD) in TEST_F()
1228 firstMapper.setProcessResult({KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD) in TEST_F()
1543 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
1570 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD)); in TEST_F()
2166 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2183 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2231 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2316 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
2376 AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), WithSource(AINPUT_SOURCE_KEYBOARD), in TYPED_TEST()
3346 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in testDPadKeyRotation()
[all …]
DFakeWindows.h254 consumeKeyEvent(testing::AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN),
DInputTracingTest.cpp50 static_cast<int32_t>(AKEY_EVENT_ACTION_DOWN));
DUnwantedInteractionBlocker_test.cpp438 AKEY_EVENT_ACTION_DOWN, /*flags=*/4, AKEYCODE_HOME, /*scanCode=*/5, in TEST_F()
DPointerChoreographer_test.cpp200 KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).build(), in TEST_F()
2322 mChoreographer.notifyKey(KeyArgsBuilder(AKEY_EVENT_ACTION_DOWN, AINPUT_SOURCE_KEYBOARD) in notifyKey()
DCursorInputMapper_test.cpp790 ElementsAre(VariantWith<NotifyKeyArgs>(AllOf(WithKeyAction(AKEY_EVENT_ACTION_DOWN), in TEST_P()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp77 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN; in TEST_F()
121 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN; in TEST_F()
DVerifiedInputEvent_test.cpp26 ui::LogicalDisplayId::DEFAULT, INVALID_HMAC, AKEY_EVENT_ACTION_DOWN, flags, in getKeyEventWithFlags()
DInputEvent_test.cpp225 event.initialize(id, 2, AINPUT_SOURCE_GAMEPAD, DISPLAY_ID, HMAC, AKEY_EVENT_ACTION_DOWN, in TEST_F()
235 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, event.getAction()); in TEST_F()
DInputPublisherAndConsumer_test.cpp271 constexpr int32_t action = AKEY_EVENT_ACTION_DOWN; in publishAndConsumeKeyEvent()
DInputPublisherAndConsumerNoResampling_test.cpp454 constexpr int32_t action = AKEY_EVENT_ACTION_DOWN; in publishAndConsumeKeyEvent()
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputClassifierFuzzer.cpp59 AKEY_EVENT_ACTION_DOWN, in LLVMFuzzerTestOneInput()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchCursorInputMapperCommon.cpp34 if ((action == AKEY_EVENT_ACTION_DOWN && !(lastButtonState & buttonState) && in synthesizeButtonKey()
DKeyboardInputMapper.cpp356 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, flags, in processKey()
DCursorInputMapper.cpp316 out += synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, readTime, getDeviceId(), in sync()
DTouchInputMapper.cpp1566 out += synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, readTime, getDeviceId(), in cookAndDispatch()
1872 AKEY_EVENT_ACTION_DOWN, in consumeRawTouches()
/frameworks/native/include/android/
Dinput.h185 AKEY_EVENT_ACTION_DOWN = 0, enumerator
/frameworks/native/libs/input/
DVirtualInputDevice.cpp91 {AKEY_EVENT_ACTION_DOWN, UinputAction::PRESS},
DKeyCharacterMap.cpp314 outEvents[i].getAction() == AKEY_EVENT_ACTION_DOWN ? "down" : "up"); in getEvents()
502 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, 0, keyCode, 0, metaState, in addKey()
DInput.cpp405 case AKEY_EVENT_ACTION_DOWN: in actionToString()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp73 case AKEY_EVENT_ACTION_DOWN: { in trackKey()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp80 return key.action == AKEY_EVENT_ACTION_DOWN; in isNewGestureStart()

12