Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/input/
DInputDeviceIdentifier.java27 public final class InputDeviceIdentifier implements Parcelable { class
32 public InputDeviceIdentifier(String descriptor, int vendorId, int productId) { in InputDeviceIdentifier() method in InputDeviceIdentifier
38 private InputDeviceIdentifier(Parcel src) { in InputDeviceIdentifier() method in InputDeviceIdentifier
68 public static final Parcelable.Creator<InputDeviceIdentifier> CREATOR =
69 new Parcelable.Creator<InputDeviceIdentifier>() {
72 public InputDeviceIdentifier createFromParcel(Parcel source) {
73 return new InputDeviceIdentifier(source);
77 public InputDeviceIdentifier[] newArray(int size) {
78 return new InputDeviceIdentifier[size];
DIInputManager.aidl19 import android.hardware.input.InputDeviceIdentifier;
51 String getCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier); in getCurrentKeyboardLayoutForInputDevice()
52 void setCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
54 String[] getKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getKeyboardLayoutsForInputDevice()
55 void addKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
57 void removeKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
DInputDeviceIdentifier.aidl19 parcelable InputDeviceIdentifier;
DInputManager.java387 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
409 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
434 public String[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
459 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
487 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() argument
76 const InputDeviceIdentifier& identifier, const String8& alias, bool isExternal); argument
81 inline const InputDeviceIdentifier& getIdentifier() const { return mIdentifier; } in getIdentifier()
121 InputDeviceIdentifier mIdentifier;
150 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.cpp57 const InputDeviceIdentifier& deviceIdentifier, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
130 initialize(-1, 0, -1, InputDeviceIdentifier(), String8(), false); in InputDeviceInfo()
145 const InputDeviceIdentifier& identifier, const String8& alias, bool isExternal) { in initialize()
/frameworks/native/services/inputflinger/
DEventHub.h181 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
269 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const;
330 const InputDeviceIdentifier identifier;
358 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);
376 void assignDescriptorLocked(InputDeviceIdentifier& identifier);
DEventHub.cpp141 const InputDeviceIdentifier& identifier) : in Device()
243 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
246 if (device == NULL) return InputDeviceIdentifier(); in getDeviceIdentifier()
564 static String8 generateDescriptor(InputDeviceIdentifier& identifier) { in generateDescriptor()
593 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
1062 InputDeviceIdentifier identifier; in openDeviceLocked()
1357 InputDeviceIdentifier identifier; in createVirtualKeyboardLocked()
DInputReader.h312 const InputDeviceIdentifier& identifier) = 0;
315 virtual String8 getDeviceAlias(const InputDeviceIdentifier& identifier) = 0;
445 const InputDeviceIdentifier& identifier, uint32_t classes);
543 controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes);
612 InputDeviceIdentifier mIdentifier;
DInputReader.cpp366 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceId); in addDeviceLocked()
411 const InputDeviceIdentifier& identifier, uint32_t classes) { in createDeviceLocked()
858 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;
374 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()
391 mIdentifier = new InputDeviceIdentifier(mDescriptor, mVendorId, mProductId); in InputDevice()
463 public InputDeviceIdentifier getIdentifier() { in getIdentifier()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java52 import android.hardware.input.InputDeviceIdentifier;
995 private String getLayoutDescriptor(InputDeviceIdentifier identifier) { in getLayoutDescriptor()
1010 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
1030 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
1056 public String[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
1069 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
1098 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
1564 private String[] getKeyboardLayoutOverlay(InputDeviceIdentifier identifier) { in getKeyboardLayoutOverlay()
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp56 const InputDeviceIdentifier& ident = deviceInfo.getIdentifier(); in android_view_InputDevice_create()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp200 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier& identifier);
201 virtual String8 getDeviceAlias(const InputDeviceIdentifier& identifier);
510 const InputDeviceIdentifier& identifier) { in getKeyboardLayoutOverlay()
535 String8 NativeInputManager::getDeviceAlias(const InputDeviceIdentifier& identifier) { in getDeviceAlias()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp199 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier& identifier) { in getKeyboardLayoutOverlay()
203 virtual String8 getDeviceAlias(const InputDeviceIdentifier& identifier) { in getDeviceAlias()
315 InputDeviceIdentifier identifier;
480 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
482 return device ? device->identifier : InputDeviceIdentifier(); in getDeviceIdentifier()
947 InputDeviceIdentifier identifier; in newDevice()
956 const InputDeviceIdentifier& identifier, uint32_t classes) { in createDeviceLocked()
1213 InputDeviceIdentifier identifier; in SetUp()
1400 InputDeviceIdentifier identifier; in SetUp()
/frameworks/base/
Dpreloaded-classes803 android.hardware.input.InputDeviceIdentifier
804 android.hardware.input.InputDeviceIdentifier$1