Home
last modified time | relevance | path

Searched refs:AKEY_STATE_UP (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/include/android/
Dinput.h76 AKEY_STATE_UP = 0, enumerator
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp260 } else if (currentResult == AKEY_STATE_UP) { in getState()
DEventHub.cpp427 return test_bit(scanCode, keyState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getScanCodeState()
451 return AKEY_STATE_UP; in getKeyCodeState()
467 return test_bit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getSwitchState()
DInputReader.cpp498 } else if (currentResult == AKEY_STATE_UP) { in getStateLocked()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1701 mapper1->setKeyCodeState(AKEYCODE_B, AKEY_STATE_UP); in TEST_F()
1703 mapper1->setScanCodeState(3, AKEY_STATE_UP); in TEST_F()
1756 ASSERT_EQ(AKEY_STATE_UP, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 3)) in TEST_F()
3521 ASSERT_EQ(AKEY_STATE_UP, mapper->getKeyCodeState(AINPUT_SOURCE_ANY, AKEYCODE_HOME)); in TEST_F()
3550 ASSERT_EQ(AKEY_STATE_UP, mapper->getScanCodeState(AINPUT_SOURCE_ANY, KEY_HOME)); in TEST_F()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3882 return AKEY_STATE_UP; in getKeyCodeState()
3896 return AKEY_STATE_UP; in getScanCodeState()