Home
last modified time | relevance | path

Searched refs:versionString (Results 1 – 4 of 4) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DApiLevelUtil.java76 protected static int resolveVersionString(String versionString) { in resolveVersionString() argument
79 return Integer.parseInt(versionString); in resolveVersionString()
83 Field versionField = VersionCodes.class.getField(versionString.toUpperCase()); in resolveVersionString()
88 Field versionField = Build.VERSION_CODES.class.getField(versionString.toUpperCase()); in resolveVersionString()
92 String.format("Failed to parse version string %s", versionString), e); in resolveVersionString()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DVersion.java61 public static Version parse(String versionString) { in parse() argument
62 if (TextUtils.isEmpty(versionString)) { in parse()
66 Matcher matcher = Pattern.compile(VERSION_PATTERN_STRING).matcher(versionString); in parse()
79 public static boolean isValidVersion(String versionString) { in isValidVersion() argument
80 Matcher matcher = Pattern.compile(VERSION_PATTERN_STRING).matcher(versionString); in isValidVersion()
/cts/hostsidetests/incident/src/com/android/server/cts/
DPackageIncidentTest.java62 final String versionString = matcher.group(3).trim(); in testPackageServiceDump() local
79 assertEquals(testPackage.getVersionString(), versionString); in testPackageServiceDump() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java897 private int parseSystemOsVersion(String versionString) { in parseSystemOsVersion() argument
898 Matcher matcher = OS_VERSION_STRING_PATTERN.matcher(versionString); in parseSystemOsVersion()