Lines Matching refs:getScanCodeState
675 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::FakeEventHub
999 virtual int32_t getScanCodeState(uint32_t, int32_t scanCode) { in getScanCodeState() function in android::FakeInputMapper
1242 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(0, in TEST_F()
1246 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(1, in TEST_F()
1250 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(1, in TEST_F()
1254 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(-1, in TEST_F()
1258 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F()
1439 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F()
1510 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F()
1517 ASSERT_EQ(AKEY_STATE_UP, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 3)) in TEST_F()
2017 ASSERT_EQ(1, mapper->getScanCodeState(AINPUT_SOURCE_ANY, KEY_A)); in TEST_F()
2020 ASSERT_EQ(0, mapper->getScanCodeState(AINPUT_SOURCE_ANY, KEY_A)); in TEST_F()
3216 ASSERT_EQ(AKEY_STATE_UNKNOWN, mapper->getScanCodeState(AINPUT_SOURCE_ANY, KEY_A)); in TEST_F()
3225 ASSERT_EQ(AKEY_STATE_VIRTUAL, mapper->getScanCodeState(AINPUT_SOURCE_ANY, KEY_HOME)); in TEST_F()
3232 ASSERT_EQ(AKEY_STATE_UP, mapper->getScanCodeState(AINPUT_SOURCE_ANY, KEY_HOME)); in TEST_F()