Searched refs:setMaxVersionCode (Results 1 – 8 of 8) sorted by relevance
220 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()
204 new PackageOverride.Builder().setMinVersionCode(10).setMaxVersionCode( in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides()
195 public Builder setMaxVersionCode(long maxVersionCode) { in setMaxVersionCode() method in PackageOverride.Builder
323 .setMaxVersionCode(override.getMaxVersionCode()) in loadOverrides()343 override.setMaxVersionCode(entry.getValue().getMaxVersionCode()); in saveOverrides()
51 method public void setMaxVersionCode(long);
311 .setMaxVersionCode(99L) in testInstallerCanAddOverrides()483 .setMaxVersionCode(99L) in testOverrideWithAppVersion()495 .setMaxVersionCode(100L) in testOverrideWithAppVersion()519 .setMaxVersionCode(99L) in testApplyDeferredOverridesAfterInstallingAppVersion()1015 .setMaxVersionCode(101L) in testSaveOverridesWithRanges()
251 overrideBuilder.setMaxVersionCode(Long.parseLong(maxVersionCodeStr)); in parsePackageOverrides()
2102 method @NonNull public android.app.compat.PackageOverride.Builder setMaxVersionCode(long);