Home
last modified time | relevance | path

Searched refs:InputDeviceIdentifier (Results 1 – 21 of 21) 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.aidl19 import android.hardware.input.InputDeviceIdentifier;
54 KeyboardLayout[] getKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getKeyboardLayoutsForInputDevice()
56 String getCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier); in getCurrentKeyboardLayoutForInputDevice()
57 void setCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
59 String[] getEnabledKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getEnabledKeyboardLayoutsForInputDevice()
60 void addKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
62 void removeKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
64 KeyboardLayout getKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in getKeyboardLayoutForInputDevice()
66 void setKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in setKeyboardLayoutForInputDevice()
DInputManager.java493 public KeyboardLayout[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
531 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
552 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
577 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
601 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
629 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
659 public KeyboardLayout getKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in getKeyboardLayoutForInputDevice()
680 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() argument
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.h190 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
279 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const;
341 const InputDeviceIdentifier identifier;
369 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);
387 void assignDescriptorLocked(InputDeviceIdentifier& identifier);
DEventHub.cpp148 const InputDeviceIdentifier& identifier) : in Device()
250 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
253 if (device == NULL) return InputDeviceIdentifier(); in getDeviceIdentifier()
585 static String8 generateDescriptor(InputDeviceIdentifier& identifier) { in generateDescriptor()
614 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
1079 InputDeviceIdentifier identifier; in openDeviceLocked()
1401 InputDeviceIdentifier identifier; in createVirtualKeyboardLocked()
DInputReader.h265 const InputDeviceIdentifier& identifier) = 0;
268 virtual String8 getDeviceAlias(const InputDeviceIdentifier& identifier) = 0;
431 const InputDeviceIdentifier& identifier, uint32_t classes);
535 controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes);
610 InputDeviceIdentifier mIdentifier;
DInputReader.cpp437 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceId); in addDeviceLocked()
490 const InputDeviceIdentifier& identifier, uint32_t classes) { in createDeviceLocked()
1000 int32_t controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes) : in InputDevice()
/frameworks/base/core/java/android/view/
DInputDevice.java20 import android.hardware.input.InputDeviceIdentifier;
53 private final InputDeviceIdentifier mIdentifier;
424 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()
442 mIdentifier = new InputDeviceIdentifier(mDescriptor, mVendorId, mProductId); in InputDevice()
515 public InputDeviceIdentifier getIdentifier() { in getIdentifier()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java63 import android.hardware.input.InputDeviceIdentifier;
1068 final InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
1265 private String getLayoutDescriptor(InputDeviceIdentifier identifier) { in getLayoutDescriptor()
1280 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
1300 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
1326 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
1340 public KeyboardLayout getKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in getKeyboardLayoutForInputDevice()
1369 public void setKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setKeyboardLayoutForInputDevice()
1386 private void setKeyboardLayoutForInputDeviceInner(InputDeviceIdentifier identifier, in setKeyboardLayoutForInputDeviceInner()
1415 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.cpp219 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier& identifier);
220 virtual String8 getDeviceAlias(const InputDeviceIdentifier& identifier);
581 const InputDeviceIdentifier& identifier) { in getKeyboardLayoutOverlay()
606 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.cpp221 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier&) { in getKeyboardLayoutOverlay() argument
225 virtual String8 getDeviceAlias(const InputDeviceIdentifier&) { in getDeviceAlias() argument
337 InputDeviceIdentifier identifier;
502 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
504 return device ? device->identifier : InputDeviceIdentifier(); in getDeviceIdentifier()
982 InputDeviceIdentifier identifier; in newDevice()
991 const InputDeviceIdentifier& identifier, uint32_t classes) { in createDeviceLocked()
1248 InputDeviceIdentifier identifier; in SetUp()
1435 InputDeviceIdentifier identifier; in SetUp()
/frameworks/base/
Dpreloaded-classes1248 android.hardware.input.InputDeviceIdentifier
1249 android.hardware.input.InputDeviceIdentifier$1
Dcompiled-classes-phone1731 android.hardware.input.InputDeviceIdentifier
1732 android.hardware.input.InputDeviceIdentifier$1
/frameworks/base/services/
Dprofile-classes984 Landroid/hardware/input/InputDeviceIdentifier;
985 Landroid/hardware/input/InputDeviceIdentifier$1;