Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h112 status_t setAvailableInputDevices(audio_devices_t inputDevices);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp407 status_t ParameterManagerWrapper::setAvailableInputDevices(audio_devices_t inputDevices) in setAvailableInputDevices() argument
415 criterion->setCriterionState(inputDevices & ~AUDIO_DEVICE_BIT_IN); in setAvailableInputDevices()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp194 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
195 mInputDevices = inputDevices; in notifyInputDevicesChanged()
1033 Vector<InputDeviceInfo> inputDevices; in TEST_F() local
1034 mReader->getInputDevices(inputDevices); in TEST_F()
1036 ASSERT_EQ(1U, inputDevices.size()); in TEST_F()
1037 ASSERT_EQ(1, inputDevices[0].getId()); in TEST_F()
1038 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.string()); in TEST_F()
1039 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F()
1040 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1041 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size()); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1026 private static boolean containsInputDeviceWithDescriptor(InputDevice[] inputDevices, in containsInputDeviceWithDescriptor() argument
1028 final int numDevices = inputDevices.length; in containsInputDeviceWithDescriptor()
1030 final InputDevice inputDevice = inputDevices[i]; in containsInputDeviceWithDescriptor()
1798 private void notifyInputDevicesChanged(InputDevice[] inputDevices) { in notifyInputDevicesChanged() argument
1806 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp215 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices);
500 void NativeInputManager::notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
503 size_t count = inputDevices.size(); in notifyInputDevicesChanged()
509 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices.itemAt(i)); in notifyInputDevicesChanged()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3336 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(profileType); in AudioPolicyManager() local
3338 String8 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress in AudioPolicyManager()
3341 ALOGE_IF(inputDevices.size() == 0, "Input device list is empty!"); in AudioPolicyManager()
/frameworks/native/services/inputflinger/
DInputReader.h311 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) = 0;
DInputReader.cpp284 Vector<InputDeviceInfo> inputDevices; in loopOnce() local
325 getInputDevicesLocked(inputDevices); in loopOnce()
331 mPolicy->notifyInputDevicesChanged(inputDevices); in loopOnce()