Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h41 DeviceVector &inputDevices, in AudioPolicyConfig() argument
46 mInputDevices(inputDevices), in AudioPolicyConfig()
81 void addInputDevices(const DeviceVector &inputDevices) in addInputDevices() argument
83 mInputDevices.add(inputDevices); in addInputDevices()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp299 status_t ParameterManagerWrapper::setAvailableInputDevices(audio_devices_t inputDevices) in setAvailableInputDevices() argument
307 criterion->setCriterionState(inputDevices & ~AUDIO_DEVICE_BIT_IN); in setAvailableInputDevices()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h108 status_t setAvailableInputDevices(audio_devices_t inputDevices);
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp83 std::vector<InputDeviceInfo> inputDevices; in loopOnce() local
124 getInputDevicesLocked(inputDevices); in loopOnce()
130 mPolicy->notifyInputDevicesChanged(inputDevices); in loopOnce()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h341 virtual void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) = 0;
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1108 private static boolean containsInputDeviceWithDescriptor(InputDevice[] inputDevices, in containsInputDeviceWithDescriptor() argument
1110 final int numDevices = inputDevices.length; in containsInputDeviceWithDescriptor()
1112 final InputDevice inputDevice = inputDevices[i]; in containsInputDeviceWithDescriptor()
1811 private void notifyInputDevicesChanged(InputDevice[] inputDevices) { in notifyInputDevicesChanged() argument
1819 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp295 virtual void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
296 mInputDevices = inputDevices; in notifyInputDevicesChanged()
1324 std::vector<InputDeviceInfo> inputDevices; in TEST_F() local
1325 mReader->getInputDevices(inputDevices); in TEST_F()
1327 ASSERT_EQ(1U, inputDevices.size()); in TEST_F()
1328 ASSERT_EQ(1, inputDevices[0].getId()); in TEST_F()
1329 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.c_str()); in TEST_F()
1330 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F()
1331 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1332 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size()); in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp237 virtual void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices);
593 void NativeInputManager::notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices in notifyInputDevicesChanged() argument
597 size_t count = inputDevices.size(); in notifyInputDevicesChanged()
603 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices[i]); in notifyInputDevicesChanged()