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.cpp46 if (deviceConfiguration->tryGetProperty(String8("keyboard.layout"), in load()
57 if (deviceConfiguration->tryGetProperty(String8("keyboard.characterMap"), in load()
155 config->tryGetProperty(String8("keyboard.specialFunction"), isSpecialFunction); in isKeyboardSpecialFunction()
170 if (deviceConfiguration->tryGetProperty(String8("keyboard.builtIn"), builtIn) in isEligibleBuiltInKeyboard()
DPropertyMap_fuzz.cpp43 propertyMap.tryGetProperty(key, out); in __anone469e1e60402()
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp64 bool SensorInputMapper::tryGetProperty(std::string keyName, T& outValue) { in tryGetProperty() function in android::SensorInputMapper
66 return config.tryGetProperty(String8(keyName.c_str()), outValue); in tryGetProperty()
218 if (!tryGetProperty(prefix + ".reportingMode", reportingMode)) { in createSensor()
222 tryGetProperty(prefix + ".maxDelay", sensorInfo.maxDelay); in createSensor()
224 tryGetProperty(prefix + ".minDelay", sensorInfo.minDelay); in createSensor()
226 tryGetProperty(prefix + ".power", sensorInfo.power); in createSensor()
228 tryGetProperty(prefix + ".fifoReservedEventCount", sensorInfo.fifoReservedEventCount); in createSensor()
230 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);
DCursorInputMapper.cpp228 if (getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.mode"), in configureParameters()
238 getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.orientationAware"), in configureParameters()
DTouchInputMapper.cpp424 if (getDeviceContext().getConfiguration().tryGetProperty(String8("touch.gestureMode"), in configureParameters()
454 if (getDeviceContext().getConfiguration().tryGetProperty(String8("touch.deviceType"), in configureParameters()
470 getDeviceContext().getConfiguration().tryGetProperty(String8("touch.orientationAware"), in configureParameters()
482 getDeviceContext().getConfiguration().tryGetProperty(String8("touch.displayId"), in configureParameters()
495 getDeviceContext().getConfiguration().tryGetProperty(String8("touch.wake"), mParameters.wake); in configureParameters()
1137 if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) { in parseCalibration()
1153 out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"), out.sizeScale); in parseCalibration()
1154 out.haveSizeBias = in.tryGetProperty(String8("touch.size.bias"), out.sizeBias); in parseCalibration()
1155 out.haveSizeIsSummed = in.tryGetProperty(String8("touch.size.isSummed"), out.sizeIsSummed); in parseCalibration()
1160 if (in.tryGetProperty(String8("touch.pressure.calibration"), pressureCalibrationString)) { in parseCalibration()
[all …]
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp249 if (!map->propertyMap->tryGetProperty(keyString, prop->value)) { in inputGetDeviceProperty()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp503 if (configuration->tryGetProperty(String8("device.internal"), value)) { in isExternalDeviceLocked()
513 if (configuration->tryGetProperty(String8("audio.mic"), value)) { in deviceHasMicLocked()
2000 device->configuration->tryGetProperty(String8("device.type"), deviceType)) { in openDeviceLocked()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2503 ASSERT_TRUE(mDevice->getConfiguration().tryGetProperty(String8("key"), propertyValue)) in TEST_F()