Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/input/
DInputDeviceIdentifier.java31 public final class InputDeviceIdentifier implements Parcelable { class
36 public InputDeviceIdentifier(String descriptor, int vendorId, int productId) { in InputDeviceIdentifier() method in InputDeviceIdentifier
42 private InputDeviceIdentifier(Parcel src) { in InputDeviceIdentifier() method in InputDeviceIdentifier
75 if (o == null || !(o instanceof InputDeviceIdentifier)) return false; in equals()
77 final InputDeviceIdentifier that = (InputDeviceIdentifier) o; in equals()
87 …public static final @android.annotation.NonNull Parcelable.Creator<InputDeviceIdentifier> CREATOR =
88 new Parcelable.Creator<InputDeviceIdentifier>() {
91 public InputDeviceIdentifier createFromParcel(Parcel source) {
92 return new InputDeviceIdentifier(source);
96 public InputDeviceIdentifier[] newArray(int size) {
[all …]
DIInputManager.aidl20 import android.hardware.input.InputDeviceIdentifier;
70 KeyboardLayout[] getKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getKeyboardLayoutsForInputDevice()
72 String getCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier); in getCurrentKeyboardLayoutForInputDevice()
73 void setCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
75 String[] getEnabledKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getEnabledKeyboardLayoutsForInputDevice()
76 void addKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
78 void removeKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
DInputDeviceIdentifier.aidl19 parcelable InputDeviceIdentifier;
DInputManager.java661 public KeyboardLayout[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
699 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
720 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
745 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
769 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
797 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
/frameworks/native/include/input/
DKeyboard.h45 status_t load(const InputDeviceIdentifier& deviceIdenfier,
61 bool probeKeyMap(const InputDeviceIdentifier& deviceIdentifier, const std::string& name);
62 status_t loadKeyLayout(const InputDeviceIdentifier& deviceIdentifier, const std::string& name);
63 status_t loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifier,
65 std::string getPath(const InputDeviceIdentifier& deviceIdentifier,
72 extern bool isEligibleBuiltInKeyboard(const InputDeviceIdentifier& deviceIdentifier,
DInputDevice.h31 struct InputDeviceIdentifier { struct
32 inline InputDeviceIdentifier() : in InputDeviceIdentifier() argument
208 const InputDeviceIdentifier& identifier, const std::string& alias, bool isExternal,
214 inline const InputDeviceIdentifier& getIdentifier() const { return mIdentifier; } in getIdentifier()
268 InputDeviceIdentifier mIdentifier;
305 const InputDeviceIdentifier& deviceIdentifier,
/frameworks/native/libs/input/
DKeyboard.cpp41 status_t KeyMap::load(const InputDeviceIdentifier& deviceIdentifier, in load()
95 bool KeyMap::probeKeyMap(const InputDeviceIdentifier& deviceIdentifier, in probeKeyMap()
106 status_t KeyMap::loadKeyLayout(const InputDeviceIdentifier& deviceIdentifier, in loadKeyLayout()
122 status_t KeyMap::loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifier, in loadKeyCharacterMap()
140 std::string KeyMap::getPath(const InputDeviceIdentifier& deviceIdentifier, in getPath()
159 bool isEligibleBuiltInKeyboard(const InputDeviceIdentifier& deviceIdentifier, in isEligibleBuiltInKeyboard()
DInputDevice.cpp56 const InputDeviceIdentifier& deviceIdentifier, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
142 std::string InputDeviceIdentifier::getCanonicalName() const { in getCanonicalName()
156 initialize(-1, 0, -1, InputDeviceIdentifier(), "", false, false); in InputDeviceInfo()
182 const InputDeviceIdentifier& identifier, const std::string& alias, bool isExternal, in initialize()
/frameworks/native/libs/input/tests/
DInputDevice_test.cpp29 InputDeviceIdentifier identifier; in TEST()
52 InputDeviceIdentifier identifier; in loadKeyCharacterMap()
/frameworks/base/core/java/android/view/
DInputDevice.java27 import android.hardware.input.InputDeviceIdentifier;
68 private final InputDeviceIdentifier mIdentifier;
482 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()
502 mIdentifier = new InputDeviceIdentifier(mDescriptor, mVendorId, mProductId); in InputDevice()
575 public InputDeviceIdentifier getIdentifier() { in getIdentifier()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h242 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
437 InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const override final;
551 const InputDeviceIdentifier identifier;
583 const InputDeviceIdentifier& identifier);
627 void assignDescriptorLocked(InputDeviceIdentifier& identifier) REQUIRES(mLock);
657 void reportDeviceAddedForStatisticsLocked(const InputDeviceIdentifier& identifier,
DInputDevice.h47 const InputDeviceIdentifier& identifier);
157 InputDeviceIdentifier mIdentifier;
251 inline InputDeviceIdentifier getDeviceIdentifier() const { in getDeviceIdentifier()
DInputReader.h117 const InputDeviceIdentifier& identifier)
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h381 const InputDeviceIdentifier& identifier) = 0;
384 virtual std::string getDeviceAlias(const InputDeviceIdentifier& identifier) = 0;
/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp32 using android::InputDeviceIdentifier;
157 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceAddedEvent.deviceId); in waitForDeviceCreation()
DInputReader_test.cpp359 const InputDeviceIdentifier&) override { in getKeyboardLayoutOverlay() argument
363 std::string getDeviceAlias(const InputDeviceIdentifier&) override { return ""; } in getDeviceAlias() argument
392 InputDeviceIdentifier identifier;
657 InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const override { in getDeviceIdentifier()
659 return device ? device->identifier : InputDeviceIdentifier(); in getDeviceIdentifier()
1168 InputDeviceIdentifier identifier; in newDevice()
1180 const InputDeviceIdentifier& identifier) in createDeviceLocked()
2403 InputDeviceIdentifier identifier; in SetUp()
2700 InputDeviceIdentifier identifier; in newDevice()
8738 InputDeviceIdentifier identifier; in newDevice()
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp58 const InputDeviceIdentifier& ident = deviceInfo.getIdentifier(); in android_view_InputDevice_create()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java51 import android.hardware.input.InputDeviceIdentifier;
1361 final InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
1558 private String getLayoutDescriptor(InputDeviceIdentifier identifier) { in getLayoutDescriptor()
1573 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
1593 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
1619 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
1632 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
1661 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
3000 private String[] getKeyboardLayoutOverlay(InputDeviceIdentifier identifier) { in getKeyboardLayoutOverlay()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp358 const InputDeviceIdentifier& identifier) in Device()
736 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
739 return device != nullptr ? device->identifier : InputDeviceIdentifier(); in getDeviceIdentifier()
1238 static std::string generateDescriptor(InputDeviceIdentifier& identifier) { in generateDescriptor()
1266 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
1831 void EventHub::reportDeviceAddedForStatisticsLocked(const InputDeviceIdentifier& identifier, in reportDeviceAddedForStatisticsLocked()
1871 InputDeviceIdentifier identifier; in openDeviceLocked()
2242 InputDeviceIdentifier identifier; in createVirtualKeyboardLocked()
DInputReader.cpp194 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(eventHubId); in addDeviceLocked()
278 int32_t eventHubId, const InputDeviceIdentifier& identifier) { in createDeviceLocked()
DInputDevice.cpp40 const InputDeviceIdentifier& identifier) in InputDevice()
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp212 InputDeviceIdentifier idi; in inputGetDevicePropertyMap()
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp200 InputDeviceIdentifier identifier = getDeviceContext().getDeviceIdentifier(); in createSensor()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp300 const InputDeviceIdentifier& identifier) override;
301 std::string getDeviceAlias(const InputDeviceIdentifier& identifier) override;
718 const InputDeviceIdentifier& identifier) { in getKeyboardLayoutOverlay()
748 std::string NativeInputManager::getDeviceAlias(const InputDeviceIdentifier& identifier) { in getDeviceAlias()
/frameworks/base/boot/
Dpreloaded-classes2433 android.hardware.input.InputDeviceIdentifier$1
2434 android.hardware.input.InputDeviceIdentifier

12