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

/frameworks/native/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/native/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/androidfw/
H A DKeyboard.cpp47 if (deviceConfiguration->tryGetProperty(String8("keyboard.layout"),
58 if (deviceConfiguration->tryGetProperty(String8("keyboard.characterMap"),
162 if (deviceConfiguration->tryGetProperty(String8("keyboard.builtIn"), builtIn)
/frameworks/base/services/input/
H A DInputReader.cpp2023 getDevice()->getConfiguration().tryGetProperty(String8("keyboard.orientationAware"),
2343 if (getDevice()->getConfiguration().tryGetProperty(String8("cursor.mode"), cursorModeString)) {
2352 getDevice()->getConfiguration().tryGetProperty(String8("cursor.orientationAware"),
2757 if (getDevice()->getConfiguration().tryGetProperty(String8("touch.gestureMode"),
2785 if (getDevice()->getConfiguration().tryGetProperty(String8("touch.deviceType"),
2799 getDevice()->getConfiguration().tryGetProperty(String8("touch.orientationAware"),
3353 if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) {
3370 out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"),
3372 out.haveSizeBias = in.tryGetProperty(String8("touch.size.bias"),
3374 out.haveSizeIsSummed = in.tryGetProperty(String
[all...]
H A DEventHub.cpp1305 if (device->configuration->tryGetProperty(String8("device.internal"), value)) {
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1290 ASSERT_TRUE(mDevice->getConfiguration().tryGetProperty(String8("key"), propertyValue))

Completed in 61 milliseconds