• Home
  • Raw
  • Download

Lines Matching refs:deviceIdentifier

41 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
98 loadKeyLayout(deviceIdentifier, keyMapName); in probeKeyMap()
101 loadKeyCharacterMap(deviceIdentifier, keyMapName); in probeKeyMap()
106 status_t KeyMap::loadKeyLayout(const InputDeviceIdentifier& deviceIdentifier, in loadKeyLayout() argument
108 std::string path(getPath(deviceIdentifier, name, InputDeviceConfigurationFileType::KEY_LAYOUT)); in loadKeyLayout()
122 status_t KeyMap::loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifier, in loadKeyCharacterMap() argument
125 getPath(deviceIdentifier, name, InputDeviceConfigurationFileType::KEY_CHARACTER_MAP); in loadKeyCharacterMap()
140 std::string KeyMap::getPath(const InputDeviceIdentifier& deviceIdentifier, in getPath() argument
143 ? getInputDeviceConfigurationFilePathByDeviceIdentifier(deviceIdentifier, type) in getPath()
159 bool isEligibleBuiltInKeyboard(const InputDeviceIdentifier& deviceIdentifier, in isEligibleBuiltInKeyboard() argument
176 return strstr(deviceIdentifier.name.c_str(), "-keypad"); in isEligibleBuiltInKeyboard()