/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | InputController.java | 134 final InputDeviceDescriptor inputDeviceDescriptor = entry.getValue(); in close() local 136 closeInputDeviceDescriptorLocked(token, inputDeviceDescriptor); in close() 211 final InputDeviceDescriptor inputDeviceDescriptor = mInputDeviceDescriptors.remove( in unregisterInputDevice() local 213 if (inputDeviceDescriptor == null) { in unregisterInputDevice() 216 closeInputDeviceDescriptorLocked(token, inputDeviceDescriptor); in unregisterInputDevice() 223 InputDeviceDescriptor inputDeviceDescriptor) { in closeInputDeviceDescriptorLocked() argument 224 token.unlinkToDeath(inputDeviceDescriptor.getDeathRecipient(), /* flags= */ 0); in closeInputDeviceDescriptorLocked() 225 mNativeWrapper.closeUinput(inputDeviceDescriptor.getNativePointer()); in closeInputDeviceDescriptorLocked() 226 String phys = inputDeviceDescriptor.getPhys(); in closeInputDeviceDescriptorLocked() 230 if (inputDeviceDescriptor.getType() == InputDeviceDescriptor.TYPE_NAVIGATION_TOUCHPAD) { in closeInputDeviceDescriptorLocked() [all …]
|
D | VirtualDeviceImpl.java | 1457 inputDeviceDescriptor -> inputDeviceDescriptor.getInputDeviceId() == inputDeviceId);
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | PersistentDataStore.java | 102 public boolean hasInputDeviceEntry(String inputDeviceDescriptor) { in hasInputDeviceEntry() argument 103 return getInputDeviceState(inputDeviceDescriptor) != null; in hasInputDeviceEntry() 106 public TouchCalibration getTouchCalibration(String inputDeviceDescriptor, int surfaceRotation) { in getTouchCalibration() argument 107 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor); in getTouchCalibration() 119 …public boolean setTouchCalibration(String inputDeviceDescriptor, int surfaceRotation, TouchCalibra… in setTouchCalibration() argument 120 InputDeviceState state = getOrCreateInputDeviceState(inputDeviceDescriptor); in setTouchCalibration() 131 public String getKeyboardLayout(String inputDeviceDescriptor, String key) { in getKeyboardLayout() argument 132 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor); in getKeyboardLayout() 136 public boolean setKeyboardLayout(String inputDeviceDescriptor, String key, in setKeyboardLayout() argument 138 InputDeviceState state = getOrCreateInputDeviceState(inputDeviceDescriptor); in setKeyboardLayout() [all …]
|
D | InputManagerService.java | 1078 public TouchCalibration getTouchCalibrationForInputDevice(String inputDeviceDescriptor, in getTouchCalibrationForInputDevice() argument 1080 Objects.requireNonNull(inputDeviceDescriptor, "inputDeviceDescriptor must not be null"); in getTouchCalibrationForInputDevice() 1083 return mDataStore.getTouchCalibration(inputDeviceDescriptor, surfaceRotation); in getTouchCalibrationForInputDevice() 1088 public void setTouchCalibrationForInputDevice(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibrationForInputDevice() argument 1094 Objects.requireNonNull(inputDeviceDescriptor, "inputDeviceDescriptor must not be null"); in setTouchCalibrationForInputDevice() 1102 if (mDataStore.setTouchCalibration(inputDeviceDescriptor, surfaceRotation, in setTouchCalibrationForInputDevice() 1691 public void addUniqueIdAssociationByDescriptor(@NonNull String inputDeviceDescriptor, in addUniqueIdAssociationByDescriptor() argument 1700 Objects.requireNonNull(inputDeviceDescriptor); in addUniqueIdAssociationByDescriptor() 1703 mUniqueIdAssociationsByDescriptor.put(inputDeviceDescriptor, displayUniqueId); in addUniqueIdAssociationByDescriptor() 1713 public void removeUniqueIdAssociationByDescriptor(@NonNull String inputDeviceDescriptor) { in removeUniqueIdAssociationByDescriptor() argument [all …]
|
/frameworks/base/core/java/android/hardware/input/ |
D | IInputManager.aidl | 89 TouchCalibration getTouchCalibrationForInputDevice(String inputDeviceDescriptor, int rotation); in getTouchCalibrationForInputDevice() argument 90 void setTouchCalibrationForInputDevice(String inputDeviceDescriptor, int rotation, in setTouchCalibrationForInputDevice() argument 166 void addUniqueIdAssociationByDescriptor(in String inputDeviceDescriptor, in addUniqueIdAssociationByDescriptor() argument 170 void removeUniqueIdAssociationByDescriptor(in String inputDeviceDescriptor); in removeUniqueIdAssociationByDescriptor() argument
|
D | InputManager.java | 643 public TouchCalibration getTouchCalibration(String inputDeviceDescriptor, int surfaceRotation) { in getTouchCalibration() argument 645 return mIm.getTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation); in getTouchCalibration() 663 public void setTouchCalibration(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibration() argument 666 … mIm.setTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation, calibration); in setTouchCalibration() 1118 public void addUniqueIdAssociationByDescriptor(@NonNull String inputDeviceDescriptor, in addUniqueIdAssociationByDescriptor() argument 1120 mGlobal.addUniqueIdAssociationByDescriptor(inputDeviceDescriptor, displayUniqueId); in addUniqueIdAssociationByDescriptor() 1138 public void removeUniqueIdAssociationByDescriptor(@NonNull String inputDeviceDescriptor) { in removeUniqueIdAssociationByDescriptor() argument 1139 mGlobal.removeUniqueIdAssociationByDescriptor(inputDeviceDescriptor); in removeUniqueIdAssociationByDescriptor()
|
D | InputManagerGlobal.java | 1461 public void addUniqueIdAssociationByDescriptor(@NonNull String inputDeviceDescriptor, in addUniqueIdAssociationByDescriptor() argument 1464 mIm.addUniqueIdAssociationByDescriptor(inputDeviceDescriptor, displayUniqueId); in addUniqueIdAssociationByDescriptor() 1473 public void removeUniqueIdAssociationByDescriptor(@NonNull String inputDeviceDescriptor) { in removeUniqueIdAssociationByDescriptor() argument 1475 mIm.removeUniqueIdAssociationByDescriptor(inputDeviceDescriptor); in removeUniqueIdAssociationByDescriptor()
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeInputReaderPolicy.h | 66 TouchAffineTransformation getTouchAffineTransformation(const std::string& inputDeviceDescriptor,
|
D | FakeInputReaderPolicy.cpp | 168 const std::string& inputDeviceDescriptor, ui::Rotation surfaceRotation) { in getTouchAffineTransformation() argument
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 287 const std::string& inputDeviceDescriptor = mIdentifier.descriptor; in configureInternal() local 288 if (!inputDeviceDescriptor.empty()) { in configureInternal() 291 const auto& displayPort = ports.find(inputDeviceDescriptor); in configureInternal() 299 displayUniqueIdsByDescriptor.find(inputDeviceDescriptor); in configureInternal()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 464 const std::string& inputDeviceDescriptor, ui::Rotation surfaceRotation) = 0;
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | MapperHelpers.h | 280 TouchAffineTransformation getTouchAffineTransformation(const std::string& inputDeviceDescriptor, in getTouchAffineTransformation() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 321 TouchAffineTransformation getTouchAffineTransformation(const std::string& inputDeviceDescriptor, 1371 const std::string& inputDeviceDescriptor, ui::Rotation surfaceRotation) { in getTouchAffineTransformation() argument 1374 ScopedLocalRef<jstring> descriptorObj(env, env->NewStringUTF(inputDeviceDescriptor.c_str())); in getTouchAffineTransformation()
|