Searched refs:inputDevices (Results 1 – 8 of 8) sorted by relevance
112 status_t setAvailableInputDevices(audio_devices_t inputDevices);
407 status_t ParameterManagerWrapper::setAvailableInputDevices(audio_devices_t inputDevices) in setAvailableInputDevices() argument415 criterion->setCriterionState(inputDevices & ~AUDIO_DEVICE_BIT_IN); in setAvailableInputDevices()
1508 DeviceVector inputDevices; in getInputForAttr() local1555 inputDevices = mAvailableInputDevices.getDevicesFromType(inputDesc->mDevice); in getInputForAttr()1556 *selectedDeviceId = inputDevices.size() > 0 ? inputDevices.itemAt(0)->getId() in getInputForAttr()1625 inputDevices = mAvailableInputDevices.getDevicesFromType(device); in getInputForAttr()1626 *selectedDeviceId = inputDevices.size() > 0 ? inputDevices.itemAt(0)->getId() in getInputForAttr()1786 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(device); in getInputForDevice() local1788 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress : String8(""); in getInputForDevice()3757 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(profileType); in AudioPolicyManager() local3759 String8 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress in AudioPolicyManager()3762 ALOGE_IF(inputDevices.size() == 0, "Input device list is empty!"); in AudioPolicyManager()
1073 private static boolean containsInputDeviceWithDescriptor(InputDevice[] inputDevices, in containsInputDeviceWithDescriptor() argument1075 final int numDevices = inputDevices.length; in containsInputDeviceWithDescriptor()1077 final InputDevice inputDevice = inputDevices[i]; in containsInputDeviceWithDescriptor()1897 private void notifyInputDevicesChanged(InputDevice[] inputDevices) { in notifyInputDevicesChanged() argument1905 mInputDevices = inputDevices; in notifyInputDevicesChanged()
234 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument235 mInputDevices = inputDevices; in notifyInputDevicesChanged()1149 Vector<InputDeviceInfo> inputDevices; in TEST_F() local1150 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 …]
228 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices);569 void NativeInputManager::notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument573 size_t count = inputDevices.size(); in notifyInputDevicesChanged()579 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices.itemAt(i)); in notifyInputDevicesChanged()
270 virtual void notifyInputDevicesChanged(const Vector<InputDeviceInfo>& inputDevices) = 0;
358 Vector<InputDeviceInfo> inputDevices; in loopOnce() local399 getInputDevicesLocked(inputDevices); in loopOnce()405 mPolicy->notifyInputDevicesChanged(inputDevices); in loopOnce()