Home
last modified time | relevance | path

Searched refs:tryGetProperty (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/include/input/
DPropertyMap.h70 bool tryGetProperty(const String8& key, String8& outValue) const;
71 bool tryGetProperty(const String8& key, bool& outValue) const;
72 bool tryGetProperty(const String8& key, int32_t& outValue) const;
73 bool tryGetProperty(const String8& key, float& outValue) const;
/frameworks/native/libs/input/
DPropertyMap.cpp50 bool PropertyMap::tryGetProperty(const String8& key, String8& outValue) const { in tryGetProperty() function in android::PropertyMap
60 bool PropertyMap::tryGetProperty(const String8& key, bool& outValue) const { in tryGetProperty() function in android::PropertyMap
62 if (!tryGetProperty(key, intValue)) { in tryGetProperty()
70 bool PropertyMap::tryGetProperty(const String8& key, int32_t& outValue) const { in tryGetProperty() function in android::PropertyMap
72 if (!tryGetProperty(key, stringValue) || stringValue.length() == 0) { in tryGetProperty()
87 bool PropertyMap::tryGetProperty(const String8& key, float& outValue) const { in tryGetProperty() function in android::PropertyMap
89 if (!tryGetProperty(key, stringValue) || stringValue.length() == 0) { in tryGetProperty()
DKeyboard.cpp53 if (deviceConfiguration->tryGetProperty(String8("keyboard.layout"), in load()
64 if (deviceConfiguration->tryGetProperty(String8("keyboard.characterMap"), in load()
168 config->tryGetProperty(String8("keyboard.specialFunction"), isSpecialFunction); in isKeyboardSpecialFunction()
183 if (deviceConfiguration->tryGetProperty(String8("keyboard.builtIn"), builtIn) in isEligibleBuiltInKeyboard()
DPropertyMap_fuzz.cpp43 propertyMap.tryGetProperty(key, out); in __anoncf0ececb0402()
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp65 bool SensorInputMapper::tryGetProperty(std::string keyName, T& outValue) { in tryGetProperty() function in android::SensorInputMapper
67 return config.tryGetProperty(String8(keyName.c_str()), outValue); in tryGetProperty()
219 if (!tryGetProperty(prefix + ".reportingMode", reportingMode)) { in createSensor()
223 tryGetProperty(prefix + ".maxDelay", sensorInfo.maxDelay); in createSensor()
225 tryGetProperty(prefix + ".minDelay", sensorInfo.minDelay); in createSensor()
227 tryGetProperty(prefix + ".power", sensorInfo.power); in createSensor()
229 tryGetProperty(prefix + ".fifoReservedEventCount", sensorInfo.fifoReservedEventCount); in createSensor()
231 tryGetProperty(prefix + ".fifoMaxEventCount", sensorInfo.fifoMaxEventCount); in createSensor()
DRotaryEncoderInputMapper.cpp43 if (!getDeviceContext().getConfiguration().tryGetProperty(String8("device.res"), res)) { in populateDeviceInfo()
46 if (!getDeviceContext().getConfiguration().tryGetProperty(String8("device.scalingFactor"), in populateDeviceInfo()
DKeyboardInputMapper.cpp163 if (config.tryGetProperty(String8(property), mapped) && mapped > 0) { in mapStemKey()
176 config.tryGetProperty(String8("keyboard.orientationAware"), mParameters.orientationAware); in configureParameters()
186 config.tryGetProperty(String8("keyboard.handlesKeyRepeat"), mParameters.handlesKeyRepeat); in configureParameters()
189 config.tryGetProperty(String8("keyboard.doNotWakeByDefault"), mParameters.doNotWakeByDefault); in configureParameters()
DSensorInputMapper.h123 bool tryGetProperty(std::string keyName, T& outValue);
DTouchInputMapper.cpp425 if (getDeviceContext().getConfiguration().tryGetProperty(String8("touch.gestureMode"), in configureParameters()
455 if (getDeviceContext().getConfiguration().tryGetProperty(String8("touch.deviceType"), in configureParameters()
471 getDeviceContext().getConfiguration().tryGetProperty(String8("touch.orientationAware"), in configureParameters()
476 if (getDeviceContext().getConfiguration().tryGetProperty(String8("touch.orientation"), in configureParameters()
500 getDeviceContext().getConfiguration().tryGetProperty(String8("touch.displayId"), in configureParameters()
513 getDeviceContext().getConfiguration().tryGetProperty(String8("touch.wake"), mParameters.wake); in configureParameters()
1190 if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) { in parseCalibration()
1206 out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"), out.sizeScale); in parseCalibration()
1207 out.haveSizeBias = in.tryGetProperty(String8("touch.size.bias"), out.sizeBias); in parseCalibration()
1208 out.haveSizeIsSummed = in.tryGetProperty(String8("touch.size.isSummed"), out.sizeIsSummed); in parseCalibration()
[all …]
DCursorInputMapper.cpp245 if (getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.mode"), in configureParameters()
255 getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.orientationAware"), in configureParameters()
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp249 if (!map->propertyMap->tryGetProperty(keyString, prop->value)) { in inputGetDeviceProperty()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp506 if (configuration->tryGetProperty(String8("device.internal"), value)) { in isExternalDeviceLocked()
516 if (configuration->tryGetProperty(String8("audio.mic"), value)) { in deviceHasMicLocked()
2082 device->configuration->tryGetProperty(String8("device.type"), deviceType)) { in openDeviceLocked()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2783 ASSERT_TRUE(mDevice->getConfiguration().tryGetProperty(String8("key"), propertyValue)) in TEST_F()