Home
last modified time | relevance | path

Searched refs:PropertyMap (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/libs/input/
DPropertyMap.cpp37 PropertyMap::PropertyMap() {} in PropertyMap() function in android::PropertyMap
39 PropertyMap::~PropertyMap() {} in ~PropertyMap()
41 void PropertyMap::clear() { in clear()
45 void PropertyMap::addProperty(const std::string& key, const std::string& value) { in addProperty()
49 std::unordered_set<std::string> PropertyMap::getKeysWithPrefix(const std::string& prefix) const { in getKeysWithPrefix()
59 bool PropertyMap::hasProperty(const std::string& key) const { in hasProperty()
63 std::optional<std::string> PropertyMap::getString(const std::string& key) const { in getString()
68 std::optional<bool> PropertyMap::getBool(const std::string& key) const { in getBool()
73 std::optional<int32_t> PropertyMap::getInt(const std::string& key) const { in getInt()
89 std::optional<float> PropertyMap::getFloat(const std::string& key) const { in getFloat()
[all …]
DPropertyMap_fuzz.cpp25 static const std::vector<std::function<void(FuzzedDataProvider*, android::PropertyMap&)>>
27 [](FuzzedDataProvider*, android::PropertyMap& propertyMap) -> void { in __anon7da9061f0102()
30 [](FuzzedDataProvider* dataProvider, android::PropertyMap& propertyMap) -> void { in __anon7da9061f0202()
34 [](FuzzedDataProvider* dataProvider, android::PropertyMap& /*unused*/) -> void { in __anon7da9061f0302()
44 android::PropertyMap::load(tf.path); in __anon7da9061f0302()
46 [](FuzzedDataProvider* dataProvider, android::PropertyMap& propertyMap) -> void { in __anon7da9061f0402()
54 android::PropertyMap propertyMap; in LLVMFuzzerTestOneInput()
DKeyboard.cpp50 const PropertyMap* deviceConfiguration) { in load()
164 bool isKeyboardSpecialFunction(const PropertyMap* config) { in isKeyboardSpecialFunction()
172 const PropertyMap* deviceConfiguration, const KeyMap* keyMap) { in isEligibleBuiltInKeyboard()
DAndroid.bp233 "PropertyMap.cpp",
379 "PropertyMap.cpp",
/frameworks/native/include/input/
DPropertyMap.h50 class PropertyMap {
53 PropertyMap();
54 ~PropertyMap();
78 void addAll(const PropertyMap* map);
81 static android::base::Result<std::unique_ptr<PropertyMap>> load(const char* filename);
88 PropertyMap* mMap;
92 Parser(PropertyMap* map, Tokenizer* tokenizer);
DKeyboard.h45 const PropertyMap* deviceConfiguration);
70 const PropertyMap* deviceConfiguration, const KeyMap* keyMap);
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DPropertyProvider.h39 void loadPropertiesFromIdcFile(const PropertyMap& idcProperties);
89 void trySetFromIdcProperty(const android::PropertyMap& idcProperties,
DPropertyProvider.cpp88 void PropertyProvider::loadPropertiesFromIdcFile(const PropertyMap& idcProperties) { in loadPropertiesFromIdcFile()
249 void GesturesProp::trySetFromIdcProperty(const android::PropertyMap& idcProperties, in trySetFromIdcProperty()
/frameworks/base/tools/validatekeymaps/
DMain.cpp167 android::base::Result<std::unique_ptr<PropertyMap>> propertyMap = in validateFile()
168 PropertyMap::load(String8(filename).c_str()); in validateFile()
/frameworks/native/services/inputflinger/reader/mapper/
DRotaryEncoderInputMapper.cpp46 const PropertyMap& config = getDeviceContext().getConfiguration(); in populateDeviceInfo()
76 const PropertyMap& propertyMap = getDeviceContext().getConfiguration(); in reconfigure()
DKeyboardInputMapper.cpp217 const PropertyMap& config = getDeviceContext().getConfiguration(); in configureParameters()
DCursorInputMapper.cpp174 const PropertyMap& config = deviceContext.getConfiguration(); in computeParameters()
DTouchInputMapper.cpp376 const PropertyMap& config = deviceContext.getConfiguration(); in computeParameters()
1158 const PropertyMap& in = getDeviceContext().getConfiguration(); in parseCalibration()
/frameworks/native/services/inputflinger/tests/
DFakeEventHub.h49 PropertyMap configuration;
118 void addConfigurationMap(int32_t deviceId, const PropertyMap* configuration);
170 std::optional<PropertyMap> getConfiguration(int32_t deviceId) const override;
DPropertyProvider_test.cpp306 PropertyMap idcProps; in TEST_F()
322 PropertyMap idcProps; in TEST_F()
344 PropertyMap idcProps; in TEST_F()
DInputMapperTest.h74 PropertyMap mPropertyMap;
DInterfaceMocks.h93 MOCK_METHOD(std::optional<PropertyMap>, getConfiguration, (int32_t deviceId), (const));
DFakeEventHub.cpp97 void FakeEventHub::addConfigurationMap(int32_t deviceId, const PropertyMap* configuration) { in addConfigurationMap()
258 std::optional<PropertyMap> FakeEventHub::getConfiguration(int32_t deviceId) const { in getConfiguration()
DInputReader_test.cpp620 ftl::Flags<InputDeviceClass> classes, const PropertyMap* configuration) { in addDevice()
648 const PropertyMap* configuration) { in addDeviceWithFakeInputMapper()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h135 inline const PropertyMap& getConfiguration() { return mConfiguration; } in getConfiguration()
226 PropertyMap mConfiguration;
477 inline const PropertyMap& getConfiguration() const { return mDevice.getConfiguration(); } in getConfiguration()
DEventHub.h279 virtual std::optional<PropertyMap> getConfiguration(int32_t deviceId) const = 0;
512 std::optional<PropertyMap> getConfiguration(int32_t deviceId) const override final;
657 std::unique_ptr<PropertyMap> configuration;
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h98 PropertyMap mFuzzConfig;
116 std::optional<PropertyMap> getConfiguration(int32_t deviceId) const override { in getConfiguration()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp256 std::optional<PropertyMap> configuration = in configureInternal()
DEventHub.cpp688 android::base::Result<std::unique_ptr<PropertyMap>> propertyMap = in loadConfigurationLocked()
689 PropertyMap::load(configurationFile.c_str()); in loadConfigurationLocked()
992 std::optional<PropertyMap> EventHub::getConfiguration(int32_t deviceId) const { in getConfiguration()