Home
last modified time | relevance | path

Searched refs:ProGuardType (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/proguard/
DProGuardTypesMap.kt24 data class ProGuardTypesMap(private val rules: Map<ProGuardType, Set<ProGuardType>>) { in <lambda>()
32 private val expandedRules: Map<ProGuardType, Set<ProGuardType>> by lazy { in <lambda>()
33 val expandedMap = mutableMapOf<ProGuardType, Set<ProGuardType>>() in <lambda>()
36 ProGuardType.EXPANSION_TOKENS.forEach { in <lambda>()
46 constructor(vararg rules: Pair<ProGuardType, ProGuardType>) in <lambda>()
54 fun mapType(type: ProGuardType): Set<ProGuardType>? { in <lambda>()
66 .map { ProGuardType(it.key) to it.value.map { ProGuardType(it) }.toSet() } in <lambda>()
76 val reversed = mutableMapOf<ProGuardType, ProGuardType>() in <lambda>()
DProGuardType.kt29 data class ProGuardType(val value: String) { class
37 fun fromDotNotation(type: String): ProGuardType { in fromDotNotation()
38 return ProGuardType(type.replace('.', '/')) in fromDotNotation()
64 fun expandWith(token: String): ProGuardType { in expandWith()
65 return ProGuardType(value.replace("{any}", token)) in expandWith()
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/
DProGuardTester.kt20 import com.android.tools.build.jetifier.core.proguard.ProGuardType
39 private var proGuardTypes = emptyList<Pair<ProGuardType, Set<ProGuardType>>>()
63 ProGuardType.fromDotNotation(it.first) to it.second.map { in forGivenProGuardMapSet()
64 ProGuardType.fromDotNotation(it) } in forGivenProGuardMapSet()
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/
DProGuardTypesMapper.kt19 import com.android.tools.build.jetifier.core.proguard.ProGuardType in <lambda>()
43 val type = ProGuardType.fromDotNotation(typeToReplace) in <lambda>()
72 val strippedType = ProGuardType.fromDotNotation(typeToReplace.removeSuffix(innerSuffix)) in <lambda>()
122 private fun tryResolveWildcardsAndRemapAndSimplify(typeToReplace: ProGuardType): Set<String>? { in <lambda>()
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/rule/
DRewriteRule.kt19 import com.android.tools.build.jetifier.core.proguard.ProGuardType
97 fun doesThisIgnoreProGuard(type: ProGuardType): Boolean { in doesThisIgnoreProGuard()
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/type/
DTypesMap.kt19 import com.android.tools.build.jetifier.core.proguard.ProGuardType
106 fun matchOldProguardForNewTypes(proGuardSelector: ProGuardType): Set<JavaType> { in matchOldProguardForNewTypes()
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/config/
DConfig.kt22 import com.android.tools.build.jetifier.core.proguard.ProGuardType
147 fun isEligibleForRewrite(type: ProGuardType): Boolean { in isEligibleForRewrite()