HomeSort by relevance Sort by last modified time
    Searched refs:switchCode (Results 1 - 8 of 8) sorted by null

  /hardware/libhardware/modules/input/evdev/
SwitchInputMapper.cpp 93 void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) {
94 ALOGV("processing switch event. code=%" PRId32 ", value=%" PRId32, switchCode, switchValue);
95 if (switchCode >= 0 && switchCode < SW_CNT) {
97 mSwitchValues.markBit(switchCode);
99 mSwitchValues.clearBit(switchCode);
101 mUpdatedSwitchMask.markBit(switchCode);
SwitchInputMapper.h 39 void processSwitch(int32_t switchCode, int32_t switchValue);
  /external/r8/src/test/java/com/android/tools/r8/smali/
SwitchRewritingTest.java 249 String switchCode;
251 switchCode = StringUtils.join(
257 switchCode = StringUtils.join(
268 switchCode,
  /frameworks/base/services/core/java/com/android/server/
AppOpsService.java     [all...]
  /frameworks/native/services/inputflinger/
InputReader.h 583 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode);
    [all...]
InputReader.cpp 746 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) {
749 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState);
    [all...]
  /frameworks/base/services/core/java/com/android/server/input/
InputManagerService.java 480 * @param switchCode The switch code to check.
483 public int getSwitchState(int deviceId, int sourceMask, int switchCode) {
484 return nativeGetSwitchState(mPtr, deviceId, sourceMask, switchCode);
    [all...]
  /frameworks/native/services/inputflinger/tests/
InputReader_test.cpp 503 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) {
505 device->switchStates.replaceValueFor(switchCode, state);
960 void setSwitchState(int32_t switchCode, int32_t state) {
961 mSwitchStates.replaceValueFor(switchCode, state);
1004 virtual int32_t getSwitchState(uint32_t, int32_t switchCode) {
1005 ssize_t index = mSwitchStates.indexOfKey(switchCode);
    [all...]

Completed in 226 milliseconds