Home
last modified time | relevance | path

Searched refs:mConfigParser (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationConstants.java204 private final ConfigParser mConfigParser; field in TextClassificationConstants
207 mConfigParser = new ConfigParser(legacySettingsSupplier); in TextClassificationConstants()
211 return mConfigParser.getBoolean( in isLocalTextClassifierEnabled()
217 return mConfigParser.getBoolean( in isSystemTextClassifierEnabled()
223 return mConfigParser.getBoolean( in isModelDarkLaunchEnabled()
229 return mConfigParser.getBoolean( in isSmartSelectionEnabled()
235 return mConfigParser.getBoolean( in isSmartTextShareEnabled()
241 return mConfigParser.getBoolean( in isSmartLinkifyEnabled()
247 return mConfigParser.getBoolean( in isSmartSelectionAnimationEnabled()
253 return mConfigParser.getInt( in getSuggestSelectionMaxRangeLength()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DConfigParserTest.java49 private ConfigParser mConfigParser; field in ConfigParserTest
53 mConfigParser = new ConfigParser(SETTINGS); in setup()
69 boolean value = mConfigParser.getBoolean("boolean", true); in getBoolean_deviceConfig()
75 boolean value = mConfigParser.getBoolean( in getBoolean_settings()
88 int value = mConfigParser.getInt("int", 0); in getInt_deviceConfig()
94 int value = mConfigParser.getInt("int", 0); in getInt_settings()
105 float value = mConfigParser.getFloat("float", 0); in getFloat_deviceConfig()
111 float value = mConfigParser.getFloat("float", 0); in getFloat_settings()
122 String value = mConfigParser.getString("string", ""); in getString_deviceConfig()
128 String value = mConfigParser.getString("string", ""); in getString_settings()