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;
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.java572 public KeyboardLayout[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
610 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
631 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
656 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
680 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
708 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/reader/include/
DEventHub.h169 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
266 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const;
328 const InputDeviceIdentifier identifier;
356 const InputDeviceIdentifier& identifier);
379 void assignDescriptorLocked(InputDeviceIdentifier& identifier);
DInputDevice.h40 int32_t controllerNumber, const InputDeviceIdentifier& identifier,
122 InputDeviceIdentifier mIdentifier;
DInputReader.h84 const InputDeviceIdentifier& identifier,
/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.h345 const InputDeviceIdentifier& identifier) = 0;
348 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;
1135 final InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice()
1332 private String getLayoutDescriptor(InputDeviceIdentifier identifier) { in getLayoutDescriptor()
1347 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice()
1367 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice()
1393 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice()
1406 public void addKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice()
1435 public void removeKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice()
2073 private String[] getKeyboardLayoutOverlay(InputDeviceIdentifier identifier) { in getKeyboardLayoutOverlay()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp194 const InputDeviceIdentifier& identifier) in Device()
333 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
336 if (device == nullptr) return InputDeviceIdentifier(); in getDeviceIdentifier()
666 static std::string generateDescriptor(InputDeviceIdentifier& identifier) { in generateDescriptor()
694 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
1209 InputDeviceIdentifier identifier; in openDeviceLocked()
1590 InputDeviceIdentifier identifier; in createVirtualKeyboardLocked()
DInputReader.cpp188 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceId); in addDeviceLocked()
241 const InputDeviceIdentifier& identifier, in createDeviceLocked()
DInputDevice.cpp26 int32_t controllerNumber, 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.cpp238 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier& identifier);
239 virtual std::string getDeviceAlias(const InputDeviceIdentifier& identifier);
625 const InputDeviceIdentifier& identifier) { in getKeyboardLayoutOverlay()
651 std::string NativeInputManager::getDeviceAlias(const InputDeviceIdentifier& identifier) { in getDeviceAlias()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp299 virtual sp<KeyCharacterMap> getKeyboardLayoutOverlay(const InputDeviceIdentifier&) { in getKeyboardLayoutOverlay() argument
303 virtual std::string getDeviceAlias(const InputDeviceIdentifier&) { in getDeviceAlias() argument
317 InputDeviceIdentifier identifier;
536 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
538 return device ? device->identifier : InputDeviceIdentifier(); in getDeviceIdentifier()
1045 InputDeviceIdentifier identifier; in newDevice()
1055 const InputDeviceIdentifier& identifier, uint32_t classes) { in createDeviceLocked()
1616 InputDeviceIdentifier identifier; in SetUp()
1808 InputDeviceIdentifier identifier; in SetUp()
6380 InputDeviceIdentifier identifier; in TEST_F()
/frameworks/base/config/
Dpreloaded-classes1566 android.hardware.input.InputDeviceIdentifier$1
1567 android.hardware.input.InputDeviceIdentifier
Dhiddenapi-greylist-max-o.txt23671 …b$Proxy;->addKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
23676 …;->getCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…
23677 …->getEnabledKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Ljava/la…
23683 …$Proxy;->getKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Landroid…
23692 …roxy;->removeKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
23694 …;->setCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
23728 …Manager;->addKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;Ljava/lang…
23733 …;->getCurrentKeyboardLayoutForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)Ljava/lan…
23734 …->getEnabledKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Ljava/la…
23739 …anager;->getKeyboardLayoutsForInputDevice(Landroid/hardware/input/InputDeviceIdentifier;)[Landroid…
[all …]
/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…

12