Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/input/
DInputDeviceIdentifier.java30 public final class InputDeviceIdentifier implements Parcelable { class
35 public InputDeviceIdentifier(String descriptor, int vendorId, int productId) { in InputDeviceIdentifier() method in InputDeviceIdentifier
41 private InputDeviceIdentifier(Parcel src) { in InputDeviceIdentifier() method in InputDeviceIdentifier
74 if (o == null || !(o instanceof InputDeviceIdentifier)) return false; in equals()
76 final InputDeviceIdentifier that = (InputDeviceIdentifier) o; in equals()
86 public static final Parcelable.Creator<InputDeviceIdentifier> CREATOR =
87 new Parcelable.Creator<InputDeviceIdentifier>() {
90 public InputDeviceIdentifier createFromParcel(Parcel source) {
91 return new InputDeviceIdentifier(source);
95 public InputDeviceIdentifier[] newArray(int size) {
[all …]
DIInputManager.aidl20 import android.hardware.input.InputDeviceIdentifier;
60 KeyboardLayout[] getKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getKeyboardLayoutsForInputDevice()
62 String getCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier); in getCurrentKeyboardLayoutForInputDevice()
63 void setCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
65 String[] getEnabledKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getEnabledKeyboardLayoutsForInputDevice()
66 void addKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
68 void removeKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
70 KeyboardLayout getKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in getKeyboardLayoutForInputDevice()
72 void setKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in setKeyboardLayoutForInputDevice()
DInputManager.java550 public KeyboardLayout[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
588 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
609 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
634 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
658 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
686 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
716 public KeyboardLayout getKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in getKeyboardLayoutForInputDevice()
737 public void setKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setKeyboardLayoutForInputDevice()
DInputDeviceIdentifier.aidl19 parcelable InputDeviceIdentifier;
/frameworks/native/include/input/
DKeyboard.h55 status_t load(const InputDeviceIdentifier& deviceIdenfier,
71 bool probeKeyMap(const InputDeviceIdentifier& deviceIdentifier, const String8& name);
72 status_t loadKeyLayout(const InputDeviceIdentifier& deviceIdentifier, const String8& name);
73 status_t loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifier,
75 String8 getPath(const InputDeviceIdentifier& deviceIdentifier,
82 extern bool isEligibleBuiltInKeyboard(const InputDeviceIdentifier& deviceIdentifier,
DInputDevice.h28 struct InputDeviceIdentifier { struct
29 inline InputDeviceIdentifier() : in InputDeviceIdentifier() function
76 const InputDeviceIdentifier& identifier, const String8& alias, bool isExternal, argument
82 inline const InputDeviceIdentifier& getIdentifier() const { return mIdentifier; } in getIdentifier()
123 InputDeviceIdentifier mIdentifier;
153 const InputDeviceIdentifier& deviceIdentifier,
/frameworks/native/libs/input/
DKeyboard.cpp41 status_t KeyMap::load(const InputDeviceIdentifier& deviceIdenfifier, in load()
95 bool KeyMap::probeKeyMap(const InputDeviceIdentifier& deviceIdentifier, in probeKeyMap()
106 status_t KeyMap::loadKeyLayout(const InputDeviceIdentifier& deviceIdentifier, in loadKeyLayout()
123 status_t KeyMap::loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifier, in loadKeyCharacterMap()
141 String8 KeyMap::getPath(const InputDeviceIdentifier& deviceIdentifier, in getPath()
151 bool isEligibleBuiltInKeyboard(const InputDeviceIdentifier& deviceIdentifier, in isEligibleBuiltInKeyboard()
DInputDevice.cpp58 const InputDeviceIdentifier& deviceIdentifier, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
137 initialize(-1, 0, -1, InputDeviceIdentifier(), String8(), false, false); in InputDeviceInfo()
153 const InputDeviceIdentifier& identifier, const String8& alias, bool isExternal, in initialize()
/frameworks/native/services/inputflinger/
DEventHub.h189 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
287 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const;
349 const InputDeviceIdentifier identifier;
377 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);
399 void assignDescriptorLocked(InputDeviceIdentifier& identifier);
DEventHub.cpp148 const InputDeviceIdentifier& identifier) : in Device()
270 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
273 if (device == NULL) return InputDeviceIdentifier(); in getDeviceIdentifier()
605 static String8 generateDescriptor(InputDeviceIdentifier& identifier) { in generateDescriptor()
634 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
1124 InputDeviceIdentifier identifier; in openDeviceLocked()
1474 InputDeviceIdentifier identifier; in createVirtualKeyboardLocked()
DInputReader.h274 const InputDeviceIdentifier& identifier) = 0;
277 virtual String8 getDeviceAlias(const InputDeviceIdentifier& identifier) = 0;
445 const InputDeviceIdentifier& identifier, uint32_t classes);
549 controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes);
627 InputDeviceIdentifier mIdentifier;
DInputReader.cpp463 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceId); in addDeviceLocked()
516 const InputDeviceIdentifier& identifier, uint32_t classes) { in createDeviceLocked()
1038 int32_t controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes) : in InputDevice()
/frameworks/base/core/java/android/view/
DInputDevice.java22 import android.hardware.input.InputDeviceIdentifier;
55 private final InputDeviceIdentifier mIdentifier;
426 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()
444 mIdentifier = new InputDeviceIdentifier(mDescriptor, mVendorId, mProductId); in InputDevice()
517 public InputDeviceIdentifier getIdentifier() { in getIdentifier()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java65 import android.hardware.input.InputDeviceIdentifier;
1100 final InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
1297 private String getLayoutDescriptor(InputDeviceIdentifier identifier) { in getLayoutDescriptor()
1312 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
1332 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
1358 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
1372 public KeyboardLayout getKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in getKeyboardLayoutForInputDevice()
1401 public void setKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setKeyboardLayoutForInputDevice()
1418 private void setKeyboardLayoutForInputDeviceInner(InputDeviceIdentifier identifier, in setKeyboardLayoutForInputDeviceInner()
1447 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
[all …]
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp58 const InputDeviceIdentifier& ident = deviceInfo.getIdentifier(); in android_view_InputDevice_create()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp229 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier& identifier);
230 virtual String8 getDeviceAlias(const InputDeviceIdentifier& identifier);
601 const InputDeviceIdentifier& identifier) { in getKeyboardLayoutOverlay()
627 String8 NativeInputManager::getDeviceAlias(const InputDeviceIdentifier& identifier) { in getDeviceAlias()
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp212 InputDeviceIdentifier idi; in inputGetDevicePropertyMap()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp238 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier&) { in getKeyboardLayoutOverlay() argument
242 virtual String8 getDeviceAlias(const InputDeviceIdentifier&) { in getDeviceAlias() argument
364 InputDeviceIdentifier identifier;
577 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
579 return device ? device->identifier : InputDeviceIdentifier(); in getDeviceIdentifier()
1057 InputDeviceIdentifier identifier; in newDevice()
1066 const InputDeviceIdentifier& identifier, uint32_t classes) { in createDeviceLocked()
1377 InputDeviceIdentifier identifier; in SetUp()
1568 InputDeviceIdentifier identifier; in SetUp()
/frameworks/base/config/
Dpreloaded-classes1046 android.hardware.input.InputDeviceIdentifier
1047 android.hardware.input.InputDeviceIdentifier$1
Dcompiled-classes-phone1750 android.hardware.input.InputDeviceIdentifier
1751 android.hardware.input.InputDeviceIdentifier$1
Dboot-image-profile.txt2676 HPLandroid/hardware/input/InputDeviceIdentifier;->getDescriptor()Ljava/lang/String;
2677 HPLandroid/hardware/input/InputDeviceIdentifier;->getProductId()I
2678 HPLandroid/hardware/input/InputDeviceIdentifier;->getVendorId()I
7392 HPLandroid/view/InputDevice;->getIdentifier()Landroid/hardware/input/InputDeviceIdentifier;
23645 …Manager;->addKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
23650 …;->getCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…
23651 …->getEnabledKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Ljava/la…
23655 …Manager;->getKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Landroid/v…
23657 …anager;->getKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Landroid…
23665 …ager;->removeKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
[all …]
/frameworks/base/services/
Dart-profile2483 …;->getCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…
2487 …ManagerService;->getKeyboardLayoutOverlay(Landroid/hardware/input/InputDeviceIdentifier;)[Ljava/la…
2488 …InputManagerService;->getLayoutDescriptor(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…
10453 …nagerService;->handleSwitchKeyboardLayout(Landroid/hardware/input/InputDeviceIdentifier;Lcom/andro…