Home
last modified time | relevance | path

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

12

/frameworks/native/services/inputflinger/reader/mapper/
DSwitchInputMapper.h29 virtual uint32_t getSources() override;
DRotaryEncoderInputMapper.h30 virtual uint32_t getSources() override;
DExternalStylusInputMapper.h33 virtual uint32_t getSources() override;
DVibratorInputMapper.h29 virtual uint32_t getSources() override;
DSwitchInputMapper.cpp28 uint32_t SwitchInputMapper::getSources() { in getSources() function in android::SwitchInputMapper
DExternalStylusInputMapper.cpp29 uint32_t ExternalStylusInputMapper::getSources() { in getSources() function in android::ExternalStylusInputMapper
DCursorInputMapper.h59 virtual uint32_t getSources() override;
DVibratorInputMapper.cpp28 uint32_t VibratorInputMapper::getSources() { in getSources() function in android::VibratorInputMapper
DInputMapper.h52 virtual uint32_t getSources() = 0;
DJoystickInputMapper.h29 virtual uint32_t getSources() override;
DInputMapper.cpp30 info->addSource(getSources()); in populateDeviceInfo()
DRotaryEncoderInputMapper.cpp32 uint32_t RotaryEncoderInputMapper::getSources() { in getSources() function in android::RotaryEncoderInputMapper
DKeyboardInputMapper.h29 virtual uint32_t getSources() override;
DKeyboardInputMapper.cpp96 uint32_t KeyboardInputMapper::getSources() { in getSources() function in android::KeyboardInputMapper
DJoystickInputMapper.cpp28 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/native/services/inputflinger/reader/
DInputReader.cpp205 device->getSources()); in addDeviceLocked()
235 device->getDescriptor().c_str(), device->getSources()); in removeDeviceLocked()
485 if (device && !device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in getStateLocked()
491 if (!device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in getStateLocked()
534 if (device && !device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in markSupportedKeyCodesLocked()
540 if (!device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in markSupportedKeyCodesLocked()
DInputDevice.cpp102 dump += StringPrintf(INDENT2 "Sources: 0x%08x\n", deviceInfo.getSources()); in dump()
312 mSources |= mapper.getSources(); in configure()
401 if (sourcesMatchMask(mapper.getSources(), sourceMask)) { in getState()
420 if (sourcesMatchMask(mapper.getSources(), sourceMask)) { in markSupportedKeyCodes()
/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/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/reader/include/
DInputDevice.h52 inline uint32_t getSources() const { return mSources; } in getSources() function
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1046 virtual uint32_t getSources() { in getSources() function in android::FakeInputMapper
1423 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1432 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1817 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, keyboardInfo->getSources()); in TEST_F()
2076 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, mDevice->getSources()); in TEST_F()
2083 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, info.getSources()); in TEST_F()
2146 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), mDevice->getSources()); in TEST_F()
2153 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), info.getSources()); in TEST_F()
2376 ASSERT_EQ(uint32_t(AINPUT_SOURCE_SWITCH), mapper.getSources()); in TEST_F()
2453 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, mapper.getSources()); in TEST_F()
[all …]
/frameworks/base/core/java/android/view/
DInputDevice.java657 public int getSources() { in getSources() method in InputDevice

12