Home
last modified time | relevance | path

Searched refs:SOURCE_ANY (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java108 … if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) { in onSystemReady()
111 … if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_MICROPHONE_INSERT) == 1) { in onSystemReady()
114 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_LINEOUT_INSERT) == 1) { in onSystemReady()
/frameworks/base/core/java/android/view/
DInputDevice.java248 public static final int SOURCE_ANY = 0xffffff00; field in InputDevice
/frameworks/base/core/java/android/hardware/input/
DInputManager.java641 mIm.hasKeys(id, InputDevice.SOURCE_ANY, keyCodes, ret); in deviceHasKeys()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java5565 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getLidState()
5582 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getCameraLensCoverState()
7491 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
7493 int sState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, KeyEvent.KEYCODE_S); in detectSafeMode()
7498 int volumeDownState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode()
/frameworks/base/api/
Dsystem-current.txt34510 field public static final int SOURCE_ANY = -256; // 0xffffff00
Dcurrent.txt32277 field public static final int SOURCE_ANY = -256; // 0xffffff00