Home | History | Annotate | Download | only in tests

Lines Matching full:inputdevices

195     virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) {
196 mInputDevices = inputDevices;
1025 Vector<InputDeviceInfo> inputDevices;
1026 mReader->getInputDevices(inputDevices);
1028 ASSERT_EQ(1U, inputDevices.size());
1029 ASSERT_EQ(1, inputDevices[0].getId());
1030 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.string());
1031 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType());
1032 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources());
1033 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size());
1036 inputDevices = mFakePolicy->getInputDevices();
1037 ASSERT_EQ(1U, inputDevices.size());
1038 ASSERT_EQ(1, inputDevices[0].getId());
1039 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.string());
1040 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType());
1041 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources());
1042 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size());