Searched refs:tryGetProperty (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/include/utils/
H A DPropertyMap.h69 bool tryGetProperty(const String8& key, String8& outValue) const;
70 bool tryGetProperty(const String8& key, bool& outValue) const;
71 bool tryGetProperty(const String8& key, int32_t& outValue) const;
72 bool tryGetProperty(const String8& key, float& outValue) const;
/frameworks/base/libs/utils/
H A DPropertyMap.cpp58 bool PropertyMap::tryGetProperty(const String8& key, String8& outValue) const { function in class:android::PropertyMap
68 bool PropertyMap::tryGetProperty(const String8& key, bool& outValue) const { function in class:android::PropertyMap
70 if (!tryGetProperty(key, intValue)) {
78 bool PropertyMap::tryGetProperty(const String8& key, int32_t& outValue) const { function in class:android::PropertyMap
80 if (! tryGetProperty(key, stringValue) || stringValue.length() == 0) {
95 bool PropertyMap::tryGetProperty(const String8& key, float& outValue) const { function in class:android::PropertyMap
97 if (! tryGetProperty(key, stringValue) || stringValue.length() == 0) {
/frameworks/base/libs/ui/
H A DKeyboard.cpp49 if (deviceConfiguration->tryGetProperty(String8("keyboard.layout"),
60 if (deviceConfiguration->tryGetProperty(String8("keyboard.characterMap"),
167 if (deviceConfiguration->tryGetProperty(String8("keyboard.builtIn"), builtIn)
/frameworks/base/services/input/
H A DInputReader.cpp1815 getDevice()->getConfiguration().tryGetProperty(String8("keyboard.orientationAware"),
2112 if (getDevice()->getConfiguration().tryGetProperty(String8("cursor.mode"), cursorModeString)) {
2121 getDevice()->getConfiguration().tryGetProperty(String8("cursor.orientationAware"),
2518 if (getDevice()->getConfiguration().tryGetProperty(String8("touch.gestureMode"),
2546 if (getDevice()->getConfiguration().tryGetProperty(String8("touch.deviceType"),
2560 getDevice()->getConfiguration().tryGetProperty(String8("touch.orientationAware"),
3051 if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) {
3066 out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"),
3068 out.haveSizeBias = in.tryGetProperty(String8("touch.size.bias"),
3070 out.haveSizeIsSummed = in.tryGetProperty(String
[all...]
H A DEventHub.cpp1131 if (device->configuration->tryGetProperty(String8("device.internal"), value)) {
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1324 ASSERT_TRUE(mDevice->getConfiguration().tryGetProperty(String8("key"), propertyValue))

Completed in 143 milliseconds