/frameworks/base/services/input/ |
EventHub.h | 223 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const = 0; 290 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const;
|
InputReader.h | 324 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 398 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 537 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 937 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); [all...] |
InputReader.cpp | 594 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { 597 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState); [all...] |
EventHub.cpp | 383 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { [all...] |
/frameworks/base/services/java/com/android/server/ |
WiredAccessoryManager.java | 112 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) { 115 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_MICROPHONE_INSERT) == 1) {
|
/frameworks/base/services/input/tests/ |
InputReader_test.cpp | 587 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const { 884 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) { [all...] |
/frameworks/base/services/java/com/android/server/input/ |
InputManagerService.java | 391 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { [all...] |
/frameworks/base/services/jni/ |
com_android_server_input_InputManagerService.cpp | [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
WindowManagerService.java | [all...] |