/frameworks/native/include/input/ |
D | PropertyMap.h | 70 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/ |
D | PropertyMap.cpp | 50 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()
|
D | Keyboard.cpp | 53 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()
|
D | PropertyMap_fuzz.cpp | 43 propertyMap.tryGetProperty(key, out); in __anoncf0ececb0402()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | SensorInputMapper.cpp | 65 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()
|
D | RotaryEncoderInputMapper.cpp | 43 if (!getDeviceContext().getConfiguration().tryGetProperty(String8("device.res"), res)) { in populateDeviceInfo() 46 if (!getDeviceContext().getConfiguration().tryGetProperty(String8("device.scalingFactor"), in populateDeviceInfo()
|
D | KeyboardInputMapper.cpp | 163 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()
|
D | SensorInputMapper.h | 123 bool tryGetProperty(std::string keyName, T& outValue);
|
D | TouchInputMapper.cpp | 425 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 …]
|
D | CursorInputMapper.cpp | 245 if (getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.mode"), in configureParameters() 255 getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.orientationAware"), in configureParameters()
|
/frameworks/native/services/inputflinger/host/ |
D | InputDriver.cpp | 249 if (!map->propertyMap->tryGetProperty(keyString, prop->value)) { in inputGetDeviceProperty()
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 506 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/ |
D | InputReader_test.cpp | 2783 ASSERT_TRUE(mDevice->getConfiguration().tryGetProperty(String8("key"), propertyValue)) in TEST_F()
|