Searched refs:inputDevices (Results 1 – 6 of 6) sorted by relevance
842 private static boolean containsInputDeviceWithDescriptor(InputDevice[] inputDevices, in containsInputDeviceWithDescriptor() argument844 final int numDevices = inputDevices.length; in containsInputDeviceWithDescriptor()846 final InputDevice inputDevice = inputDevices[i]; in containsInputDeviceWithDescriptor()1389 private void notifyInputDevicesChanged(InputDevice[] inputDevices) { in notifyInputDevicesChanged() argument1397 mInputDevices = inputDevices; in notifyInputDevicesChanged()
195 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument196 mInputDevices = inputDevices; in notifyInputDevicesChanged()1025 Vector<InputDeviceInfo> inputDevices; in TEST_F() local1026 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 …]
199 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices);479 void NativeInputManager::notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument482 size_t count = inputDevices.size(); in notifyInputDevicesChanged()488 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices.itemAt(i)); in notifyInputDevicesChanged()
308 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) = 0;
261 Vector<InputDeviceInfo> inputDevices; in loopOnce() local302 getInputDevicesLocked(inputDevices); in loopOnce()308 mPolicy->notifyInputDevicesChanged(inputDevices); in loopOnce()
3194 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(profileType); in AudioPolicyManager() local3196 String8 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress in AudioPolicyManager()3199 ALOGE_IF(inputDevices.size() == 0, "Input device list is empty!"); in AudioPolicyManager()