Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1323 FakeInputMapper* mapper1 = new FakeInputMapper(mDevice, AINPUT_SOURCE_KEYBOARD); in TEST_F() local
1324 mapper1->setKeyboardType(AINPUT_KEYBOARD_TYPE_ALPHABETIC); in TEST_F()
1325 mapper1->setMetaState(AMETA_ALT_ON); in TEST_F()
1326 mapper1->addSupportedKeyCode(AKEYCODE_A); in TEST_F()
1327 mapper1->addSupportedKeyCode(AKEYCODE_B); in TEST_F()
1328 mapper1->setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F()
1329 mapper1->setKeyCodeState(AKEYCODE_B, AKEY_STATE_UP); in TEST_F()
1330 mapper1->setScanCodeState(2, AKEY_STATE_DOWN); in TEST_F()
1331 mapper1->setScanCodeState(3, AKEY_STATE_UP); in TEST_F()
1332 mapper1->setSwitchState(4, AKEY_STATE_DOWN); in TEST_F()
[all …]