/frameworks/base/services/input/ |
InputListener.cpp | 106 int32_t switchCode, int32_t switchValue) : 108 switchCode(switchCode), switchValue(switchValue) { 113 switchCode(other.switchCode), switchValue(other.switchValue) {
|
InputListener.h | 118 int32_t switchCode; 124 int32_t switchCode, int32_t switchValue);
|
InputReader.h | 487 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 882 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 913 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 916 void processSwitch(nsecs_t when, int32_t switchCode, int32_t switchValue); [all...] |
InputReader.cpp | 609 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { 612 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState); [all...] |
InputDispatcher.h | 251 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) = 0; [all...] |
InputDispatcher.cpp | [all...] |
/frameworks/base/services/input/tests/ |
InputDispatcher_test.cpp | 89 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) {
|
InputReader_test.cpp | 381 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) { 383 device->switchStates.replaceValueFor(switchCode, state); 819 void setSwitchState(int32_t switchCode, int32_t state) { 820 mSwitchStates.replaceValueFor(switchCode, state); 864 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) { 865 ssize_t index = mSwitchStates.indexOfKey(switchCode); [all...] |
/frameworks/base/services/jni/ |
com_android_server_input_InputManagerService.cpp | 192 virtual void notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue, 572 void NativeInputManager::notifySwitch(nsecs_t when, int32_t switchCode, 575 ALOGD("notifySwitch - when=%lld, switchCode=%d, switchValue=%d, policyFlags=0x%x", 576 when, switchCode, switchValue, policyFlags); 581 switch (switchCode) { [all...] |
/frameworks/base/services/java/com/android/server/input/ |
InputManagerService.java | 342 * @param switchCode The switch code to check. 345 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { 346 return nativeGetSwitchState(mPtr, deviceId, sourceMask, switchCode); [all...] |