Home
last modified time | relevance | path

Searched refs:fromDotVersion (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/
DTypeRewriterTest.kt34 JavaType.fromDotVersion("test.sample.Class") in simpleRewrite_typesMap()
35 to JavaType.fromDotVersion("test.sample2.Class2") in simpleRewrite_typesMap()
46 JavaType.fromDotVersion("test.sample.Class") in prefixAllowedForRewrite()
47 to JavaType.fromDotVersion("test.sample2.Class2") in prefixAllowedForRewrite()
100 JavaType.fromDotVersion("test.sample.Class") in useBothMaps_typesMapHasPriority()
101 to JavaType.fromDotVersion("test.sample2.Class2") in useBothMaps_typesMapHasPriority()
116 JavaType.fromDotVersion("test.sample.Class") in ignoreRule_shouldNotRewrite()
117 to JavaType.fromDotVersion("test.sample2.Class2") in ignoreRule_shouldNotRewrite()
140 val result = rewriter.rewriteType(JavaType.fromDotVersion(from)) in testRewrite()
145 Truth.assertThat(result).isEqualTo(JavaType.fromDotVersion(to)) in testRewrite()
/frameworks/support/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/type/
DJavaTypeTest.kt24 val type = JavaType.fromDotVersion("test.MyClass.FIELD") in javaType_testFromDotVersion()
30 val type = JavaType.fromDotVersion("test.MyClass.FIELD") in javaType_testParent()
37 val type = JavaType.fromDotVersion("test") in javaType_testParent_identity()
44 val type = JavaType.fromDotVersion("test.MyClass\$Inner") in javaType_remapeWithNewRootType()
45 val remapWith = JavaType.fromDotVersion("hello.NewClass") in javaType_remapeWithNewRootType()
DTypesMapTest.kt56 val result = typesMap.mapType(JavaType.fromDotVersion("test.Class")) in typesMap_mapNotFound_returnsNull()
62 .map { JavaType.fromDotVersion(it.first) to JavaType.fromDotVersion(it.second) } in testRewrites()
64 val result = typesMap.mapType(JavaType.fromDotVersion(from)) in testRewrites()
65 Truth.assertThat(result).isEqualTo(JavaType.fromDotVersion(expected)) in testRewrites()
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/
DCoreRemapperImplTest.kt33 JavaType.fromDotVersion("androidx.test.InputConnectionCompat") in remapString_shouldUseFallbackForField()
34 to JavaType.fromDotVersion( in remapString_shouldUseFallbackForField()
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/type/
DPackageName.kt32 fun fromDotVersion(fullName: String): PackageName { in fromDotVersion() method
DJavaType.kt34 fun fromDotVersion(fullName: String): JavaType { in fromDotVersion() method
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/resource/
DXmlResourcesTransformer.kt151 val type = JavaType.fromDotVersion(typeName) in rewriteType()
167 val pckg = PackageName.fromDotVersion(packageName) in rewritePackage()
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/
DCoreRemapperImpl.kt59 val type = JavaType.fromDotVersion(value) in rewriteString()