Searched refs:AKEY_STATE_DOWN (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 106 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed()
|
/frameworks/native/include/android/ |
D | input.h | 79 AKEY_STATE_DOWN = 1, enumerator
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 258 if (currentResult >= AKEY_STATE_DOWN) { in getState()
|
D | EventHub.cpp | 427 return test_bit(scanCode, keyState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getScanCodeState() 448 return AKEY_STATE_DOWN; in getKeyCodeState() 467 return test_bit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getSwitchState()
|
D | InputReader.cpp | 496 if (currentResult >= AKEY_STATE_DOWN) { in getStateLocked()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 1388 mapper->setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F() 1398 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1, in TEST_F() 1406 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F() 1415 mapper->setScanCodeState(KEY_A, AKEY_STATE_DOWN); in TEST_F() 1425 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(1, in TEST_F() 1433 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F() 1442 mapper->setSwitchState(SW_LID, AKEY_STATE_DOWN); in TEST_F() 1452 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(1, in TEST_F() 1460 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(-1, in TEST_F() 1700 mapper1->setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F() [all …]
|