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.cpp1546 mapper.setSwitchState(SW_LID, AKEY_STATE_DOWN); in TEST_F()
1549 AINPUT_SOURCE_ANY, SW_LID)) in TEST_F()
1553 mReader->getSwitchState(deviceId, AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1559 SW_LID)) in TEST_F()
1564 AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
1568 AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, SW_LID)) in TEST_F()
2382 mFakeEventHub->setSwitchState(EVENTHUB_ID, SW_LID, 1); in TEST_F()
2383 ASSERT_EQ(1, mapper.getSwitchState(AINPUT_SOURCE_ANY, SW_LID)); in TEST_F()
2385 mFakeEventHub->setSwitchState(EVENTHUB_ID, SW_LID, 0); in TEST_F()
2386 ASSERT_EQ(0, mapper.getSwitchState(AINPUT_SOURCE_ANY, SW_LID)); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java282 public static final int SW_LID = 0x00; field in InputManagerService
310 public static final int SW_LID_BIT = 1 << SW_LID;
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java3234 InputManagerService.SW_LID); in getLidState()