Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPerPackageReadTimeouts.java79 static class VersionCodes { class in PerPackageReadTimeouts
83 public static final VersionCodes ALL_VERSION_CODES = new VersionCodes(Long.MIN_VALUE,
86 private VersionCodes(long minVersionCode, long maxVersionCode) { in VersionCodes() method in PerPackageReadTimeouts.VersionCodes
91 static VersionCodes parse(String codes) { in parse()
101 return new VersionCodes(versionCode, versionCode); in parse()
112 return new VersionCodes(minVersionCode, maxVersionCode); in parse()
123 public final VersionCodes versionCodes;
127 VersionCodes versionCodes, Timeouts timeouts) { in PerPackageReadTimeouts()
135 static PerPackageReadTimeouts parse(String timeoutsStr, VersionCodes defaultVersionCodes, in parse()
139 VersionCodes versionCodes = defaultVersionCodes; in parse()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerServiceTest.java42 import com.android.server.pm.PerPackageReadTimeouts.VersionCodes;
274 final VersionCodes defaults = VersionCodes.parse(""); in testVersionCodes()
278 VersionCodes single = VersionCodes.parse("191000070"); in testVersionCodes()
282 VersionCodes single2 = VersionCodes.parse("191000070-191000070"); in testVersionCodes()
286 VersionCodes upto = VersionCodes.parse("-191000070"); in testVersionCodes()
290 VersionCodes andabove = VersionCodes.parse("191000070-"); in testVersionCodes()
294 VersionCodes range = VersionCodes.parse("191000070-201000070"); in testVersionCodes()
298 VersionCodes invalid0 = VersionCodes.parse("201000070-191000070"); in testVersionCodes()
302 VersionCodes invalid1 = VersionCodes.parse("abcd-191000070"); in testVersionCodes()
306 VersionCodes invalid2 = VersionCodes.parse("abcd"); in testVersionCodes()
[all …]