/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 | 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()
|
D | PropertyMap_fuzz.cpp | 43 propertyMap.tryGetProperty(key, out); in __anone469e1e60402()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
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()
|
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 | CursorInputMapper.cpp | 228 if (getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.mode"), in configureParameters() 238 getDeviceContext().getConfiguration().tryGetProperty(String8("cursor.orientationAware"), in configureParameters()
|
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() 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/ |
D | InputDriver.cpp | 249 if (!map->propertyMap->tryGetProperty(keyString, prop->value)) { in inputGetDeviceProperty()
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 503 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/ |
D | InputReader_test.cpp | 2503 ASSERT_TRUE(mDevice->getConfiguration().tryGetProperty(String8("key"), propertyValue)) in TEST_F()
|