Home
last modified time | relevance | path

Searched refs:inputDevices (Results 1 – 7 of 7) 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/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1492 DeviceVector inputDevices; in getInputForAttr() local
1543 inputDevices = mAvailableInputDevices.getDevicesFromType(inputDesc->mDevice); in getInputForAttr()
1544 *selectedDeviceId = inputDevices.size() > 0 ? inputDevices.itemAt(0)->getId() in getInputForAttr()
1610 inputDevices = mAvailableInputDevices.getDevicesFromType(device); in getInputForAttr()
1611 *selectedDeviceId = inputDevices.size() > 0 ? inputDevices.itemAt(0)->getId() in getInputForAttr()
1778 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(device); in getInputForDevice() local
1780 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress : String8(""); in getInputForDevice()
4078 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(profileType); in loadConfig() local
4080 String8 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress in loadConfig()
4083 ALOGE_IF(inputDevices.size() == 0, "Input device list is empty!"); in loadConfig()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1068 private static boolean containsInputDeviceWithDescriptor(InputDevice[] inputDevices, in containsInputDeviceWithDescriptor() argument
1070 final int numDevices = inputDevices.length; in containsInputDeviceWithDescriptor()
1072 final InputDevice inputDevice = inputDevices[i]; in containsInputDeviceWithDescriptor()
1768 private void notifyInputDevicesChanged(InputDevice[] inputDevices) { in notifyInputDevicesChanged() argument
1776 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp234 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
235 mInputDevices = inputDevices; in notifyInputDevicesChanged()
1149 Vector<InputDeviceInfo> inputDevices; in TEST_F() local
1150 mReader->getInputDevices(inputDevices); in TEST_F()
1152 ASSERT_EQ(1U, inputDevices.size()); in TEST_F()
1153 ASSERT_EQ(1, inputDevices[0].getId()); in TEST_F()
1154 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.string()); in TEST_F()
1155 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F()
1156 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1157 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size()); in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp231 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices);
572 void NativeInputManager::notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
576 size_t count = inputDevices.size(); in notifyInputDevicesChanged()
582 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices.itemAt(i)); in notifyInputDevicesChanged()
/frameworks/native/services/inputflinger/
DInputReader.h269 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) = 0;