Home
last modified time | relevance | path

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

12

/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 @android.annotation.NonNull 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;
63 KeyboardLayout[] getKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getKeyboardLayoutsForInputDevice()
65 String getCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier); in getCurrentKeyboardLayoutForInputDevice()
66 void setCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
68 String[] getEnabledKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getEnabledKeyboardLayoutsForInputDevice()
69 void addKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
71 void removeKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
DInputDeviceIdentifier.aidl19 parcelable InputDeviceIdentifier;
DInputManager.java577 public KeyboardLayout[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
615 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
636 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
661 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
685 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
713 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.h29 struct InputDeviceIdentifier { struct
30 inline InputDeviceIdentifier() : in InputDeviceIdentifier() argument
86 const InputDeviceIdentifier& identifier, const std::string& alias, bool isExternal,
92 inline const InputDeviceIdentifier& getIdentifier() const { return mIdentifier; } in getIdentifier()
133 InputDeviceIdentifier mIdentifier;
163 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()
123 status_t KeyMap::loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifier, in loadKeyCharacterMap()
141 std::string KeyMap::getPath(const InputDeviceIdentifier& deviceIdentifier, in getPath()
160 bool isEligibleBuiltInKeyboard(const InputDeviceIdentifier& deviceIdentifier, in isEligibleBuiltInKeyboard()
DInputDevice.cpp55 const InputDeviceIdentifier& deviceIdentifier, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
139 std::string InputDeviceIdentifier::getCanonicalName() const { in getCanonicalName()
153 initialize(-1, 0, -1, InputDeviceIdentifier(), "", false, false); in InputDeviceInfo()
169 const InputDeviceIdentifier& identifier, const std::string& alias, bool isExternal, in initialize()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h168 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
265 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const override;
329 const InputDeviceIdentifier identifier;
357 const InputDeviceIdentifier& identifier);
380 void assignDescriptorLocked(InputDeviceIdentifier& identifier);
DInputDevice.h42 const InputDeviceIdentifier& identifier);
122 InputDeviceIdentifier mIdentifier;
210 inline InputDeviceIdentifier getDeviceIdentifier() const { in getDeviceIdentifier()
DInputReader.h89 int32_t deviceId, const InputDeviceIdentifier& identifier);
/frameworks/base/core/java/android/view/
DInputDevice.java24 import android.hardware.input.InputDeviceIdentifier;
60 private final InputDeviceIdentifier mIdentifier;
446 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()
464 mIdentifier = new InputDeviceIdentifier(mDescriptor, mVendorId, mProductId); in InputDevice()
537 public InputDeviceIdentifier getIdentifier() { in getIdentifier()
/frameworks/native/libs/input/tests/
DInputDevice_test.cpp26 InputDeviceIdentifier identifier; in TEST()
/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp32 using android::InputDeviceIdentifier;
157 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceAddedEvent.deviceId); in waitForDeviceCreation()
DInputReader_test.cpp332 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier&) { in getKeyboardLayoutOverlay() argument
336 virtual std::string getDeviceAlias(const InputDeviceIdentifier&) { in getDeviceAlias() argument
362 InputDeviceIdentifier identifier;
590 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
592 return device ? device->identifier : InputDeviceIdentifier(); in getDeviceIdentifier()
1146 InputDeviceIdentifier identifier; in newDevice()
1158 int32_t eventHubId, const InputDeviceIdentifier& identifier) { in createDeviceLocked()
2027 InputDeviceIdentifier identifier; in SetUp()
2264 InputDeviceIdentifier identifier; in SetUp()
2863 InputDeviceIdentifier identifier; in TEST_F()
[all …]
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h347 const InputDeviceIdentifier& identifier) = 0;
350 virtual std::string getDeviceAlias(const InputDeviceIdentifier& identifier) = 0;
/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.java45 import android.hardware.input.InputDeviceIdentifier;
1153 final InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
1350 private String getLayoutDescriptor(InputDeviceIdentifier identifier) { in getLayoutDescriptor()
1365 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
1385 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
1411 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
1424 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
1453 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
2161 private String[] getKeyboardLayoutOverlay(InputDeviceIdentifier identifier) { in getKeyboardLayoutOverlay()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp183 const InputDeviceIdentifier& identifier) in Device()
355 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
358 if (device == nullptr) return InputDeviceIdentifier(); in getDeviceIdentifier()
688 static std::string generateDescriptor(InputDeviceIdentifier& identifier) { in generateDescriptor()
716 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
1229 InputDeviceIdentifier identifier; in openDeviceLocked()
1596 InputDeviceIdentifier identifier; in createVirtualKeyboardLocked()
DInputReader.cpp193 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(eventHubId); in addDeviceLocked()
251 int32_t eventHubId, const InputDeviceIdentifier& identifier) { in createDeviceLocked()
DInputDevice.cpp37 const InputDeviceIdentifier& identifier) in InputDevice()
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp212 InputDeviceIdentifier idi; in inputGetDevicePropertyMap()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp230 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier& identifier);
231 virtual std::string getDeviceAlias(const InputDeviceIdentifier& identifier);
617 const InputDeviceIdentifier& identifier) { in getKeyboardLayoutOverlay()
643 std::string NativeInputManager::getDeviceAlias(const InputDeviceIdentifier& identifier) { in getDeviceAlias()
/frameworks/base/config/
Dpreloaded-classes2476 android.hardware.input.InputDeviceIdentifier$1
2477 android.hardware.input.InputDeviceIdentifier
Dboot-image-profile.txt9865 HSPLandroid/hardware/input/InputDeviceIdentifier;-><init>(Ljava/lang/String;II)V
9866 HSPLandroid/hardware/input/InputDeviceIdentifier;->getDescriptor()Ljava/lang/String;
9867 HSPLandroid/hardware/input/InputDeviceIdentifier;->getProductId()I
9868 HSPLandroid/hardware/input/InputDeviceIdentifier;->getVendorId()I
42604 Landroid/hardware/input/InputDeviceIdentifier$1;
42605 Landroid/hardware/input/InputDeviceIdentifier;

12