• Home
  • Raw
  • Download

Lines Matching refs:mReader

944     sp<InstrumentedInputReader> mReader;  member in android::InputReaderTest
951 mReader = new InstrumentedInputReader(mFakeEventHub, mFakePolicy, mFakeListener); in SetUp()
955 mReader.clear(); in TearDown()
970 mReader->loopOnce(); in addDevice()
971 mReader->loopOnce(); in addDevice()
978 InputDevice* device = mReader->newDevice(deviceId, name, classes); in addDeviceWithFakeInputMapper()
981 mReader->setNextDevice(device); in addDeviceWithFakeInputMapper()
994 mReader->getInputDevices(inputDevices); in TEST_F()
1019 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(0, in TEST_F()
1023 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(1, in TEST_F()
1027 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1, in TEST_F()
1031 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(-1, in TEST_F()
1035 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F()
1046 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(0, in TEST_F()
1050 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(1, in TEST_F()
1054 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(1, in TEST_F()
1058 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(-1, in TEST_F()
1062 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F()
1073 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(0, in TEST_F()
1077 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(1, in TEST_F()
1081 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(1, in TEST_F()
1085 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(-1, in TEST_F()
1089 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(-1, in TEST_F()
1104 ASSERT_FALSE(mReader->hasKeys(0, AINPUT_SOURCE_ANY, 4, keyCodes, flags)) in TEST_F()
1109 ASSERT_FALSE(mReader->hasKeys(1, AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags)) in TEST_F()
1114 …ASSERT_TRUE(mReader->hasKeys(1, AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, 4, keyCodes, fla… in TEST_F()
1119 ASSERT_FALSE(mReader->hasKeys(-1, AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags)) in TEST_F()
1124 …ASSERT_TRUE(mReader->hasKeys(-1, AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, 4, keyCodes, fl… in TEST_F()
1144 mReader->loopOnce(); in TEST_F()