Home
last modified time | relevance | path

Searched refs:deviceIdentifier (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/input/
DKeyboard.cpp34 static std::string getPath(const InputDeviceIdentifier& deviceIdentifier, const std::string& name, in getPath() argument
37 ? getInputDeviceConfigurationFilePathByDeviceIdentifier(deviceIdentifier, type) in getPath()
49 status_t KeyMap::load(const InputDeviceIdentifier& deviceIdentifier, in load() argument
56 status_t status = loadKeyLayout(deviceIdentifier, *keyLayoutName); in load()
60 deviceIdentifier.name.c_str(), keyLayoutName->c_str()); in load()
67 status_t status = loadKeyCharacterMap(deviceIdentifier, *keyCharacterMapName); in load()
71 deviceIdentifier.name.c_str(), keyCharacterMapName->c_str()); in load()
81 if (probeKeyMap(deviceIdentifier, "")) { in load()
88 if (probeKeyMap(deviceIdentifier, "Generic")) { in load()
93 if (probeKeyMap(deviceIdentifier, "Virtual")) { in load()
[all …]
DInputDevice.cpp58 const InputDeviceIdentifier& deviceIdentifier, InputDeviceConfigurationFileType type, in getInputDeviceConfigurationFilePathByDeviceIdentifier() argument
60 if (deviceIdentifier.vendor !=0 && deviceIdentifier.product != 0) { in getInputDeviceConfigurationFilePathByDeviceIdentifier()
61 if (deviceIdentifier.version != 0) { in getInputDeviceConfigurationFilePathByDeviceIdentifier()
66 deviceIdentifier.vendor, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
67 deviceIdentifier.product, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
68 deviceIdentifier.version, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
79 deviceIdentifier.vendor, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
80 deviceIdentifier.product, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
89 return getInputDeviceConfigurationFilePathByName(deviceIdentifier.getCanonicalName() + suffix, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
/frameworks/native/include/input/
DKeyboard.h60 bool probeKeyMap(const InputDeviceIdentifier& deviceIdentifier, const std::string& name);
61 status_t loadKeyLayout(const InputDeviceIdentifier& deviceIdentifier, const std::string& name);
62 status_t loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifier,
69 extern bool isEligibleBuiltInKeyboard(const InputDeviceIdentifier& deviceIdentifier,
DInputDevice.h406 const InputDeviceIdentifier& deviceIdentifier, InputDeviceConfigurationFileType type,