/frameworks/base/services/java/com/android/server/ |
H A D | InputManager.java | 191 * @param switchCode The switch code to check. 194 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { argument 195 return nativeGetSwitchState(deviceId, sourceMask, switchCode);
|
/frameworks/base/include/ui/ |
H A D | InputReader.h | 326 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 378 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 398 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 401 void processSwitch(nsecs_t when, int32_t switchCode, int32_t switchValue);
|
H A D | InputDispatcher.h | 310 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) = 0; 360 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) = 0; 437 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) ;
|
/frameworks/base/libs/ui/tests/ |
H A D | InputDispatcher_test.cpp | 71 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) { 70 notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue, uint32_t policyFlags) argument
|
H A D | InputReader_test.cpp | 200 int32_t switchCode; member in struct:android::FakeInputDispatcher::NotifySwitchArgs 314 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) { 317 args.switchCode = switchCode; 438 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) { argument 440 device->switchStates.replaceValueFor(switchCode, state); 712 void setSwitchState(int32_t switchCode, int32_t state) { argument 713 mSwitchStates.replaceValueFor(switchCode, state); 756 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) { argument 757 ssize_t index = mSwitchStates.indexOfKey(switchCode); 313 notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue, uint32_t policyFlags) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_InputManager.cpp | 196 virtual void notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue, 574 void NativeInputManager::notifySwitch(nsecs_t when, int32_t switchCode, argument 577 LOGD("notifySwitch - when=%lld, switchCode=%d, switchValue=%d, policyFlags=0x%x", 578 when, switchCode, switchValue, policyFlags); 583 switch (switchCode) {
|
/frameworks/base/libs/ui/ |
H A D | InputReader.cpp | 527 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { argument 528 return getState(deviceId, sourceMask, switchCode, & InputDevice::getSwitchState); 730 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { argument 731 return getState(sourceMask, switchCode, & InputMapper::getSwitchState); 803 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { argument 838 void SwitchInputMapper::processSwitch(nsecs_t when, int32_t switchCode, int32_t switchValue) { argument 839 getDispatcher()->notifySwitch(when, switchCode, switchValue, 0); 842 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { argument 843 return getEventHub()->getSwitchState(getDeviceId(), switchCode);
|
H A D | InputDispatcher.cpp | 2270 void InputDispatcher::notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue, argument 2273 LOGD("notifySwitch - switchCode=%d, switchValue=%d, policyFlags=0x%x", 2274 switchCode, switchValue, policyFlags); 2278 mPolicy->notifySwitch(when, switchCode, switchValue, policyFlags);
|