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/common/device-side/util/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/hostsidetests/incident/src/com/android/server/cts/
DPackageIncidentTest.java61 final String versionString = matcher.group(3).trim(); in testPackageServiceDump() local
77 assertEquals(testPackage.getVersionString(), versionString); in testPackageServiceDump() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java551 private int parseSystemOsVersion(String versionString) { in parseSystemOsVersion() argument
552 Matcher matcher = OS_VERSION_STRING_PATTERN.matcher(versionString); in parseSystemOsVersion()