Searched refs:withReason (Results 1 – 8 of 8) sorted by relevance
57 return FilterPolicy.KeepClass.withReason("anonymous-inner-class") in <lambda>()90 return FilterPolicy.Stub.withReason("private constructor in stub class") in <lambda>()104 return FilterPolicy.Ignore.withReason( 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>()165 return memberPolicy.withReason(classPolicy.reason).wrapReason("enum") in <lambda>()172 return memberPolicy.withReason(classPolicy.reason).wrapReason("annotation") in <lambda>()
140 className, policy.withReason(FILTER_REASON) in createFilterFromTextPolicyFile()144 policy.withReason("extends $superClass")) in createFilterFromTextPolicyFile()152 aidlPolicy = policy.withReason( in createFilterFromTextPolicyFile()160 featureFlagsPolicy = policy.withReason( in createFilterFromTextPolicyFile()168 syspropsPolicy = policy.withReason( in createFilterFromTextPolicyFile()176 rFilePolicy = policy.withReason( in createFilterFromTextPolicyFile()195 imf.setPolicyForField(className, name, policy.withReason(FILTER_REASON)) in createFilterFromTextPolicyFile()213 policy.withReason(FILTER_REASON)) in createFilterFromTextPolicyFile()225 .withReason(FILTER_REASON)) in createFilterFromTextPolicyFile()
58 return classPolicy.withReason(reason) in getPolicyForClass()62 return fieldPolicy.withReason(reason) in getPolicyForField()70 return methodPolicy.withReason(reason) in getPolicyForMethod()
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>()400 newPolicy.withReason("substitute-from") in <lambda>()
51 return p.withReason(policy.reason) in <lambda>()56 return FilterPolicy.Remove.withReason("class-wide in $currentClass") in <lambda>()
146 fun withReason(reason: String): FilterPolicyWithReason { in withReason() method in com.android.hoststubgen.filters.FilterPolicy
172 withReason( in <lambda>()180 private fun withReason( in <lambda>() method228 @Test fun showUdfpsOverlay_bp() = withReason(REASON_AUTH_BP) { showUdfpsOverlay() } in <lambda>()232 withReason(REASON_AUTH_KEYGUARD) { in <lambda>()237 @Test fun showUdfpsOverlay_other() = withReason(REASON_AUTH_OTHER) { showUdfpsOverlay() } in <lambda>()258 withReason(REASON_AUTH_BP) { in <lambda>()275 withReason(REASON_AUTH_BP) { in <lambda>()292 withReason(REASON_AUTH_BP) { in <lambda>()309 withReason(REASON_AUTH_BP) { in <lambda>()326 withReason(REASON_AUTH_KEYGUARD) { in <lambda>()[all …]
47 val javaStandardApiPolicy = FilterPolicy.Stub.withReason("Java standard API") in <lambda>()