Home
last modified time | relevance | path

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

12

/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp114 inputEventSourceToString(deviceInfo.getSources()).c_str()); in dump()
362 mSources |= mapper.getSources(); in configure()
458 if (sourcesMatchMask(mapper.getSources(), sourceMask)) { in getState()
477 if (sourcesMatchMask(mapper.getSources(), sourceMask)) { in markSupportedKeyCodes()
487 if (sourcesMatchMask(mapper.getSources(), AINPUT_SOURCE_KEYBOARD)) { in getKeyCodeForKeyLocation()
495 getId(), inputEventSourceToString(getSources()).c_str()); in getKeyCodeForKeyLocation()
587 if (sourcesMatchMask(mapper.getSources(), AINPUT_SOURCE_KEYBOARD) && in updateMetaState()
DInputReader.cpp201 inputEventSourceToString(device->getSources()).c_str()); in addDeviceLocked()
256 inputEventSourceToString(device->getSources()).c_str()); in removeDeviceLocked()
528 if (device && !device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in getStateLocked()
534 if (!device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in getStateLocked()
579 if (device && !device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in markSupportedKeyCodesLocked()
585 if (!device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in markSupportedKeyCodesLocked()
/frameworks/base/tests/Input/src/com/android/test/input/
DInputDeviceTest.java56 assertEquals(device.getSources(), outDevice.getSources()); in assertDeviceEquals()
/frameworks/native/services/inputflinger/reader/mapper/
DSwitchInputMapper.h29 virtual uint32_t getSources() const override;
DExternalStylusInputMapper.h33 virtual uint32_t getSources() const override;
DRotaryEncoderInputMapper.h30 virtual uint32_t getSources() const override;
DVibratorInputMapper.h29 virtual uint32_t getSources() const override;
DSwitchInputMapper.cpp28 uint32_t SwitchInputMapper::getSources() const { in getSources() function in android::SwitchInputMapper
DExternalStylusInputMapper.cpp29 uint32_t ExternalStylusInputMapper::getSources() const { in getSources() function in android::ExternalStylusInputMapper
DCursorInputMapper.h59 virtual uint32_t getSources() const override;
DJoystickInputMapper.h29 virtual uint32_t getSources() const override;
DRotaryEncoderInputMapper.cpp34 uint32_t RotaryEncoderInputMapper::getSources() const { in getSources() function in android::RotaryEncoderInputMapper
DKeyboardInputMapper.h29 virtual uint32_t getSources() const override;
DVibratorInputMapper.cpp28 uint32_t VibratorInputMapper::getSources() const { in getSources() function in android::VibratorInputMapper
DInputMapper.cpp30 info->addSource(getSources()); in populateDeviceInfo()
DSensorInputMapper.h31 uint32_t getSources() const override;
DInputMapper.h54 virtual uint32_t getSources() const = 0;
DJoystickInputMapper.cpp28 uint32_t JoystickInputMapper::getSources() const { in getSources() function in android::JoystickInputMapper
DKeyboardInputMapper.cpp98 uint32_t KeyboardInputMapper::getSources() const { in getSources() function in android::KeyboardInputMapper
DSensorInputMapper.cpp60 uint32_t SensorInputMapper::getSources() const { in getSources() function in android::SensorInputMapper
/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.cpp70 deviceInfo.isExternal(), deviceInfo.getSources(), in android_view_InputDevice_create()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp178 for (const auto& source : route->getSources()) { in getRouteSourceDevices()
220 sp<PolicyAudioPort> source = findByTagName(route->getSources(), stream->getTagName()); in refreshSupportedDevices()
/frameworks/native/include/input/
DInputDevice.h226 inline uint32_t getSources() const { return mSources; } in getSources() function
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1182 uint32_t getSources() const override { return mSources; } in getSources() function in android::FakeInputMapper
1656 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
2348 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, it->getSources()); in TEST_F()
2733 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, mDevice->getSources()); in TEST_F()
2739 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, info.getSources()); in TEST_F()
2802 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), mDevice->getSources()); in TEST_F()
2808 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), info.getSources()); in TEST_F()
3124 ASSERT_EQ(uint32_t(AINPUT_SOURCE_SWITCH), mapper.getSources()); in TEST_F()
3163 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, mapper.getSources()); in TEST_F()
3301 ASSERT_EQ(static_cast<uint32_t>(AINPUT_SOURCE_SENSOR), mapper.getSources()); in TEST_F()
[all …]

12