Lines Matching refs:mapper1
1296 FakeInputMapper* mapper1 = new FakeInputMapper(mDevice, AINPUT_SOURCE_KEYBOARD); in TEST_F() local
1297 mapper1->setKeyboardType(AINPUT_KEYBOARD_TYPE_ALPHABETIC); in TEST_F()
1298 mapper1->setMetaState(AMETA_ALT_ON); in TEST_F()
1299 mapper1->addSupportedKeyCode(AKEYCODE_A); in TEST_F()
1300 mapper1->addSupportedKeyCode(AKEYCODE_B); in TEST_F()
1301 mapper1->setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F()
1302 mapper1->setKeyCodeState(AKEYCODE_B, AKEY_STATE_UP); in TEST_F()
1303 mapper1->setScanCodeState(2, AKEY_STATE_DOWN); in TEST_F()
1304 mapper1->setScanCodeState(3, AKEY_STATE_UP); in TEST_F()
1305 mapper1->setSwitchState(4, AKEY_STATE_DOWN); in TEST_F()
1306 mDevice->addMapper(mapper1); in TEST_F()
1320 ASSERT_NO_FATAL_FAILURE(mapper1->assertConfigureWasCalled()); in TEST_F()
1325 ASSERT_NO_FATAL_FAILURE(mapper1->assertResetWasCalled()); in TEST_F()
1382 ASSERT_NO_FATAL_FAILURE(mapper1->assertProcessWasCalled()); in TEST_F()