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.cpp1267 mapper->setSwitchState(SW_LID, AKEY_STATE_DOWN); in TEST_F()
1270 AINPUT_SOURCE_ANY, SW_LID)) in TEST_F()
1274 AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1278 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1282 AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1286 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1681 mFakeEventHub->setSwitchState(DEVICE_ID, SW_LID, 1); in TEST_F()
1682 ASSERT_EQ(1, mapper->getSwitchState(AINPUT_SOURCE_ANY, SW_LID)); in TEST_F()
1684 mFakeEventHub->setSwitchState(DEVICE_ID, SW_LID, 0); in TEST_F()
1685 ASSERT_EQ(0, mapper->getSwitchState(AINPUT_SOURCE_ANY, SW_LID)); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java270 public static final int SW_LID = 0x00; field in InputManagerService
300 public static final int SW_LID_BIT = 1 << SW_LID;
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java3219 InputManagerService.SW_LID); in getLidState()