Searched refs:FilterPolicy (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/ |
D | ConstantFilter.kt | 29 policy: FilterPolicy, 32 val classPolicy: FilterPolicy 33 val fieldPolicy: FilterPolicy 34 val methodPolicy: FilterPolicy 51 FilterPolicy.Throw -> FilterPolicy.Keep
|
D | FilterPolicyWithReason.kt | 22 val policy: FilterPolicy, 42 val newPolicy = if (policy.isClassWidePolicy) FilterPolicy.KeepClass else FilterPolicy.Keep in promoteToKeep() 57 val newPolicy = if (policy.isClassWidePolicy) FilterPolicy.KeepClass else FilterPolicy.Keep in demoteToKeep()
|
D | TextFileFilterPolicyParser.kt | 276 private fun parsePolicy(s: String): FilterPolicy { in parsePolicy() 278 "s", "stub" -> FilterPolicy.Stub in parsePolicy() 279 "k", "keep" -> FilterPolicy.Keep in parsePolicy() 280 "t", "throw" -> FilterPolicy.Throw in parsePolicy() 281 "r", "remove" -> FilterPolicy.Remove in parsePolicy() 282 "sc", "stubclass" -> FilterPolicy.StubClass in parsePolicy() 283 "kc", "keepclass" -> FilterPolicy.KeepClass in parsePolicy() 286 FilterPolicy.SubstituteAndStub in parsePolicy() 288 FilterPolicy.SubstituteAndKeep in parsePolicy()
|
D | FilterPolicy.kt | 18 enum class FilterPolicy { class 124 fun getSubstitutionBasePolicy(): FilterPolicy { in getSubstitutionBasePolicy() 135 fun resolveClassWidePolicy(): FilterPolicy { in resolveClassWidePolicy()
|
D | AnnotationBasedFilter.kt | 172 return FilterPolicy.Stub.withReason(reasonAnnotation) in <lambda>() 175 return FilterPolicy.StubClass.withReason(reasonClassAnnotation) in <lambda>() 178 return FilterPolicy.Keep.withReason(reasonAnnotation) in <lambda>() 181 return FilterPolicy.KeepClass.withReason(reasonClassAnnotation) in <lambda>() 184 return FilterPolicy.Throw.withReason(reasonAnnotation) in <lambda>() 187 return FilterPolicy.Remove.withReason(reasonAnnotation) in <lambda>() 207 return FilterPolicy.KeepClass.withReason("HostStubGen Annotation") in <lambda>() 245 return FilterPolicy.Keep.withReason(reasonAnnotation) in <lambda>() 392 FilterPolicy.Remove.withReason("substitute-to") in <lambda>() 397 val newPolicy = if (policy.needsInStub) policy else FilterPolicy.Keep in <lambda>()
|
D | ImplicitOutputFilter.kt | 57 return FilterPolicy.KeepClass.withReason("anonymous-inner-class") in <lambda>() 90 return FilterPolicy.Stub.withReason("private constructor in stub class") in <lambda>() 101 fallback.policy == FilterPolicy.Throw && in <lambda>() 104 return FilterPolicy.Ignore.withReason( in <lambda>()
|
D | ClassWidePolicyPropagatingFilter.kt | 55 if (policy.policy == FilterPolicy.Remove) { in <lambda>() 56 return FilterPolicy.Remove.withReason("class-wide in $currentClass") in <lambda>()
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/ |
D | HostStubGenOptions.kt | 18 import com.android.hoststubgen.filters.FilterPolicy in <lambda>() 102 var defaultPolicy: SetOnce<FilterPolicy> = SetOnce(FilterPolicy.Remove), 185 "--default-remove" -> ret.defaultPolicy.set(FilterPolicy.Remove) in parseArgs() 186 "--default-throw" -> ret.defaultPolicy.set(FilterPolicy.Throw) in parseArgs() 187 "--default-keep" -> ret.defaultPolicy.set(FilterPolicy.Keep) in parseArgs() 188 "--default-stub" -> ret.defaultPolicy.set(FilterPolicy.Stub) in parseArgs()
|
D | HostStubGen.kt | 24 import com.android.hoststubgen.filters.FilterPolicy in <lambda>() 331 if (classPolicy.policy == FilterPolicy.Remove) { in <lambda>()
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/visitors/ |
D | StubGeneratingAdapter.kt | 19 import com.android.hoststubgen.filters.FilterPolicy 37 override fun shouldEmit(policy: FilterPolicy): Boolean { in shouldEmit()
|
D | BaseAdapter.kt | 26 import com.android.hoststubgen.filters.FilterPolicy in <lambda>() 68 protected abstract fun shouldEmit(policy: FilterPolicy): Boolean in <lambda>() 73 protected fun injectInStubAndKeepAnnotations(policy: FilterPolicy, v: UnifiedVisitor) { in <lambda>() 109 if (filter.getPolicyForClass(fullClassName).policy != FilterPolicy.KeepClass) { in <lambda>()
|
D | ImplGeneratingAdapter.kt | 25 import com.android.hoststubgen.filters.FilterPolicy in <lambda>() 48 override fun shouldEmit(policy: FilterPolicy): Boolean { in <lambda>() 196 if (policy.policy == FilterPolicy.Throw) { in <lambda>() 213 if (policy.policy == FilterPolicy.Ignore) { in <lambda>()
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/dumper/ |
D | ApiDumper.kt | 25 import com.android.hoststubgen.filters.FilterPolicy in <lambda>() 47 val javaStandardApiPolicy = FilterPolicy.Stub.withReason("Java standard API") in <lambda>() 124 if (policy.policy == FilterPolicy.Remove) { in <lambda>()
|