Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerServiceCompilerMapping.java72 String sysPropValue = SystemProperties.get(getSystemPropertyName(reason)); in getAndCheckValidity() local
73 if (sysPropValue == null || sysPropValue.isEmpty() in getAndCheckValidity()
74 || !(sysPropValue.equals(DexoptOptions.COMPILER_FILTER_NOOP) in getAndCheckValidity()
75 || DexFile.isValidCompilerFilter(sysPropValue))) { in getAndCheckValidity()
76 throw new IllegalStateException("Value \"" + sysPropValue +"\" not valid " in getAndCheckValidity()
78 } else if (!isFilterAllowedForReason(reason, sysPropValue)) { in getAndCheckValidity()
79 throw new IllegalStateException("Value \"" + sysPropValue +"\" not allowed " in getAndCheckValidity()
83 return sysPropValue; in getAndCheckValidity()
H A DBackgroundDexOptService.java1110 String sysPropValue = SystemProperties.get(sysPropKey); in getDowngradeUnusedAppsThresholdInMillis() local
1111 if (sysPropValue == null || sysPropValue.isEmpty()) { in getDowngradeUnusedAppsThresholdInMillis()
1115 return TimeUnit.DAYS.toMillis(Long.parseLong(sysPropValue)); in getDowngradeUnusedAppsThresholdInMillis()