Home | History | Annotate | Download | only in tests

Lines Matching defs:mReader

881     sp<InstrumentedInputReader> mReader;
888 mReader = new InstrumentedInputReader(mFakeEventHub, mFakePolicy, mFakeListener);
892 mReader.clear();
907 mReader->loopOnce();
908 mReader->loopOnce();
915 InputDevice* device = mReader->newDevice(deviceId, name, classes);
918 mReader->setNextDevice(device);
926 mReader->getInputConfiguration(&config);
938 mReader->getInputConfiguration(&config);
952 mReader->getInputConfiguration(&config);
964 mReader->getInputConfiguration(&config);
981 mReader->getInputConfiguration(&config);
995 mReader->getInputConfiguration(&config);
1007 mReader->getInputConfiguration(&config);
1019 status_t result = mReader->getInputDeviceInfo(1, &info);
1031 status_t result = mReader->getInputDeviceInfo(-1, &info);
1040 mReader->getInputDeviceInfo(1, &info);
1055 mReader->getInputDeviceIds(ids);
1068 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(0,
1072 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(1,
1076 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1,
1080 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(-1,
1084 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1,
1095 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(0,
1099 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(1,
1103 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(1,
1107 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(-1,
1111 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1,
1122 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(0,
1126 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(1,
1130 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(1,
1134 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getSwitchState(-1,
1138 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(-1,
1153 ASSERT_FALSE(mReader->hasKeys(0, AINPUT_SOURCE_ANY, 4, keyCodes, flags))
1158 ASSERT_FALSE(mReader->hasKeys(1, AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags))
1163 ASSERT_TRUE(mReader->hasKeys(1, AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags))
1168 ASSERT_FALSE(mReader->hasKeys(-1, AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags))
1173 ASSERT_TRUE(mReader->hasKeys(-1, AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags))
1193 mReader->loopOnce();