Searched refs:AKEY_STATE_DOWN (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/include/android/ |
D | input.h | 80 AKEY_STATE_DOWN = 1, enumerator
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 366 return mEventHub->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 1633 mapper.setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F() 1644 ASSERT_EQ(AKEY_STATE_DOWN, in TEST_F() 1654 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F() 1666 mapper.setScanCodeState(KEY_A, AKEY_STATE_DOWN); in TEST_F() 1677 ASSERT_EQ(AKEY_STATE_DOWN, in TEST_F() 1687 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F() 1699 mapper.setSwitchState(SW_LID, AKEY_STATE_DOWN); in TEST_F() 1710 ASSERT_EQ(AKEY_STATE_DOWN, in TEST_F() 1720 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(-1, in TEST_F() 1950 mapperDevice1.setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 455 if (currentResult >= AKEY_STATE_DOWN) { in getState()
|
D | EventHub.cpp | 828 return device->keyState.test(scanCode) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getScanCodeState() 847 return AKEY_STATE_DOWN; in getKeyCodeState() 864 return device->swState.test(sw) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getSwitchState()
|
D | InputReader.cpp | 538 if (currentResult >= AKEY_STATE_DOWN) { in getStateLocked()
|