Home
last modified time | relevance | path

Searched refs:KeyLayoutMap (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/include/input/
DKeyLayoutMap.h64 class KeyLayoutMap {
66 static base::Result<std::shared_ptr<KeyLayoutMap>> load(const std::string& filename,
68 static base::Result<std::shared_ptr<KeyLayoutMap>> loadContents(const std::string& filename,
83 virtual ~KeyLayoutMap();
86 static base::Result<std::shared_ptr<KeyLayoutMap>> load(Tokenizer* tokenizer);
111 KeyLayoutMap();
116 KeyLayoutMap* mMap;
120 Parser(KeyLayoutMap* map, Tokenizer* tokenizer);
DKeyboard.h27 class KeyLayoutMap; variable
36 std::shared_ptr<KeyLayoutMap> keyLayoutMap;
/frameworks/native/libs/input/
DKeyLayoutMap.cpp130 KeyLayoutMap::KeyLayoutMap() = default;
131 KeyLayoutMap::~KeyLayoutMap() = default;
133 base::Result<std::shared_ptr<KeyLayoutMap>> KeyLayoutMap::loadContents(const std::string& filename, in loadContents()
138 base::Result<std::shared_ptr<KeyLayoutMap>> KeyLayoutMap::load(const std::string& filename, in load()
156 const std::shared_ptr<KeyLayoutMap>& map = *ret; in load()
166 base::Result<std::shared_ptr<KeyLayoutMap>> KeyLayoutMap::load(Tokenizer* tokenizer) { in load()
167 std::shared_ptr<KeyLayoutMap> map = std::shared_ptr<KeyLayoutMap>(new KeyLayoutMap()); in load()
191 status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t usageCode, in mapKey()
212 base::Result<std::pair<InputDeviceSensorType, int32_t>> KeyLayoutMap::mapSensor( in mapSensor()
225 const KeyLayoutMap::Key* KeyLayoutMap::getKey(int32_t scanCode, int32_t usageCode) const { in getKey()
[all …]
DKeyboard.cpp121 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(path); in loadKeyLayout()
135 ret = KeyLayoutMap::load(fallbackPath); in loadKeyLayout()
DAndroid.bp229 "KeyLayoutMap.cpp",
/frameworks/native/libs/input/tests/
DInputDevice_test.cpp47 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(path); in loadKeyLayout()
159 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST_F()
166 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST_F()
172 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST()
174 const std::shared_ptr<KeyLayoutMap>& keyLayoutMap = *ret; in TEST()
210 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST()
221 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST()
223 const std::shared_ptr<KeyLayoutMap>& map = *ret; in TEST()
/frameworks/base/tools/validatekeymaps/
DMain.cpp142 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(filename); in validateFile()