Home
last modified time | relevance | path

Searched refs:SW_LID (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1103 mapper->setSwitchState(SW_LID, AKEY_STATE_DOWN); in TEST_F()
1106 AINPUT_SOURCE_ANY, SW_LID)) in TEST_F()
1110 AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1114 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1118 AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1122 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1504 mFakeEventHub->setSwitchState(DEVICE_ID, SW_LID, 1); in TEST_F()
1505 ASSERT_EQ(1, mapper->getSwitchState(AINPUT_SOURCE_ANY, SW_LID)); in TEST_F()
1507 mFakeEventHub->setSwitchState(DEVICE_ID, SW_LID, 0); in TEST_F()
1508 ASSERT_EQ(0, mapper->getSwitchState(AINPUT_SOURCE_ANY, SW_LID)); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java228 public static final int SW_LID = 0x00; field in InputManagerService
248 public static final int SW_LID_BIT = 1 << SW_LID;
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java5566 InputManagerService.SW_LID); in getLidState()