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

  /frameworks/base/services/java/com/android/server/
AppOpsService.java 506 final int switchCode = AppOpsManager.opToSwitch(code);
507 final Op switchOp = switchCode != code ? getOpLocked(ops, switchCode, true) : op;
510 + switchCode + " (" + code + ") uid " + uid + " package " + packageName);
534 final int switchCode = AppOpsManager.opToSwitch(code);
535 final Op switchOp = switchCode != code ? getOpLocked(ops, switchCode, true) : op;
538 + switchCode + " (" + code + ") uid " + uid + " package " + packageName);
    [all...]
  /frameworks/base/services/input/
InputReader.h 536 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode);
935 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode);
    [all...]
InputReader.cpp 593 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) {
596 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState);
    [all...]
  /frameworks/base/services/java/com/android/server/input/
InputManagerService.java 387 * @param switchCode The switch code to check.
390 public int getSwitchState(int deviceId, int sourceMask, int switchCode) {
391 return nativeGetSwitchState(mPtr, deviceId, sourceMask, switchCode);
    [all...]
  /frameworks/base/services/input/tests/
InputReader_test.cpp 396 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) {
398 device->switchStates.replaceValueFor(switchCode, state);
835 void setSwitchState(int32_t switchCode, int32_t state) {
836 mSwitchStates.replaceValueFor(switchCode, state);
880 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) {
881 ssize_t index = mSwitchStates.indexOfKey(switchCode);
    [all...]

Completed in 60 milliseconds