/frameworks/base/services/core/java/com/android/server/ |
WiredAccessoryManager.java | 108 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) { 111 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_MICROPHONE_INSERT) == 1) { 114 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_LINEOUT_INSERT) == 1) {
|
/frameworks/native/services/inputflinger/ |
EventHub.h | 223 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const = 0; 292 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const;
|
InputReader.h | 356 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 430 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 570 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); [all...] |
InputReader.cpp | 605 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { 608 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState); [all...] |
EventHub.cpp | 368 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { [all...] |
/frameworks/native/services/inputflinger/tests/ |
InputReader_test.cpp | 597 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const { 894 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) { [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
InputManagerService.java | 413 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_input_InputManagerService.cpp | [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
WindowManagerService.java | [all...] |