Home
last modified time | relevance | path

Searched refs:getSources (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp82 dump += StringPrintf(INDENT2 "Sources: 0x%08x\n", deviceInfo.getSources()); in dump()
168 mSources |= mapper->getSources(); in configure()
254 if (sourcesMatchMask(mapper->getSources(), sourceMask)) { in getState()
272 if (sourcesMatchMask(mapper->getSources(), sourceMask)) { in markSupportedKeyCodes()
DInputReader.cpp201 device->getSources()); in addDeviceLocked()
229 device->getName().c_str(), device->getSources()); in removeDeviceLocked()
484 if (!device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in getStateLocked()
492 if (!device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in getStateLocked()
538 if (!device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in markSupportedKeyCodesLocked()
546 if (!device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in markSupportedKeyCodesLocked()
/frameworks/native/services/inputflinger/reader/mapper/
DSwitchInputMapper.h29 virtual uint32_t getSources();
DRotaryEncoderInputMapper.h30 virtual uint32_t getSources();
DExternalStylusInputMapper.h33 virtual uint32_t getSources();
DVibratorInputMapper.h29 virtual uint32_t getSources();
DSwitchInputMapper.cpp28 uint32_t SwitchInputMapper::getSources() { in getSources() function in android::SwitchInputMapper
DExternalStylusInputMapper.cpp28 uint32_t ExternalStylusInputMapper::getSources() { in getSources() function in android::ExternalStylusInputMapper
DCursorInputMapper.h59 virtual uint32_t getSources();
DVibratorInputMapper.cpp28 uint32_t VibratorInputMapper::getSources() { in getSources() function in android::VibratorInputMapper
DKeyboardInputMapper.h29 virtual uint32_t getSources();
DInputMapper.h53 virtual uint32_t getSources() = 0;
DInputMapper.cpp30 info->addSource(getSources()); in populateDeviceInfo()
DJoystickInputMapper.h29 virtual uint32_t getSources();
DRotaryEncoderInputMapper.cpp32 uint32_t RotaryEncoderInputMapper::getSources() { in getSources() function in android::RotaryEncoderInputMapper
DKeyboardInputMapper.cpp95 uint32_t KeyboardInputMapper::getSources() { in getSources() function in android::KeyboardInputMapper
DJoystickInputMapper.cpp27 uint32_t JoystickInputMapper::getSources() { in getSources() function in android::JoystickInputMapper
DCursorInputMapper.cpp66 uint32_t CursorInputMapper::getSources() { in getSources() function in android::CursorInputMapper
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioRoute.h42 const PolicyAudioPortVector &getSources() const { return mSources; } in getSources() function
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp67 descriptorObj.get(), deviceInfo.isExternal(), deviceInfo.getSources(), in android_view_InputDevice_create()
/frameworks/native/include/input/
DInputDevice.h99 inline uint32_t getSources() const { return mSources; } in getSources() function
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h51 inline uint32_t getSources() const { return mSources; } in getSources() function
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp166 for (const auto& source : route->getSources()) { in getRouteSourceDevices()
208 sp<PolicyAudioPort> source = findByTagName(route->getSources(), stream->getTagName()); in refreshSupportedDevices()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp944 virtual uint32_t getSources() { in getSources() function in android::FakeInputMapper
1331 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1340 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1664 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, mDevice->getSources()); in TEST_F()
1671 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, info.getSources()); in TEST_F()
1734 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), mDevice->getSources()); in TEST_F()
1741 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), info.getSources()); in TEST_F()
1916 ASSERT_EQ(uint32_t(AINPUT_SOURCE_SWITCH), mapper->getSources()); in TEST_F()
1992 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, mapper->getSources()); in TEST_F()
2440 ASSERT_EQ(AINPUT_SOURCE_MOUSE, mapper->getSources()); in TEST_F()
[all …]
/frameworks/base/core/java/android/view/
DInputDevice.java641 public int getSources() { in getSources() method in InputDevice

12