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.cpp1442 mapper->setSwitchState(SW_LID, AKEY_STATE_DOWN); in TEST_F()
1445 AINPUT_SOURCE_ANY, SW_LID)) in TEST_F()
1449 AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1453 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1457 AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1461 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1923 mFakeEventHub->setSwitchState(DEVICE_ID, SW_LID, 1); in TEST_F()
1924 ASSERT_EQ(1, mapper->getSwitchState(AINPUT_SOURCE_ANY, SW_LID)); in TEST_F()
1926 mFakeEventHub->setSwitchState(DEVICE_ID, SW_LID, 0); in TEST_F()
1927 ASSERT_EQ(0, mapper->getSwitchState(AINPUT_SOURCE_ANY, SW_LID)); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java280 public static final int SW_LID = 0x00; field in InputManagerService
308 public static final int SW_LID_BIT = 1 << SW_LID;
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java3101 InputManagerService.SW_LID); in getLidState()