Home
last modified time | relevance | path

Searched refs:constructor (Results 1 – 13 of 13) sorted by relevance

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DXmlReport.java87 for (ApiConstructor constructor : apiClass.getConstructors()) { in printXmlReport()
89constructor.getCoveredWith().stream().collect(Collectors.joining(",")); in printXmlReport()
90 out.println("<constructor name=\"" + constructor.getName() in printXmlReport()
91 + "\" deprecated=\"" + constructor.isDeprecated() in printXmlReport()
92 + "\" covered=\"" + constructor.isCovered() in printXmlReport()
95 if (constructor.isDeprecated()) { in printXmlReport()
96 if (constructor.isCovered()) { in printXmlReport()
101 for (String parameterType : constructor.getParameterTypes()) { in printXmlReport()
DTextReport.java60 for (ApiConstructor constructor : constructors) { in printTextReport()
61 printConstructor(constructor, out); in printTextReport()
87 private static void printConstructor(ApiConstructor constructor, PrintStream out) { in printConstructor() argument
89 .append(constructor.isCovered() ? "X" : " ") in printConstructor()
90 .append("] ").append(constructor.getName()).append("("); in printConstructor()
92 List<String> parameterTypes = constructor.getParameterTypes(); in printConstructor()
DApiClass.java84 public void addConstructor(ApiConstructor constructor) { in addConstructor() argument
85 mApiConstructors.add(constructor); in addConstructor()
129 for (ApiConstructor constructor : mApiConstructors) { in getNumCoveredMethods()
130 if (constructor.isCovered()) { in getNumCoveredMethods()
246 for (ApiConstructor constructor : mApiConstructors) { in getConstructor()
247 if (compareParameterTypes(constructor.getParameterTypes(), parameterTypes)) { in getConstructor()
248 return constructor; in getConstructor()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java58 JDiffClassDescription.JDiffConstructor constructor = in testSimpleConstructor() local
60 clz.addConstructor(constructor); in testSimpleConstructor()
62 assertEquals(constructor.toSignatureString(), "public NormalClass()"); in testSimpleConstructor()
67 JDiffClassDescription.JDiffConstructor constructor = in testOneArgConstructor() local
69 constructor.addParam("java.lang.String"); in testOneArgConstructor()
70 clz.addConstructor(constructor); in testOneArgConstructor()
72 assertEquals(constructor.toSignatureString(), "private NormalClass(java.lang.String)"); in testOneArgConstructor()
77 JDiffClassDescription.JDiffConstructor constructor = in testConstructorThrowsException() local
79 constructor.addParam("java.lang.String"); in testConstructorThrowsException()
80 constructor.addParam("java.lang.String"); in testConstructorThrowsException()
[all …]
DAnnotationCheckerTest.java40 … JDiffClassDescription.JDiffConstructor constructor = new JDiffClassDescription.JDiffConstructor( in addConstructor() local
44 constructor.addParam(type); in addConstructor()
47 clz.addConstructor(constructor); in addConstructor()
/cts/tests/signature/src/android/signature/cts/
DApiDocumentParser.java190 JDiffClassDescription.JDiffConstructor constructor = in next() local
192 currentClass.addConstructor(constructor); in next()
193 currentMethod = constructor; in next()
DDexMemberChecker.java144 for (Constructor constructor : klass.getDeclaredConstructors()) { in hasMatchingMethod_Reflection()
145 if (typesMatch(constructor.getParameterTypes(), methodParams)) { in hasMatchingMethod_Reflection()
DReflectionHelper.java461 public static boolean isAnnotatedOrInAnnotatedClass(Constructor<?> constructor, in isAnnotatedOrInAnnotatedClass() argument
466 return constructor.isAnnotationPresent(annotationClass) in isAnnotatedOrInAnnotatedClass()
467 || isInAnnotatedClass(constructor, annotationClass); in isAnnotatedOrInAnnotatedClass()
/cts/tests/tests/renderscript/libcoremathtestcpp/
DCoreMathTestJni.cpp74 jmethodID constructor = env->GetMethodID(mClass, "<init>", "()V"); in JavaStruct() local
75 if (!constructor) { in JavaStruct()
79 mObject = env->NewObject(mClass, constructor); in JavaStruct()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java205 Constructor<?> constructor = clazz.getConstructor(ctorSignature); in testConstructor2() local
206 constructor.setAccessible(true); in testConstructor2()
207 constructor.newInstance(args); in testConstructor2()
/cts/tests/libcore/javautilcollections/libs/
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...