Home
last modified time | relevance | path

Searched refs:InputDeviceIdentifier (Results 1 – 24 of 24) 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 @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;
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()
DInputDeviceIdentifier.aidl19 parcelable InputDeviceIdentifier;
DInputManager.java556 public KeyboardLayout[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
594 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
615 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
640 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
664 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
692 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() function
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& 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 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/
DEventHub.h170 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
269 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const;
332 const InputDeviceIdentifier identifier;
360 const InputDeviceIdentifier& identifier);
383 void assignDescriptorLocked(InputDeviceIdentifier& identifier);
DEventHub.cpp194 const InputDeviceIdentifier& identifier) : in Device()
319 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
322 if (device == nullptr) return InputDeviceIdentifier(); in getDeviceIdentifier()
655 static std::string generateDescriptor(InputDeviceIdentifier& identifier) { in generateDescriptor()
684 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
1200 InputDeviceIdentifier identifier; in openDeviceLocked()
1587 InputDeviceIdentifier identifier; in createVirtualKeyboardLocked()
DInputReader.h153 const InputDeviceIdentifier& identifier, uint32_t classes);
248 controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes);
330 InputDeviceIdentifier mIdentifier;
DInputReader.cpp395 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceId); in addDeviceLocked()
448 const InputDeviceIdentifier& identifier, uint32_t classes) { in createDeviceLocked()
984 int32_t controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes) : in InputDevice()
/frameworks/base/core/java/android/view/
DInputDevice.java23 import android.hardware.input.InputDeviceIdentifier;
57 private final InputDeviceIdentifier mIdentifier;
430 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()
448 mIdentifier = new InputDeviceIdentifier(mDescriptor, mVendorId, mProductId); in InputDevice()
521 public InputDeviceIdentifier getIdentifier() { in getIdentifier()
/frameworks/native/libs/input/tests/
DInputDevice_test.cpp26 InputDeviceIdentifier identifier; in TEST()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h340 const InputDeviceIdentifier& identifier) = 0;
343 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;
1115 final InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
1312 private String getLayoutDescriptor(InputDeviceIdentifier identifier) { in getLayoutDescriptor()
1327 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
1347 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
1373 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
1386 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
1415 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
1996 private String[] getKeyboardLayoutOverlay(InputDeviceIdentifier identifier) { in getKeyboardLayoutOverlay()
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp212 InputDeviceIdentifier idi; in inputGetDevicePropertyMap()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp236 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier& identifier);
237 virtual std::string getDeviceAlias(const InputDeviceIdentifier& identifier);
650 const InputDeviceIdentifier& identifier) { in getKeyboardLayoutOverlay()
676 std::string NativeInputManager::getDeviceAlias(const InputDeviceIdentifier& identifier) { in getDeviceAlias()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp287 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier&) { in getKeyboardLayoutOverlay() argument
291 virtual std::string getDeviceAlias(const InputDeviceIdentifier&) { in getDeviceAlias() argument
305 InputDeviceIdentifier identifier;
524 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
526 return device ? device->identifier : InputDeviceIdentifier(); in getDeviceIdentifier()
1033 InputDeviceIdentifier identifier; in newDevice()
1043 const InputDeviceIdentifier& identifier, uint32_t classes) { in createDeviceLocked()
1604 InputDeviceIdentifier identifier; in SetUp()
1796 InputDeviceIdentifier identifier; in SetUp()
6359 InputDeviceIdentifier identifier; in TEST_F()
/frameworks/base/config/
Dpreloaded-classes1566 android.hardware.input.InputDeviceIdentifier$1
1567 android.hardware.input.InputDeviceIdentifier
Dhiddenapi-greylist-max-o.txt25306 …b$Proxy;->addKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
25311 …;->getCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…
25312 …->getEnabledKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Ljava/la…
25318 …$Proxy;->getKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Landroid…
25327 …roxy;->removeKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
25329 …;->setCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
25365 …Manager;->addKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
25370 …;->getCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…
25371 …->getEnabledKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Ljava/la…
25376 …anager;->getKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Landroid…
[all …]
Dboot-image-profile.txt7293 HSPLandroid/hardware/input/InputDeviceIdentifier$1;-><init>()V
7294 HSPLandroid/hardware/input/InputDeviceIdentifier;-><init>(Ljava/lang/String;II)V
33776 Landroid/hardware/input/InputDeviceIdentifier$1;
33777 Landroid/hardware/input/InputDeviceIdentifier;
/frameworks/base/services/
Dart-profile7172 …;->getCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…
7185 …ManagerService;->getKeyboardLayoutOverlay(Landroid/hardware/input/InputDeviceIdentifier;)[Ljava/la…
7186 …InputManagerService;->getLayoutDescriptor(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…