Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesParser.java238 String enabledStr = changeIdAndVersions.get(3); in parsePackageOverrides() local
239 if (!BOOLEAN_PATTERN.matcher(enabledStr).matches()) { in parsePackageOverrides()
243 boolean enabled = Boolean.parseBoolean(enabledStr); in parsePackageOverrides()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java4270 final String enabledStr = parser.getAttributeValue(null, ATTR_ENABLED);
4271 if (enabledStr != null) {
4273 packageSetting.setEnabled(Integer.parseInt(enabledStr), 0 /* userId */,
4276 if (enabledStr.equalsIgnoreCase("true")) {
4278 } else if (enabledStr.equalsIgnoreCase("false")) {
4280 } else if (enabledStr.equalsIgnoreCase("default")) {
4285 + " has bad enabled value: " + enabledStr + " at "