Home
last modified time | relevance | path

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

/frameworks/native/include/android/
Dinput.h61 AKEY_STATE_UP = 0, enumerator
/frameworks/native/services/inputflinger/
DEventHub.cpp337 return test_bit(scanCode, keyState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getScanCodeState()
361 return AKEY_STATE_UP; in getKeyCodeState()
377 return test_bit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getSwitchState()
DInputReader.cpp632 } else if (currentResult == AKEY_STATE_UP) { in getStateLocked()
1043 } else if (currentResult == AKEY_STATE_UP) { in getState()
5944 return AKEY_STATE_UP; in getKeyCodeState()
5960 return AKEY_STATE_UP; in getScanCodeState()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1294 mapper1->setKeyCodeState(AKEYCODE_B, AKEY_STATE_UP); in TEST_F()
1296 mapper1->setScanCodeState(3, AKEY_STATE_UP); in TEST_F()
1349 ASSERT_EQ(AKEY_STATE_UP, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 3)) in TEST_F()
2742 ASSERT_EQ(AKEY_STATE_UP, mapper->getKeyCodeState(AINPUT_SOURCE_ANY, AKEYCODE_HOME)); in TEST_F()
2771 ASSERT_EQ(AKEY_STATE_UP, mapper->getScanCodeState(AINPUT_SOURCE_ANY, KEY_HOME)); in TEST_F()