Home
last modified time | relevance | path

Searched refs:inputDevices (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/java/com/android/server/input/
DInputManagerService.java756 private static boolean containsInputDeviceWithDescriptor(InputDevice[] inputDevices, in containsInputDeviceWithDescriptor() argument
758 final int numDevices = inputDevices.length; in containsInputDeviceWithDescriptor()
760 final InputDevice inputDevice = inputDevices[i]; in containsInputDeviceWithDescriptor()
1259 private void notifyInputDevicesChanged(InputDevice[] inputDevices) { in notifyInputDevicesChanged() argument
1267 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/frameworks/base/services/jni/
Dcom_android_server_input_InputManagerService.cpp185 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices);
464 void NativeInputManager::notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
467 size_t count = inputDevices.size(); in notifyInputDevicesChanged()
473 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices.itemAt(i)); in notifyInputDevicesChanged()
/frameworks/base/services/input/tests/
DInputReader_test.cpp185 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
186 mInputDevices = inputDevices; in notifyInputDevicesChanged()
1015 Vector<InputDeviceInfo> inputDevices; in TEST_F() local
1016 mReader->getInputDevices(inputDevices); in TEST_F()
1018 ASSERT_EQ(1U, inputDevices.size()); in TEST_F()
1019 ASSERT_EQ(1, inputDevices[0].getId()); in TEST_F()
1020 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.string()); in TEST_F()
1021 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F()
1022 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1023 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size()); in TEST_F()
[all …]
/frameworks/base/services/input/
DInputReader.h281 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) = 0;
DInputReader.cpp250 Vector<InputDeviceInfo> inputDevices; in loopOnce() local
291 getInputDevicesLocked(inputDevices); in loopOnce()
297 mPolicy->notifyInputDevicesChanged(inputDevices); in loopOnce()