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.java34 import static com.android.server.input.InputManagerService.SW_HEADPHONE_INSERT;
105 … if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) { in onSystemReady()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java266 public static final int SW_HEADPHONE_INSERT = 0x02; field in InputManagerService
283 public static final int SW_HEADPHONE_INSERT_BIT = 1 << SW_HEADPHONE_INSERT;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1525 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_SW, SW_HEADPHONE_INSERT, 0); in TEST_F()
1532 ASSERT_EQ((1U << SW_LID) | (1U << SW_JACK_PHYSICAL_INSERT) | (1 << SW_HEADPHONE_INSERT), in TEST_F()