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.java130 protected static int resolveVersionString(String versionString) { in resolveVersionString() argument
133 return Integer.parseInt(versionString); in resolveVersionString()
137 Field versionField = VersionCodes.class.getField(versionString.toUpperCase()); in resolveVersionString()
142 Field versionField = Build.VERSION_CODES.class.getField(versionString.toUpperCase()); in resolveVersionString()
146 String.format("Failed to parse version string %s", versionString), e); in resolveVersionString()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/extensions/util/
DVersion.java63 public static Version parse(String versionString) { in parse() argument
64 if (TextUtils.isEmpty(versionString)) { in parse()
68 Matcher matcher = Pattern.compile(VERSION_PATTERN_STRING).matcher(versionString); in parse()
81 public static boolean isValidVersion(String versionString) { in isValidVersion() argument
82 Matcher matcher = Pattern.compile(VERSION_PATTERN_STRING).matcher(versionString); in isValidVersion()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DImmersiveAudioActivity.java169 private int convertVersion(String versionString) { in convertVersion() argument
170 if (versionString == null) { in convertVersion()
176 String[] parts = versionString.split("\\."); in convertVersion()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java1378 private int parseSystemOsVersion(String versionString) { in parseSystemOsVersion() argument
1379 Matcher matcher = OS_VERSION_STRING_PATTERN.matcher(versionString); in parseSystemOsVersion()