Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java842 private static boolean containsInputDeviceWithDescriptor(InputDevice[] inputDevices, in containsInputDeviceWithDescriptor() argument
844 final int numDevices = inputDevices.length; in containsInputDeviceWithDescriptor()
846 final InputDevice inputDevice = inputDevices[i]; in containsInputDeviceWithDescriptor()
1389 private void notifyInputDevicesChanged(InputDevice[] inputDevices) { in notifyInputDevicesChanged() argument
1397 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp195 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
196 mInputDevices = inputDevices; in notifyInputDevicesChanged()
1025 Vector<InputDeviceInfo> inputDevices; in TEST_F() local
1026 mReader->getInputDevices(inputDevices); in TEST_F()
1028 ASSERT_EQ(1U, inputDevices.size()); in TEST_F()
1029 ASSERT_EQ(1, inputDevices[0].getId()); in TEST_F()
1030 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.string()); in TEST_F()
1031 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F()
1032 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1033 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size()); in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp199 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices);
479 void NativeInputManager::notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
482 size_t count = inputDevices.size(); in notifyInputDevicesChanged()
488 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices.itemAt(i)); in notifyInputDevicesChanged()
/frameworks/native/services/inputflinger/
DInputReader.h308 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) = 0;
DInputReader.cpp261 Vector<InputDeviceInfo> inputDevices; in loopOnce() local
302 getInputDevicesLocked(inputDevices); in loopOnce()
308 mPolicy->notifyInputDevicesChanged(inputDevices); in loopOnce()
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp3194 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(profileType); in AudioPolicyManager() local
3196 String8 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress in AudioPolicyManager()
3199 ALOGE_IF(inputDevices.size() == 0, "Input device list is empty!"); in AudioPolicyManager()