Home
last modified time | relevance | path

Searched refs:InputDeviceIdentifier (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/core/java/android/hardware/input/
DInputDeviceIdentifier.java34 public final class InputDeviceIdentifier implements Parcelable { class
39 public InputDeviceIdentifier(@NonNull String descriptor, int vendorId, int productId) { in InputDeviceIdentifier() method in InputDeviceIdentifier
45 private InputDeviceIdentifier(Parcel src) { in InputDeviceIdentifier() method in InputDeviceIdentifier
79 if (o == null || !(o instanceof InputDeviceIdentifier)) return false; in equals()
81 final InputDeviceIdentifier that = (InputDeviceIdentifier) o; in equals()
97 …public static final @android.annotation.NonNull Parcelable.Creator<InputDeviceIdentifier> CREATOR =
98 new Parcelable.Creator<InputDeviceIdentifier>() {
101 public InputDeviceIdentifier createFromParcel(Parcel source) {
102 return new InputDeviceIdentifier(source);
106 public InputDeviceIdentifier[] newArray(int size) {
[all …]
DInputManager.java511 @NonNull InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
543 @NonNull InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
551 public void setCurrentKeyboardLayoutForInputDevice(@NonNull InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
558 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
566 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
575 public void removeKeyboardLayoutForInputDevice(@NonNull InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
686 @NonNull InputDeviceIdentifier identifier, @UserIdInt int userId, in getKeyboardLayoutForInputDevice()
713 public void setKeyboardLayoutForInputDevice(@NonNull InputDeviceIdentifier identifier, in setKeyboardLayoutForInputDevice()
743 public KeyboardLayout[] getKeyboardLayoutListForInputDevice(InputDeviceIdentifier identifier, in getKeyboardLayoutListForInputDevice()
DIInputManager.aidl21 import android.hardware.input.InputDeviceIdentifier;
99 in InputDeviceIdentifier identifier, int userId, in InputMethodInfo imeInfo, in getKeyboardLayoutForInputDevice()
105 void setKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, int userId, in setKeyboardLayoutForInputDevice()
109 KeyboardLayout[] getKeyboardLayoutListForInputDevice(in InputDeviceIdentifier identifier, in getKeyboardLayoutListForInputDevice()
DInputDeviceIdentifier.aidl19 parcelable InputDeviceIdentifier;
/frameworks/native/include/input/
DKeyboard.h44 status_t load(const InputDeviceIdentifier& deviceIdenfier,
60 bool probeKeyMap(const InputDeviceIdentifier& deviceIdentifier, const std::string& name);
61 status_t loadKeyLayout(const InputDeviceIdentifier& deviceIdentifier, const std::string& name);
62 status_t loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifier,
69 extern bool isEligibleBuiltInKeyboard(const InputDeviceIdentifier& deviceIdentifier,
DInputDevice.h35 struct InputDeviceIdentifier { struct
36 inline InputDeviceIdentifier() : in InputDeviceIdentifier() argument
74 bool operator==(const InputDeviceIdentifier&) const = default;
75 bool operator!=(const InputDeviceIdentifier&) const = default;
282 const InputDeviceIdentifier& identifier, const std::string& alias,
289 inline const InputDeviceIdentifier& getIdentifier() const { return mIdentifier; } in getIdentifier()
360 InputDeviceIdentifier mIdentifier;
406 const InputDeviceIdentifier& deviceIdentifier, InputDeviceConfigurationFileType type,
DKeyboardClassifier.h43 void notifyKeyboardChanged(DeviceId deviceId, const InputDeviceIdentifier& identifier,
/frameworks/native/libs/input/
DKeyboard.cpp34 static std::string getPath(const InputDeviceIdentifier& deviceIdentifier, const std::string& name, in getPath()
49 status_t KeyMap::load(const InputDeviceIdentifier& deviceIdentifier, in load()
103 bool KeyMap::probeKeyMap(const InputDeviceIdentifier& deviceIdentifier, in probeKeyMap()
114 status_t KeyMap::loadKeyLayout(const InputDeviceIdentifier& deviceIdentifier, in loadKeyLayout()
144 status_t KeyMap::loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifier, in loadKeyCharacterMap()
171 bool isEligibleBuiltInKeyboard(const InputDeviceIdentifier& deviceIdentifier, in isEligibleBuiltInKeyboard()
DInputDevice.cpp58 const InputDeviceIdentifier& deviceIdentifier, InputDeviceConfigurationFileType type, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
158 std::string InputDeviceIdentifier::getCanonicalName() const { in getCanonicalName()
172 initialize(-1, 0, -1, InputDeviceIdentifier(), "", false, false, ui::LogicalDisplayId::INVALID); in InputDeviceInfo()
203 const InputDeviceIdentifier& identifier, const std::string& alias, in initialize()
DKeyboardClassifier.cpp56 const InputDeviceIdentifier& identifier, in notifyKeyboardChanged()
/frameworks/native/services/inputflinger/tests/
DInstrumentedInputReader.cpp33 InputDeviceIdentifier identifier; in newDevice()
41 nsecs_t when, int32_t eventHubId, const InputDeviceIdentifier& identifier) REQUIRES(mLock) { in createDeviceLocked()
DFakeInputReaderPolicy.h86 const InputDeviceIdentifier&, const std::optional<KeyboardLayoutInfo>) override;
87 std::string getDeviceAlias(const InputDeviceIdentifier&) override;
DFakeInputReaderPolicy.cpp231 const InputDeviceIdentifier&, const std::optional<KeyboardLayoutInfo>) { in getKeyboardLayoutOverlay() argument
235 std::string FakeInputReaderPolicy::getDeviceAlias(const InputDeviceIdentifier&) { in getDeviceAlias() argument
DEventHub_test.cpp32 using android::InputDeviceIdentifier;
161 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceAddedEvent.deviceId); in waitForDeviceCreation()
DInstrumentedInputReader.h47 nsecs_t when, int32_t eventHubId, const InputDeviceIdentifier& identifier);
/frameworks/native/services/inputflinger/reader/mapper/
DTouchCursorInputMapperCommon.h52 const InputDeviceIdentifier& identifier, nsecs_t currentEventTime, nsecs_t readTime,
DTouchpadInputMapper.h100 static MetricsIdentifier metricsIdFromInputDeviceIdentifier(const InputDeviceIdentifier& id) { in metricsIdFromInputDeviceIdentifier()
DTouchCursorInputMapperCommon.cpp104 const InputDeviceIdentifier& identifier, nsecs_t currentEventTime, nsecs_t readTime, in applyBluetoothTimestampSmoothening()
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h96 InputDeviceIdentifier mIdentifier;
110 InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const override { in getDeviceIdentifier()
273 const InputDeviceIdentifier& identifier, in getKeyboardLayoutOverlay()
277 std::string getDeviceAlias(const InputDeviceIdentifier& identifier) { in getDeviceAlias()
350 InputDeviceIdentifier identifier; in getFuzzedInputDevice()
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardLayoutManager.java47 import android.hardware.input.InputDeviceIdentifier;
469 public String[] getKeyboardLayoutOverlay(InputDeviceIdentifier identifier, String languageTag, in getKeyboardLayoutOverlay()
503 InputDeviceIdentifier identifier, @UserIdInt int userId, in getKeyboardLayoutForInputDevice()
520 public void setKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setKeyboardLayoutForInputDevice()
551 public KeyboardLayout[] getKeyboardLayoutListForInputDevice(InputDeviceIdentifier identifier, in getKeyboardLayoutListForInputDevice()
1044 private InputDevice getInputDevice(InputDeviceIdentifier identifier) { in getInputDevice()
1223 private final InputDeviceIdentifier mIdentifier;
1231 private KeyboardIdentifier(@NonNull InputDeviceIdentifier inputDeviceIdentifier) { in KeyboardIdentifier()
1240 private KeyboardIdentifier(@NonNull InputDeviceIdentifier identifier, in KeyboardIdentifier()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h269 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
508 InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const override final;
634 const InputDeviceIdentifier identifier;
670 Device(int fd, int32_t id, std::string path, InputDeviceIdentifier identifier,
720 void assignDescriptorLocked(InputDeviceIdentifier& identifier) REQUIRES(mLock);
755 void reportDeviceAddedForStatisticsLocked(const InputDeviceIdentifier& identifier,
DInputDevice.h45 const InputDeviceIdentifier& identifier);
188 InputDeviceIdentifier mIdentifier;
302 inline InputDeviceIdentifier getDeviceIdentifier() const { in getDeviceIdentifier()
/frameworks/base/core/java/android/view/
DInputDevice.java33 import android.hardware.input.InputDeviceIdentifier;
78 private final InputDeviceIdentifier mIdentifier;
534 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()
563 mIdentifier = new InputDeviceIdentifier(mDescriptor, mVendorId, mProductId); in InputDevice()
872 public InputDeviceIdentifier getIdentifier() { in getIdentifier()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h456 const InputDeviceIdentifier& identifier,
460 virtual std::string getDeviceAlias(const InputDeviceIdentifier& identifier) = 0;
/frameworks/native/libs/input/tests/
DInputDevice_test.cpp31 InputDeviceIdentifier identifier; in TEST()
54 InputDeviceIdentifier identifier; in loadKeyCharacterMap()

123