Home
last modified time | relevance | path

Searched refs:classPolicy (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/
DImplicitOutputFilter.kt80 val classPolicy = outermostFilter.getPolicyForClass(className) in <lambda>() constant
84 if (classPolicy.policy.needsInStub && in <lambda>()
109 log.d("Class ${cn.name} Class policy: $classPolicy") in <lambda>()
110 if (classPolicy.policy.needsInImpl) { in <lambda>()
114 val memberPolicy = classPolicy.policy.resolveClassWidePolicy() in <lambda>()
122 return memberPolicy.withReason(classPolicy.reason).wrapReason("is-enum") in <lambda>()
129 return memberPolicy.withReason(classPolicy.reason).wrapReason("is-annotation") in <lambda>()
136 return memberPolicy.withReason(classPolicy.reason).wrapReason( in <lambda>()
152 val classPolicy = outermostFilter.getPolicyForClass(className) in <lambda>() constant
154 log.d("Class ${cn.name} Class policy: $classPolicy") in <lambda>()
[all …]
DConstantFilter.kt32 val classPolicy: FilterPolicy constant
50 classPolicy = when (policy) {
54 fieldPolicy = classPolicy
58 return classPolicy.withReason(reason) in getPolicyForClass()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/
DHostStubGen.kt330 val classPolicy = filter.getPolicyForClass(classInternalName) in <lambda>() constant
331 if (classPolicy.policy == FilterPolicy.Remove) { in <lambda>()
332 log.d("Removing class: %s %s", classInternalName, classPolicy) in <lambda>()
336 if (stubOutStream != null && classPolicy.policy.needsInStub) { in <lambda>()
337 log.v("Creating stub class: %s Policy: %s", classInternalName, classPolicy) in <lambda>()
349 if (implOutStream != null && classPolicy.policy.needsInImpl) { in <lambda>()
350 log.v("Creating impl class: %s Policy: %s", classInternalName, classPolicy) in <lambda>()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/visitors/
DBaseAdapter.kt63 protected lateinit var classPolicy: FilterPolicyWithReason in <lambda>() variable
93 classPolicy = filter.getPolicyForClass(currentClassName) in <lambda>()
119 injectInStubAndKeepAnnotations(classPolicy.policy, UnifiedVisitor.on(this)) in <lambda>()