/aosp12/frameworks/native/libs/input/ |
H A 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()
|
H A D | Keyboard.cpp | 46 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()
|
H A D | PropertyMap_fuzz.cpp | 43 propertyMap.tryGetProperty(key, out); in __anond7bced8b0402()
|
/aosp12/frameworks/native/include/input/ |
H A 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;
|
/aosp12/frameworks/native/services/inputflinger/reader/mapper/ |
H A D | SensorInputMapper.cpp | 64 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()
|
H A D | RotaryEncoderInputMapper.cpp | 43 if (!getDeviceContext().getConfiguration().tryGetProperty(String8("device.res"), res)) { in populateDeviceInfo() 46 if (!getDeviceContext().getConfiguration().tryGetProperty(String8("device.scalingFactor"), in populateDeviceInfo()
|
H A 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()
|
H A D | SensorInputMapper.h | 123 bool tryGetProperty(std::string keyName, T& outValue);
|
H A D | TouchInputMapper.cpp | 424 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() 475 if (getDeviceContext().getConfiguration().tryGetProperty(String8("touch.orientation"), in configureParameters() 499 getDeviceContext().getConfiguration().tryGetProperty(String8("touch.displayId"), in configureParameters() 1166 if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) { in parseCalibration() 1182 out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"), out.sizeScale); in parseCalibration() 1183 out.haveSizeBias = in.tryGetProperty(String8("touch.size.bias"), out.sizeBias); in parseCalibration() 1189 if (in.tryGetProperty(String8("touch.pressure.calibration"), pressureCalibrationString)) { in parseCalibration() 1223 if (in.tryGetProperty(String8("touch.distance.calibration"), distanceCalibrationString)) { in parseCalibration() [all …]
|
H A D | CursorInputMapper.cpp | 228 if (getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.mode"), in configureParameters() 238 getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.orientationAware"), in configureParameters()
|
/aosp12/frameworks/native/services/inputflinger/host/ |
H A D | InputDriver.cpp | 249 if (!map->propertyMap->tryGetProperty(keyString, prop->value)) { in inputGetDeviceProperty()
|
/aosp12/frameworks/native/services/inputflinger/reader/ |
H A D | EventHub.cpp | 503 if (configuration->tryGetProperty(String8("device.internal"), value)) { in isExternalDeviceLocked() 513 if (configuration->tryGetProperty(String8("audio.mic"), value)) { in deviceHasMicLocked() 1999 device->configuration->tryGetProperty(String8("device.type"), deviceType)) { in openDeviceLocked()
|
/aosp12/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 2519 ASSERT_TRUE(mDevice->getConfiguration().tryGetProperty(String8("key"), propertyValue)) in TEST_F()
|