Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceCompilerMapping.java71 String sysPropValue = SystemProperties.get(getSystemPropertyName(reason)); in getAndCheckValidity() local
72 if (sysPropValue == null || sysPropValue.isEmpty() in getAndCheckValidity()
73 || !(sysPropValue.equals(DexoptOptions.COMPILER_FILTER_NOOP) in getAndCheckValidity()
74 || DexFile.isValidCompilerFilter(sysPropValue))) { in getAndCheckValidity()
75 throw new IllegalStateException("Value \"" + sysPropValue +"\" not valid " in getAndCheckValidity()
77 } else if (!isFilterAllowedForReason(reason, sysPropValue)) { in getAndCheckValidity()
78 throw new IllegalStateException("Value \"" + sysPropValue +"\" not allowed " in getAndCheckValidity()
82 return sysPropValue; in getAndCheckValidity()
DBackgroundDexOptService.java714 String sysPropValue = SystemProperties.get(sysPropKey); in getDowngradeUnusedAppsThresholdInMillis() local
715 if (sysPropValue == null || sysPropValue.isEmpty()) { in getDowngradeUnusedAppsThresholdInMillis()
719 return TimeUnit.DAYS.toMillis(Long.parseLong(sysPropValue)); in getDowngradeUnusedAppsThresholdInMillis()