Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyboard.cpp41 status_t KeyMap::load(const InputDeviceIdentifier& deviceIdentifier, in load() argument
48 status_t status = loadKeyLayout(deviceIdentifier, keyLayoutName.c_str()); in load()
52 deviceIdentifier.name.c_str(), keyLayoutName.string()); in load()
59 status_t status = loadKeyCharacterMap(deviceIdentifier, keyCharacterMapName.c_str()); in load()
63 deviceIdentifier.name.c_str(), keyCharacterMapName.string()); in load()
73 if (probeKeyMap(deviceIdentifier, "")) { in load()
80 if (probeKeyMap(deviceIdentifier, "Generic")) { in load()
85 if (probeKeyMap(deviceIdentifier, "Virtual")) { in load()
91 deviceIdentifier.name.c_str()); in load()
95 bool KeyMap::probeKeyMap(const InputDeviceIdentifier& deviceIdentifier, in probeKeyMap() argument
[all …]
DInputDevice.cpp56 const InputDeviceIdentifier& deviceIdentifier, in getInputDeviceConfigurationFilePathByDeviceIdentifier() argument
58 if (deviceIdentifier.vendor !=0 && deviceIdentifier.product != 0) { in getInputDeviceConfigurationFilePathByDeviceIdentifier()
59 if (deviceIdentifier.version != 0) { in getInputDeviceConfigurationFilePathByDeviceIdentifier()
63 deviceIdentifier.vendor, deviceIdentifier.product, in getInputDeviceConfigurationFilePathByDeviceIdentifier()
64 deviceIdentifier.version), in getInputDeviceConfigurationFilePathByDeviceIdentifier()
74 deviceIdentifier.vendor, deviceIdentifier.product), in getInputDeviceConfigurationFilePathByDeviceIdentifier()
82 return getInputDeviceConfigurationFilePathByName(deviceIdentifier.getCanonicalName(), type); in getInputDeviceConfigurationFilePathByDeviceIdentifier()
/frameworks/native/include/input/
DKeyboard.h61 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.h305 const InputDeviceIdentifier& deviceIdentifier,