Searched refs:AKEY_STATE_DOWN (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 403 return mEventHub->getScanCodeState(mId, scanCode) == AKEY_STATE_DOWN; in isKeyPressed() 406 return mEventHub->getKeyCodeState(mId, keyCode) == AKEY_STATE_DOWN; in isKeyCodePressed()
|
/frameworks/native/include/android/ |
D | input.h | 87 AKEY_STATE_DOWN = 1, enumerator
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 774 mapper.setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F() 785 ASSERT_EQ(AKEY_STATE_DOWN, in TEST_F() 795 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F() 838 mapper.setScanCodeState(KEY_A, AKEY_STATE_DOWN); in TEST_F() 849 ASSERT_EQ(AKEY_STATE_DOWN, in TEST_F() 859 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F() 871 mapper.setSwitchState(SW_LID, AKEY_STATE_DOWN); in TEST_F() 882 ASSERT_EQ(AKEY_STATE_DOWN, in TEST_F() 892 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(-1, in TEST_F() 1133 mapperDevice1.setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 431 if (currentResult >= AKEY_STATE_DOWN) { in getState()
|
D | EventHub.cpp | 971 return device->keyState.test(scanCode) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getScanCodeState() 989 return AKEY_STATE_DOWN; in getKeyCodeState() 1046 return device->swState.test(sw) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getSwitchState()
|
D | InputReader.cpp | 593 if (currentResult >= AKEY_STATE_DOWN) { in getStateLocked()
|
/frameworks/native/include/input/ |
D | Input.h | 252 DOWN = AKEY_STATE_DOWN,
|