Searched refs:runtimeClass (Results 1 – 5 of 5) sorted by relevance
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ApiPresenceChecker.java | 47 Class<?> runtimeClass = checkClassCompliance(classDescription); in checkSignatureCompliance() local 48 if (runtimeClass != null) { in checkSignatureCompliance() 49 checkFieldsCompliance(classDescription, runtimeClass); in checkSignatureCompliance() 50 checkConstructorCompliance(classDescription, runtimeClass); in checkSignatureCompliance() 51 checkMethodCompliance(classDescription, runtimeClass); in checkSignatureCompliance() 63 Class<?> runtimeClass = ReflectionHelper in checkClassCompliance() local 66 if (runtimeClass == null) { in checkClassCompliance() 74 if (!checkClass(classDescription, runtimeClass)) { in checkClassCompliance() 78 return runtimeClass; in checkClassCompliance() 100 Class<?> runtimeClass) { in checkClass() argument [all …]
|
D | ApiComplianceChecker.java | 111 protected boolean checkClass(JDiffClassDescription classDescription, Class<?> runtimeClass) { in checkClass() argument 114 interfaceChecker.queueForDeferredCheck(classDescription, runtimeClass); in checkClass() 118 if ((reason = checkClassModifiersCompliance(classDescription, runtimeClass)) != null) { in checkClass() 126 if (!checkClassAnnotationCompliance(classDescription, runtimeClass)) { in checkClass() 132 if (!runtimeClass.isAnnotation()) { in checkClass() 134 if (!checkClassExtendsCompliance(classDescription, runtimeClass)) { in checkClass() 142 if (!checkClassImplementsCompliance(classDescription, runtimeClass)) { in checkClass() 246 Class<?> runtimeClass) { in checkClassModifiersCompliance() argument 247 int reflectionModifiers = runtimeClass.getModifiers(); in checkClassModifiersCompliance() 259 if (runtimeClass.isInterface()) { in checkClassModifiersCompliance() [all …]
|
D | InterfaceChecker.java | 109 Class<?> runtimeClass = entry.getKey(); in checkQueued() local 119 List<Method> methods = checkInterfaceMethodCompliance(classDescription, runtimeClass); in checkQueued() 141 JDiffClassDescription classDescription, Class<?> runtimeClass) { in checkInterfaceMethodCompliance() argument 143 return Stream.of(runtimeClass.getDeclaredMethods()) in checkInterfaceMethodCompliance() 181 void queueForDeferredCheck(JDiffClassDescription classDescription, Class<?> runtimeClass) { in queueForDeferredCheck() argument 182 JDiffClassDescription existingDescription = class2Description.get(runtimeClass); in queueForDeferredCheck() 188 class2Description.put(runtimeClass, classDescription); in queueForDeferredCheck()
|
D | AnnotationChecker.java | 119 protected boolean checkClass(JDiffClassDescription classDescription, Class<?> runtimeClass) { in checkClass() argument 121 annotatedClassesMap.remove(runtimeClass.getName()); in checkClass() 126 protected void checkField(JDiffClassDescription classDescription, Class<?> runtimeClass, in checkField() argument 136 Set<Field> annotatedFields = annotatedFieldsMap.get(runtimeClass.getName()); in checkField() 143 protected void checkConstructor(JDiffClassDescription classDescription, Class<?> runtimeClass, in checkConstructor() argument 146 .get(runtimeClass.getName()); in checkConstructor() 164 protected void checkMethod(JDiffClassDescription classDescription, Class<?> runtimeClass, in checkMethod() argument 177 Set<Method> annotatedMethods = annotatedMethodsMap.get(runtimeClass.getName()); in checkMethod()
|
D | ReflectionHelper.java | 139 static Constructor<?> findMatchingConstructor(Class<?> runtimeClass, in findMatchingConstructor() argument 143 return findMatchingConstructorImpl(runtimeClass, jdiffDes, mismatchReasons); in findMatchingConstructor() 145 LogHelper.loge(TAG + ": Could not retrieve constructors of " + runtimeClass, e); in findMatchingConstructor() 150 static Constructor<?> findMatchingConstructorImpl(Class<?> runtimeClass, in findMatchingConstructorImpl() argument 152 for (Constructor<?> c : runtimeClass.getDeclaredConstructors()) { in findMatchingConstructorImpl() 154 boolean isStaticClass = ((runtimeClass.getModifiers() & Modifier.STATIC) != 0); in findMatchingConstructorImpl() 161 if (runtimeClass.isMemberClass() && !isStaticClass && params.length >= 1) { in findMatchingConstructorImpl() 247 Class<?> runtimeClass, JDiffMethod method, Map<Method, String> mismatchReasons) { in findMatchingMethod() argument 249 return findMatchingMethodImpl(runtimeClass, method, mismatchReasons); in findMatchingMethod() 251 LogHelper.loge(TAG + ": Could not retrieve methods of " + runtimeClass, e); in findMatchingMethod() [all …]
|