Home
last modified time | relevance | path

Searched refs:getScanCodeState (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/inputflinger/
DInputReader.h316 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask,
423 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask,
581 int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
612 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed()
998 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
1089 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
1160 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
1249 virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
DEventHub.h229 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0;
308 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const;
DEventHub.cpp352 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::EventHub
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp675 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() function in android::FakeEventHub
999 virtual int32_t getScanCodeState(uint32_t, int32_t scanCode) { in getScanCodeState() function in android::FakeInputMapper
1242 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(0, in TEST_F()
1246 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(1, in TEST_F()
1250 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(1, in TEST_F()
1254 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getScanCodeState(-1, in TEST_F()
1258 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F()
1439 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 0)) in TEST_F()
1510 ASSERT_EQ(AKEY_STATE_UNKNOWN, mDevice->getScanCodeState(AINPUT_SOURCE_TRACKBALL, AKEYCODE_A)) in TEST_F()
1517 ASSERT_EQ(AKEY_STATE_UP, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 3)) in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1294 return (jint) im->getInputManager()->getReader()->getScanCodeState( in nativeGetScanCodeState()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java465 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState() method in InputManagerService
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java4495 int trackballState = mInputManager.getScanCodeState(-1, InputDevice.SOURCE_TRACKBALL, in detectSafeMode()