Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/tests/
Daudiosystem_tests.cpp483 const AudioDeviceTypeAddrVector inputDevices = {inputDevice}; in TEST_F() local
500 inputDevices)); in TEST_F()
502 inputDevices)); in TEST_F()
504 audioSource, DEVICE_ROLE_NONE, inputDevices)); in TEST_F()
518 AudioSystem::setDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_F()
520 EXPECT_EQ(devices, inputDevices); in TEST_F()
533 AudioSystem::addDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_F()
542 AudioSystem::removeDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_F()
549 AudioSystem::removeDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_F()
573 AudioDeviceTypeAddrVector inputDevices = {inputDevice}; in TEST_F() local
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h110 void addInputDevices(const DeviceVector &inputDevices) in addInputDevices() argument
112 mInputDevices.add(inputDevices); in addInputDevices()
/frameworks/native/services/inputflinger/
DPreferStylusOverTouchBlocker.h47 void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices);
DPreferStylusOverTouchBlocker.cpp194 const std::vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
196 for (const InputDeviceInfo& device : inputDevices) { in notifyInputDevicesChanged()
DUnwantedInteractionBlocker.h127 void onInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices);
DUnwantedInteractionBlocker.cpp439 const std::vector<InputDeviceInfo>& inputDevices) { in onInputDevicesChanged() argument
449 for (const InputDeviceInfo& device : inputDevices) { in onInputDevicesChanged()
468 mPreferStylusOverTouchBlocker.notifyInputDevicesChanged(inputDevices); in onInputDevicesChanged()
/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp199 void LatencyTracker::setInputDevices(const std::vector<InputDeviceInfo>& inputDevices) { in setInputDevices() argument
200 mInputDevices = inputDevices; in setInputDevices()
DLatencyTracker.h63 void setInputDevices(const std::vector<InputDeviceInfo>& inputDevices);
/frameworks/native/services/inputflinger/tests/
DFakeInputReaderPolicy.cpp223 const std::vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() argument
225 mInputDevices = inputDevices; in notifyInputDevicesChanged()
DFakeInputReaderPolicy.h84 void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) override;
DInputReader_test.cpp665 const std::vector<InputDeviceInfo>& inputDevices = mFakePolicy->getInputDevices(); in TEST_F() local
666 ASSERT_EQ(1U, inputDevices.size()); in TEST_F()
667 ASSERT_EQ(END_RESERVED_ID + 1, inputDevices[0].getId()); in TEST_F()
668 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.c_str()); in TEST_F()
669 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F()
670 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
671 ASSERT_EQ(0U, inputDevices[0].getMotionRanges().size()); in TEST_F()
1452 const std::vector<InputDeviceInfo> inputDevices = mFakePolicy->getInputDevices(); in waitForDevice() local
1453 const auto& it = std::find_if(inputDevices.begin(), inputDevices.end(), in waitForDevice()
1457 if (it != inputDevices.end()) { in waitForDevice()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp142 std::vector<InputDeviceInfo> inputDevices; in loopOnce() local
184 inputDevices = getInputDevicesLocked(); in loopOnce()
186 NotifyInputDevicesChangedArgs{mContext.getNextId(), inputDevices}); in loopOnce()
212 mPolicy->notifyInputDevicesChanged(inputDevices); in loopOnce()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h452 virtual void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) = 0;
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h271 void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) override {} in notifyInputDevicesChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgeBackGestureHandler.java570 int[] inputDevices = mInputManager.getInputDeviceIds(); in onNavBarAttached() local
571 for (int inputDeviceId : inputDevices) { in onNavBarAttached()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp3274 const AudioDeviceTypeAddrVector inputDevices = {inputDevice}; in TEST_P() local
3276 mManager->setDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_P()
3290 mManager->addDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_P()
3297 mManager->removeDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_P()
3304 mManager->removeDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_P()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp316 void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) override;
830 void NativeInputManager::notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices in notifyInputDevicesChanged() argument
834 size_t count = inputDevices.size(); in notifyInputDevicesChanged()
840 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices[i]); in notifyInputDevicesChanged()
/frameworks/av/services/mediametrics/
DAudioAnalytics.cpp839 const auto [ inputDeviceStatsd, inputDevices ] = in endAudioIntervalGroup()
878 << " inputDevices:" << inputDevices << "(" << inputDeviceStatsd in endAudioIntervalGroup()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java2221 private void notifyInputDevicesChanged(InputDevice[] inputDevices) { in notifyInputDevicesChanged() argument
2229 mInputDevices = inputDevices; in notifyInputDevicesChanged()