Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java37 import static com.android.server.input.InputManagerService.SW_HEADPHONE_INSERT;
108 … if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) { in onSystemReady()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java234 public static final int SW_HEADPHONE_INSERT = 0x02; field in InputManagerService
250 public static final int SW_HEADPHONE_INSERT_BIT = 1 << SW_HEADPHONE_INSERT;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1517 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_SW, SW_HEADPHONE_INSERT, 0); in TEST_F()
1524 ASSERT_EQ((1 << SW_LID) | (1 << SW_JACK_PHYSICAL_INSERT) | (1 << SW_HEADPHONE_INSERT), in TEST_F()