Home | History | Annotate | Download | only in tests

Lines Matching defs:inputDevices

185     virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) {
186 mInputDevices = inputDevices;
1015 Vector<InputDeviceInfo> inputDevices;
1016 mReader->getInputDevices(inputDevices);
1018 ASSERT_EQ(1U, inputDevices.size());
1019 ASSERT_EQ(1, inputDevices[0].getId());
1020 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.string());
1021 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType());
1022 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources());
1023 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size());
1026 inputDevices = mFakePolicy->getInputDevices();
1027 ASSERT_EQ(1U, inputDevices.size());
1028 ASSERT_EQ(1, inputDevices[0].getId());
1029 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.string());
1030 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType());
1031 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources());
1032 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size());