Searched refs:VersionCodes (Results 1 – 2 of 2) sorted by relevance
79 static class VersionCodes { class in PerPackageReadTimeouts83 public static final VersionCodes ALL_VERSION_CODES = new VersionCodes(Long.MIN_VALUE,86 private VersionCodes(long minVersionCode, long maxVersionCode) { in VersionCodes() method in PerPackageReadTimeouts.VersionCodes91 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 …]
42 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 …]