Home
last modified time | relevance | path

Searched refs:JavaVersion (Results 1 – 25 of 116) sorted by relevance

12345

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DJavaVersionTest.java24 JavaVersion v; in should_parse_values_of_java_version_property()
26 v = new JavaVersion("1.8.0_162"); in should_parse_values_of_java_version_property()
30 v = new JavaVersion("1.8.0_172-ea"); in should_parse_values_of_java_version_property()
34 v = new JavaVersion("9"); in should_parse_values_of_java_version_property()
38 v = new JavaVersion("9.0.1"); in should_parse_values_of_java_version_property()
42 v = new JavaVersion("10-ea"); in should_parse_values_of_java_version_property()
49 assertTrue(new JavaVersion("1.7.0_80").isBefore("1.8.0_92")); in should_compare_with_given_version()
51 assertTrue(new JavaVersion("1.8.0_31").isBefore("1.8.0_92")); in should_compare_with_given_version()
53 assertFalse(new JavaVersion("1.8.0_92").isBefore("1.8.0_92")); in should_compare_with_given_version()
55 assertFalse(new JavaVersion("1.8.0_162").isBefore("1.8.0_92")); in should_compare_with_given_version()
[all …]
DJavaVersion.java17 public final class JavaVersion { class
28 JavaVersion(final String javaVersionPropertyValue) { in JavaVersion() method in JavaVersion
61 final JavaVersion other = new JavaVersion(version); in isBefore()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DJavaVersionTest.java8 import org.robolectric.util.JavaVersion;
44 assertThat(new JavaVersion(v1).compareTo(new JavaVersion(v2))).isLessThan(0); in check()
48 assertThat(new JavaVersion(v1).compareTo(new JavaVersion(v2))).isEqualTo(0); in checkEqual()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvokeDynamic.java3 import org.robolectric.util.JavaVersion;
19 JavaVersion javaVersion = new JavaVersion(System.getProperty("java.version")); in useInvokeDynamic()
20 return javaVersion.compareTo(new JavaVersion(INVOKEDYNAMIC_MINIMUM_VERSION)) >= 0; in useInvokeDynamic()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/util/
DJavaVersion.java7 public class JavaVersion implements Comparable<JavaVersion> { class
10 public JavaVersion(String version) { in JavaVersion() method in JavaVersion
18 @Override public int compareTo(JavaVersion o) { in compareTo()
/external/guava/android/guava/src/com/google/common/reflect/
DTypes.java61 return JavaVersion.CURRENT.typeName(from);
81 return JavaVersion.CURRENT.newArrayType(componentType); in newArrayType()
231 this.componentType = JavaVersion.CURRENT.usedInGenericType(componentType); in GenericArrayTypeImpl()
273 this.argumentsList = JavaVersion.CURRENT.usedInGenericType(typeArguments); in ParameterizedTypeImpl()
294 if (ownerType != null && JavaVersion.CURRENT.jdkTypeDuplicatesOwnerName()) { in toString()
295 builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.'); in toString()
478 this.lowerBounds = JavaVersion.CURRENT.usedInGenericType(lowerBounds); in WildcardTypeImpl()
479 this.upperBounds = JavaVersion.CURRENT.usedInGenericType(upperBounds); in WildcardTypeImpl()
511 builder.append(" super ").append(JavaVersion.CURRENT.typeName(lowerBound)); in toString()
514 builder.append(" extends ").append(JavaVersion.CURRENT.typeName(upperBound)); in toString()
[all …]
/external/guava/guava/src/com/google/common/reflect/
DTypes.java61 return JavaVersion.CURRENT.typeName(from);
81 return JavaVersion.CURRENT.newArrayType(componentType); in newArrayType()
228 this.componentType = JavaVersion.CURRENT.usedInGenericType(componentType); in GenericArrayTypeImpl()
270 this.argumentsList = JavaVersion.CURRENT.usedInGenericType(typeArguments); in ParameterizedTypeImpl()
291 if (ownerType != null && JavaVersion.CURRENT.jdkTypeDuplicatesOwnerName()) { in toString()
292 builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.'); in toString()
475 this.lowerBounds = JavaVersion.CURRENT.usedInGenericType(lowerBounds); in WildcardTypeImpl()
476 this.upperBounds = JavaVersion.CURRENT.usedInGenericType(upperBounds); in WildcardTypeImpl()
508 builder.append(" super ").append(JavaVersion.CURRENT.typeName(lowerBound)); in toString()
511 builder.append(" extends ").append(JavaVersion.CURRENT.typeName(upperBound)); in toString()
[all …]
/external/crcalc/
Dbuild.gradle3 sourceCompatibility = JavaVersion.VERSION_1_7
4 targetCompatibility = JavaVersion.VERSION_1_7
/external/kotlinx.coroutines/buildSrc/src/main/kotlin/
Djdk-convention.gradle.kts1 import org.gradle.api.JavaVersion
3 if (!JavaVersion.current().isJava11Compatible) {
/external/dagger2/javatests/artifacts/hilt-android/simple/deep-lib/
Dbuild.gradle6 sourceCompatibility = JavaVersion.VERSION_1_7
7 targetCompatibility = JavaVersion.VERSION_1_7
/external/dagger2/java/dagger/hilt/android/plugin/src/test/data/java-libraryB/
Dbuild.gradle6 sourceCompatibility = JavaVersion.VERSION_1_8
7 targetCompatibility = JavaVersion.VERSION_1_8
/external/dagger2/java/dagger/hilt/android/plugin/src/test/data/java-libraryA/
Dbuild.gradle6 sourceCompatibility = JavaVersion.VERSION_1_8
7 targetCompatibility = JavaVersion.VERSION_1_8
/external/conscrypt/benchmark-graphs/
Dbuild.gradle9 sourceCompatibility = JavaVersion.VERSION_1_8
10 targetCompatibility = JavaVersion.VERSION_1_8
/external/dagger2/javatests/artifacts/hilt-android/simpleKotlin/deep-kotlin-lib/
Dbuild.gradle8 sourceCompatibility = JavaVersion.VERSION_1_8
9 targetCompatibility = JavaVersion.VERSION_1_8
/external/connectedappssdk/tests/shared/app/
Dbuild.gradle25 sourceCompatibility JavaVersion.VERSION_1_8
26 targetCompatibility JavaVersion.VERSION_1_8
/external/dagger2/javatests/artifacts/hilt-android/simpleKotlin/kotlin-library/
Dbuild.gradle8 sourceCompatibility = JavaVersion.VERSION_1_8
9 targetCompatibility = JavaVersion.VERSION_1_8
/external/connectedappssdk/annotations/
Dbuild.gradle27 sourceCompatibility = JavaVersion.VERSION_1_8
28 targetCompatibility = JavaVersion.VERSION_1_8
/external/connectedappssdk/testing/annotations/
Dbuild.gradle27 sourceCompatibility = JavaVersion.VERSION_1_8
28 targetCompatibility = JavaVersion.VERSION_1_8
/external/skia/platform_tools/android/apps/AndroidKit/
Dbuild.gradle21 sourceCompatibility JavaVersion.VERSION_1_8
22 targetCompatibility JavaVersion.VERSION_1_8
/external/dagger2/javatests/artifacts/hilt-android/simpleKotlin/android-library/
Dbuild.gradle18 sourceCompatibility JavaVersion.VERSION_1_8
19 targetCompatibility JavaVersion.VERSION_1_8
/external/skia/platform_tools/android/apps/androidkitdemo/
Dbuild.gradle24 sourceCompatibility JavaVersion.VERSION_1_8
25 targetCompatibility JavaVersion.VERSION_1_8
/external/connectedappssdk/tests/shared/crossuser/
Dbuild.gradle27 sourceCompatibility JavaVersion.VERSION_1_8
28 targetCompatibility JavaVersion.VERSION_1_8
/external/kotlinx.coroutines/benchmarks/
Dbuild.gradle.kts21 sourceCompatibility = JavaVersion.VERSION_1_8 in <lambda>()
22 targetCompatibility = JavaVersion.VERSION_1_8 in <lambda>()
/external/connectedappssdk/testing/sdk/
Dbuild.gradle47 sourceCompatibility JavaVersion.VERSION_1_8
48 targetCompatibility JavaVersion.VERSION_1_8
/external/connectedappssdk/processor/
Dbuild.gradle39 sourceCompatibility = JavaVersion.VERSION_1_8
40 targetCompatibility = JavaVersion.VERSION_1_8

12345