Home
last modified time | relevance | path

Searched refs:setMaxVersionCode (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/
DAppCompatOverridesParserTest.java220 new PackageOverride.Builder().setMinVersionCode(4).setMaxVersionCode(8).setEnabled( in parsePackageOverrides_configWithMultipleOverrides_returnsOverrides()
223 new PackageOverride.Builder().setMinVersionCode(3).setMaxVersionCode(4).setEnabled( in parsePackageOverrides_configWithMultipleOverrides_returnsOverrides()
226 new PackageOverride.Builder().setMinVersionCode(6).setMaxVersionCode(7).setEnabled( in parsePackageOverrides_configWithMultipleOverrides_returnsOverrides()
231 new PackageOverride.Builder().setMaxVersionCode(5).setEnabled(true).build()); in parsePackageOverrides_configWithMultipleOverrides_returnsOverrides()
336 new PackageOverride.Builder().setMinVersionCode(1).setMaxVersionCode(2).setEnabled( in parsePackageOverrides_someOverridesAreInvalid_returnsWithoutInvalidOverrides()
DAppCompatOverridesServiceTest.java204 new PackageOverride.Builder().setMinVersionCode(10).setMaxVersionCode( in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides()
/frameworks/base/core/java/android/app/compat/
DPackageOverride.java195 public Builder setMaxVersionCode(long maxVersionCode) { in setMaxVersionCode() method in PackageOverride.Builder
/frameworks/base/services/core/java/com/android/server/compat/
DCompatChange.java323 .setMaxVersionCode(override.getMaxVersionCode()) in loadOverrides()
343 override.setMaxVersionCode(entry.getValue().getMaxVersionCode()); in saveOverrides()
/frameworks/base/services/core/xsd/platform-compat/overrides/schema/
Dcurrent.txt51 method public void setMaxVersionCode(long);
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigTest.java311 .setMaxVersionCode(99L) in testInstallerCanAddOverrides()
483 .setMaxVersionCode(99L) in testOverrideWithAppVersion()
495 .setMaxVersionCode(100L) in testOverrideWithAppVersion()
519 .setMaxVersionCode(99L) in testApplyDeferredOverridesAfterInstallingAppVersion()
1015 .setMaxVersionCode(101L) in testSaveOverridesWithRanges()
/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesParser.java251 overrideBuilder.setMaxVersionCode(Long.parseLong(maxVersionCodeStr)); in parsePackageOverrides()
/frameworks/base/core/api/
Dsystem-current.txt2102 method @NonNull public android.app.compat.PackageOverride.Builder setMaxVersionCode(long);