HomeSort by relevance Sort by last modified time
    Searched full:switchcode (Results 1 - 10 of 10) sorted by null

  /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 457 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode);
836 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode);
863 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode);
866 void processSwitch(nsecs_t when, int32_t switchCode, int32_t switchValue);
    [all...]
InputReader.cpp 625 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) {
628 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState);
    [all...]
InputDispatcher.h 256 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 366 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) {
368 device->switchStates.replaceValueFor(switchCode, state);
763 void setSwitchState(int32_t switchCode, int32_t state) {
764 mSwitchStates.replaceValueFor(switchCode, state);
808 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) {
809 ssize_t index = mSwitchStates.indexOfKey(switchCode);
    [all...]
  /frameworks/base/services/jni/
com_android_server_InputManager.cpp 198 virtual void notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue,
502 void NativeInputManager::notifySwitch(nsecs_t when, int32_t switchCode,
505 LOGD("notifySwitch - when=%lld, switchCode=%d, switchValue=%d, policyFlags=0x%x",
506 when, switchCode, switchValue, policyFlags);
511 switch (switchCode) {
    [all...]
  /frameworks/base/services/java/com/android/server/wm/
InputManager.java 221 * @param switchCode The switch code to check.
224 public int getSwitchState(int deviceId, int sourceMask, int switchCode) {
225 return nativeGetSwitchState(deviceId, sourceMask, switchCode);

Completed in 526 milliseconds