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()
194 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument195 mInputDevices = inputDevices; in notifyInputDevicesChanged()1029 Vector<InputDeviceInfo> inputDevices; in TEST_F() local1030 mReader->getInputDevices(inputDevices); in TEST_F()1032 ASSERT_EQ(1U, inputDevices.size()); in TEST_F()1033 ASSERT_EQ(1, inputDevices[0].getId()); in TEST_F()1034 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.string()); in TEST_F()1035 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F()1036 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()1037 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size()); in TEST_F()[all …]
207 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices);503 void NativeInputManager::notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument506 size_t count = inputDevices.size(); in notifyInputDevicesChanged()512 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices.itemAt(i)); in notifyInputDevicesChanged()
2833 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(profileType); in AudioPolicyManager() local2835 String8 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress in AudioPolicyManager()2838 ALOGE_IF(inputDevices.size() == 0, "Input device list is empty!"); in AudioPolicyManager()
311 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) = 0;
276 Vector<InputDeviceInfo> inputDevices; in loopOnce() local317 getInputDevicesLocked(inputDevices); in loopOnce()323 mPolicy->notifyInputDevicesChanged(inputDevices); in loopOnce()