Home
last modified time | relevance | path

Searched refs:inputDeviceDescriptor (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java134 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 …]
DVirtualDeviceImpl.java1457 inputDeviceDescriptor -> inputDeviceDescriptor.getInputDeviceId() == inputDeviceId);
/frameworks/base/services/core/java/com/android/server/input/
DPersistentDataStore.java102 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 …]
DInputManagerService.java1078 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/
DIInputManager.aidl89 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
DInputManager.java643 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()
DInputManagerGlobal.java1461 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/
DFakeInputReaderPolicy.h66 TouchAffineTransformation getTouchAffineTransformation(const std::string& inputDeviceDescriptor,
DFakeInputReaderPolicy.cpp168 const std::string& inputDeviceDescriptor, ui::Rotation surfaceRotation) { in getTouchAffineTransformation() argument
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp287 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/
DInputReaderBase.h464 const std::string& inputDeviceDescriptor, ui::Rotation surfaceRotation) = 0;
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h280 TouchAffineTransformation getTouchAffineTransformation(const std::string& inputDeviceDescriptor, in getTouchAffineTransformation() argument
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp321 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()