Home
last modified time | relevance | path

Searched refs:FilterPolicyWithReason (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/
DFilterPolicyWithReason.kt21 data class FilterPolicyWithReason ( class
29 fun wrapReason(reason: String): FilterPolicyWithReason { in wrapReason()
30 return FilterPolicyWithReason(policy, "$reason [inner-reason: ${this.reason}]") in wrapReason()
38 fun promoteToKeep(promotionReason: String): FilterPolicyWithReason { in promoteToKeep()
44 return FilterPolicyWithReason(newPolicy, in promoteToKeep()
53 fun demoteToKeep(promotionReason: String): FilterPolicyWithReason { in demoteToKeep()
59 return FilterPolicyWithReason(newPolicy, in demoteToKeep()
DAndroidHeuristicsFilter.kt25 val aidlPolicy: FilterPolicyWithReason?,
26 val featureFlagsPolicy: FilterPolicyWithReason?,
27 val syspropsPolicy: FilterPolicyWithReason?,
28 val rFilePolicy: FilterPolicyWithReason?,
31 override fun getPolicyForClass(className: String): FilterPolicyWithReason { in getPolicyForClass()
DStubIntersectingFilter.kt55 origPolicy: FilterPolicyWithReason, in <lambda>()
57 ): FilterPolicyWithReason { in <lambda>()
67 override fun getPolicyForClass(className: String): FilterPolicyWithReason { in <lambda>()
76 ): FilterPolicyWithReason { in <lambda>()
86 ): FilterPolicyWithReason { in <lambda>()
DSubclassFilter.kt31 private val mPolicies: MutableMap<String, FilterPolicyWithReason> = mutableMapOf() in <lambda>()
36 fun addPolicy(superClassName: String, policy: FilterPolicyWithReason) { in <lambda>()
40 override fun getPolicyForClass(className: String): FilterPolicyWithReason { in <lambda>()
47 private fun findPolicyForClass(className: String): FilterPolicyWithReason? { in <lambda>()
DInMemoryOutputFilter.kt30 private val mPolicies: MutableMap<String, FilterPolicyWithReason> = mutableMapOf()
47 override fun getPolicyForClass(className: String): FilterPolicyWithReason { in getPolicyForClass()
73 fun setPolicyForClass(className: String, policy: FilterPolicyWithReason) { in setPolicyForClass()
78 override fun getPolicyForField(className: String, fieldName: String): FilterPolicyWithReason { in getPolicyForField()
83 fun setPolicyForField(className: String, fieldName: String, policy: FilterPolicyWithReason) { in setPolicyForField()
92 ): FilterPolicyWithReason { in getPolicyForMethod()
101 policy: FilterPolicyWithReason, in setPolicyForMethod()
DClassWidePolicyPropagatingFilter.kt30 private fun getClassWidePolicy(className: String, resolve: Boolean): FilterPolicyWithReason? { in <lambda>()
70 override fun getPolicyForClass(className: String): FilterPolicyWithReason { in <lambda>()
84 ): FilterPolicyWithReason { in <lambda>()
93 ): FilterPolicyWithReason { in <lambda>()
DOutputFilter.kt43 abstract fun getPolicyForClass(className: String): FilterPolicyWithReason in getPolicyForClass()
45 abstract fun getPolicyForField(className: String, fieldName: String): FilterPolicyWithReason in getPolicyForClass()
51 ): FilterPolicyWithReason in getPolicyForClass()
DConstantFilter.kt57 override fun getPolicyForClass(className: String): FilterPolicyWithReason { in getPolicyForClass()
61 override fun getPolicyForField(className: String, fieldName: String): FilterPolicyWithReason { in getPolicyForField()
69 ): FilterPolicyWithReason { in getPolicyForMethod()
DDelegatingFilter.kt48 override fun getPolicyForClass(className: String): FilterPolicyWithReason { in getPolicyForClass()
55 ): FilterPolicyWithReason { in getPolicyForField()
63 ): FilterPolicyWithReason { in getPolicyForMethod()
DImplicitOutputFilter.kt45 private fun getClassImplicitPolicy(className: String, cn: ClassNode): FilterPolicyWithReason? { in <lambda>()
63 override fun getPolicyForClass(className: String): FilterPolicyWithReason { in <lambda>()
78 ): FilterPolicyWithReason { in <lambda>()
148 ): FilterPolicyWithReason { in <lambda>()
DFilterPolicy.kt146 fun withReason(reason: String): FilterPolicyWithReason { in withReason()
147 return FilterPolicyWithReason(this, reason) in withReason()
DTextFileFilterPolicyParser.kt71 var aidlPolicy: FilterPolicyWithReason? = null in createFilterFromTextPolicyFile()
72 var featureFlagsPolicy: FilterPolicyWithReason? = null in createFilterFromTextPolicyFile()
73 var syspropsPolicy: FilterPolicyWithReason? = null in createFilterFromTextPolicyFile()
74 var rFilePolicy: FilterPolicyWithReason? = null in createFilterFromTextPolicyFile()
DAnnotationBasedFilter.kt168 ): FilterPolicyWithReason? { in <lambda>()
193 override fun getPolicyForClass(className: String): FilterPolicyWithReason { in <lambda>()
216 ): FilterPolicyWithReason { in <lambda>()
239 ): FilterPolicyWithReason { in <lambda>()
318 private var policiesFromSubstitution = mutableMapOf<MethodKey, FilterPolicyWithReason>() in <lambda>()
322 FilterPolicyWithReason? { in <lambda>()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/visitors/
DStubGeneratingAdapter.kt20 import com.android.hoststubgen.filters.FilterPolicyWithReason
47 policy: FilterPolicyWithReason, in visitMethodInner()
DBaseAdapter.kt27 import com.android.hoststubgen.filters.FilterPolicyWithReason in <lambda>()
63 protected lateinit var classPolicy: FilterPolicyWithReason in <lambda>()
255 policy: FilterPolicyWithReason, in <lambda>()
DImplGeneratingAdapter.kt26 import com.android.hoststubgen.filters.FilterPolicyWithReason in <lambda>()
140 policy: FilterPolicyWithReason, in <lambda>()
238 policy: FilterPolicyWithReason, in <lambda>()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/
DHostStubGenStats.kt20 import com.android.hoststubgen.filters.FilterPolicyWithReason in <lambda>()
45 policy: FilterPolicyWithReason, in <lambda>()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/dumper/
DApiDumper.kt26 import com.android.hoststubgen.filters.FilterPolicyWithReason in <lambda>()
71 policy: FilterPolicyWithReason, in <lambda>()