Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp62 descriptorObj.get(), deviceInfo.isExternal(), deviceInfo.getSources(), in android_view_InputDevice_create()
/frameworks/native/include/input/
DInputDevice.h82 inline uint32_t getSources() const { return mSources; } in getSources() function
/frameworks/base/services/input/
DInputReader.h520 inline uint32_t getSources() const { return mSources; } in getSources() function
927 virtual uint32_t getSources() = 0;
965 virtual uint32_t getSources();
984 virtual uint32_t getSources();
1013 virtual uint32_t getSources();
1081 virtual uint32_t getSources();
1146 virtual uint32_t getSources();
1733 virtual uint32_t getSources();
DInputReader.cpp368 identifier.name.string(), device->getSources()); in addDeviceLocked()
392 device->getId(), device->getName().string(), device->getSources()); in removeDeviceLocked()
607 if (! device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in getStateLocked()
615 if (! device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in getStateLocked()
645 if (! device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in markSupportedKeyCodesLocked()
654 if (! device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) { in markSupportedKeyCodesLocked()
869 dump.appendFormat(INDENT2 "Sources: 0x%08x\n", deviceInfo.getSources()); in dump()
935 mSources |= mapper->getSources(); in configure()
1026 if (sourcesMatchMask(mapper->getSources(), sourceMask)) { in getState()
1046 if (sourcesMatchMask(mapper->getSources(), sourceMask)) { in markSupportedKeyCodes()
[all …]
/frameworks/base/core/java/android/view/
DInputDevice.java561 public int getSources() { in getSources() method in InputDevice
/frameworks/base/services/input/tests/
DInputReader_test.cpp848 virtual uint32_t getSources() { in getSources() function in android::FakeInputMapper
1022 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1031 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1247 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, mDevice->getSources()); in TEST_F()
1254 ASSERT_EQ(AINPUT_SOURCE_UNKNOWN, info.getSources()); in TEST_F()
1317 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), mDevice->getSources()); in TEST_F()
1324 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), info.getSources()); in TEST_F()
1487 ASSERT_EQ(uint32_t(AINPUT_SOURCE_SWITCH), mapper->getSources()); in TEST_F()
1551 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, mapper->getSources()); in TEST_F()
1970 ASSERT_EQ(AINPUT_SOURCE_MOUSE, mapper->getSources()); in TEST_F()
[all …]
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java6719 final int sources = device.getSources(); in computeScreenConfigurationLocked()
/frameworks/base/api/
Dcurrent.txt26503 method public int getSources();