Home
last modified time | relevance | path

Searched refs:resultObserver (Results 1 – 10 of 10) sorted by relevance

/cts/tests/signature/lib/common/src/android/signature/cts/
DAbstractApiChecker.java32 final ResultObserver resultObserver; field in AbstractApiChecker
36 AbstractApiChecker(ClassProvider classProvider, ResultObserver resultObserver) { in AbstractApiChecker() argument
38 this.resultObserver = resultObserver; in AbstractApiChecker()
69 resultObserver.notifyFailure(FailureType.missing(classDescription), in checkClassCompliance()
84 resultObserver.notifyFailure( in checkClassCompliance()
136 resultObserver.notifyFailure(FailureType.MISSING_FIELD, in checkFieldsCompliance()
145 resultObserver.notifyFailure( in checkFieldsCompliance()
198 resultObserver.notifyFailure(FailureType.MISSING_CONSTRUCTOR, in checkConstructorCompliance()
213 resultObserver.notifyFailure(FailureType.CAUGHT_EXCEPTION, in checkConstructorCompliance()
239 resultObserver.notifyFailure(FailureType.MISSING_METHOD, in checkMethodCompliance()
[all …]
DAnnotationChecker.java43 ResultObserver resultObserver, ClassProvider classProvider, String annotationSpec) { in AnnotationChecker() argument
44 super(classProvider, resultObserver); in AnnotationChecker()
70 resultObserver.notifyFailure(FailureType.EXTRA_CLASS, clazz.getName(), in checkDeferred()
76 resultObserver.notifyFailure(FailureType.EXTRA_METHOD, c.toString(), in checkDeferred()
83 resultObserver.notifyFailure(FailureType.EXTRA_METHOD, m.toString(), in checkDeferred()
90 resultObserver.notifyFailure(FailureType.EXTRA_FIELD, f.toString(), in checkDeferred()
120 resultObserver.notifyFailure(FailureType.MISSING_ANNOTATION, in checkField()
141 resultObserver.notifyFailure(FailureType.MISSING_ANNOTATION, in checkConstructor()
161 resultObserver.notifyFailure(FailureType.MISSING_ANNOTATION, in checkMethod()
DApiComplianceChecker.java71 public ApiComplianceChecker(ResultObserver resultObserver, ClassProvider classProvider) { in ApiComplianceChecker() argument
72 super(classProvider, resultObserver); in ApiComplianceChecker()
73 interfaceChecker = new InterfaceChecker(resultObserver, classProvider); in ApiComplianceChecker()
90 resultObserver.notifyFailure(FailureType.mismatch(classDescription), in checkClass()
98 resultObserver.notifyFailure(FailureType.mismatch(classDescription), in checkClass()
106 resultObserver.notifyFailure(FailureType.mismatch(classDescription), in checkClass()
114 resultObserver.notifyFailure(FailureType.mismatch(classDescription), in checkClass()
268 resultObserver.notifyFailure(FailureType.MISMATCH_FIELD, in checkField()
279 resultObserver.notifyFailure( in checkField()
288 resultObserver.notifyFailure(FailureType.MISMATCH_FIELD, in checkField()
[all …]
DInterfaceChecker.java67 private final ResultObserver resultObserver; field in InterfaceChecker
74 InterfaceChecker(ResultObserver resultObserver, ClassProvider classProvider) { in InterfaceChecker() argument
75 this.resultObserver = resultObserver; in InterfaceChecker()
85 resultObserver.notifyFailure(FailureType.MISMATCH_INTERFACE_METHOD, in checkQueued()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DHiddenApiTest.java85 runWithTestResultObserver(resultObserver -> { in doTestSignature()
94 synchronized(resultObserver) { in doTestSignature()
95 resultObserver.notifyFailure( in doTestSignature()
106 synchronized(resultObserver) { in doTestSignature()
107 resultObserver.notifyFailure( in doTestSignature()
118 synchronized(resultObserver) { in doTestSignature()
119 resultObserver.notifyFailure( in doTestSignature()
130 synchronized(resultObserver) { in doTestSignature()
131 resultObserver.notifyFailure( in doTestSignature()
DBaseKillswitchTest.java73 runWithTestResultObserver(resultObserver -> { in doTestKillswitchMechanism()
78 resultObserver.notifyFailure( in doTestKillswitchMechanism()
89 resultObserver.notifyFailure( in doTestKillswitchMechanism()
100 resultObserver.notifyFailure( in doTestKillswitchMechanism()
116 resultObserver.notifyFailure( in doTestKillswitchMechanism()
127 resultObserver.notifyFailure( in doTestKillswitchMechanism()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DAbstractApiCheckerTest.java65 ResultObserver resultObserver = new NoFailures(); in checkSignatureCompliance() local
66 checkSignatureCompliance(classDescription, resultObserver, in checkSignatureCompliance()
71 ResultObserver resultObserver, String... excludedRuntimeClasses) { in checkSignatureCompliance() argument
72 runWithApiChecker(resultObserver, in checkSignatureCompliance()
78 ResultObserver resultObserver, Consumer<T> consumer, String... excludedRuntimeClasses) { in runWithApiChecker() argument
80 T checker = createChecker(resultObserver, provider); in runWithApiChecker()
85 protected abstract T createChecker(ResultObserver resultObserver, ClassProvider provider); in createChecker() argument
DAnnotationCheckerTest.java38 protected AnnotationChecker createChecker(ResultObserver resultObserver, in createChecker() argument
40 return new AnnotationChecker(resultObserver, provider, in createChecker()
DApiComplianceCheckerTest.java44 protected ApiComplianceChecker createChecker(ResultObserver resultObserver, in createChecker() argument
46 return new ApiComplianceChecker(resultObserver, provider); in createChecker()
/cts/tests/signature/api-check/system-annotation/src/java/android/signature/cts/api/
DAnnotationTest.java50 runWithTestResultObserver(resultObserver -> { in testAnnotation()
51 AnnotationChecker complianceChecker = new AnnotationChecker(resultObserver, in testAnnotation()