Home
last modified time | relevance | path

Searched refs:InputDeviceIdentifier (Results 1 – 19 of 19) 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;
58 KeyboardLayout[] getKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getKeyboardLayoutsForInputDevice()
60 String getCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier); in getCurrentKeyboardLayoutForInputDevice()
61 void setCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
63 String[] getEnabledKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getEnabledKeyboardLayoutsForInputDevice()
64 void addKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
66 void removeKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
DInputDeviceIdentifier.aidl19 parcelable InputDeviceIdentifier;
DInputManager.java551 public KeyboardLayout[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
589 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
610 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
635 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
659 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
687 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
/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()
160 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.h188 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
286 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const;
348 const InputDeviceIdentifier identifier;
376 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);
398 void assignDescriptorLocked(InputDeviceIdentifier& identifier);
DEventHub.cpp145 const InputDeviceIdentifier& identifier) : in Device()
267 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
270 if (device == NULL) return InputDeviceIdentifier(); in getDeviceIdentifier()
602 static String8 generateDescriptor(InputDeviceIdentifier& identifier) { in generateDescriptor()
631 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
1121 InputDeviceIdentifier identifier; in openDeviceLocked()
1471 InputDeviceIdentifier identifier; in createVirtualKeyboardLocked()
DInputReader.h273 const InputDeviceIdentifier& identifier) = 0;
276 virtual String8 getDeviceAlias(const InputDeviceIdentifier& identifier) = 0;
444 const InputDeviceIdentifier& identifier, uint32_t classes);
548 controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes);
626 InputDeviceIdentifier mIdentifier;
/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/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.java64 import android.hardware.input.InputDeviceIdentifier;
1095 final InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
1292 private String getLayoutDescriptor(InputDeviceIdentifier identifier) { in getLayoutDescriptor()
1307 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
1327 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
1353 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
1366 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
1395 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
1952 private String[] getKeyboardLayoutOverlay(InputDeviceIdentifier identifier) { in getKeyboardLayoutOverlay()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp232 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier& identifier);
233 virtual String8 getDeviceAlias(const InputDeviceIdentifier& identifier);
604 const InputDeviceIdentifier& identifier) { in getKeyboardLayoutOverlay()
630 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-classes1395 android.hardware.input.InputDeviceIdentifier
1396 android.hardware.input.InputDeviceIdentifier$1
Dboot-image-profile.txt21664 …Manager;->addKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
21669 …;->getCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…
21670 …->getEnabledKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Ljava/la…
21675 …anager;->getKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Landroid…
21683 …ager;->removeKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
21685 …;->setCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
21691 HSPLandroid/hardware/input/InputDeviceIdentifier$1;-><init>()V
21692 HSPLandroid/hardware/input/InputDeviceIdentifier;-><init>(Ljava/lang/String;II)V
55436 Landroid/hardware/input/InputDeviceIdentifier$1;
55437 Landroid/hardware/input/InputDeviceIdentifier;