Home
last modified time | relevance | path

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

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DXmlReport.java85 for (ApiConstructor constructor : apiClass.getConstructors()) { in printXmlReport()
86 out.println("<constructor name=\"" + constructor.getName() in printXmlReport()
87 + "\" deprecated=\"" + constructor.isDeprecated() in printXmlReport()
88 + "\" covered=\"" + constructor.isCovered() + "\">"); in printXmlReport()
89 if (constructor.isDeprecated()) { in printXmlReport()
90 if (constructor.isCovered()) { in printXmlReport()
95 for (String parameterType : constructor.getParameterTypes()) { in printXmlReport()
DApiClass.java84 public void addConstructor(ApiConstructor constructor) { in addConstructor() argument
85 mApiConstructors.add(constructor); in addConstructor()
128 for (ApiConstructor constructor : mApiConstructors) { in getNumCoveredMethods()
129 if (constructor.isCovered()) { in getNumCoveredMethods()
245 for (ApiConstructor constructor : mApiConstructors) { in getConstructor()
246 if (compareParameterTypes(constructor.getParameterTypes(), parameterTypes)) { in getConstructor()
247 return constructor; in getConstructor()
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()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DJDiffClassDescriptionTest.java106 JDiffClassDescription.JDiffConstructor constructor = in testSimpleConstructor() local
108 clz.addConstructor(constructor); in testSimpleConstructor()
110 assertEquals(constructor.toSignatureString(), "public NormalClass()"); in testSimpleConstructor()
115 JDiffClassDescription.JDiffConstructor constructor = in testOneArgConstructor() local
117 constructor.addParam("java.lang.String"); in testOneArgConstructor()
118 clz.addConstructor(constructor); in testOneArgConstructor()
120 assertEquals(constructor.toSignatureString(), "private NormalClass(java.lang.String)"); in testOneArgConstructor()
125 JDiffClassDescription.JDiffConstructor constructor = in testConstructorThrowsException() local
127 constructor.addParam("java.lang.String"); in testConstructorThrowsException()
128 constructor.addParam("java.lang.String"); in testConstructorThrowsException()
[all …]
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dtest_harness.h226 static void __attribute__((constructor)) _register_##test_name(void) { \
237 static void __attribute__((constructor)) \
285 static void __attribute__((constructor)) \
295 static void __attribute__((constructor)) __constructor_order_last(void) { \
516 static void __attribute__((constructor)) __constructor_order_first(void) { in __constructor_order_first()
/cts/tests/signature/src/android/signature/cts/
DSignatureTest.java193 JDiffConstructor constructor = loadConstructorInfo(parser, currentClass); in start() local
194 currentClass.addConstructor(constructor); in start()
195 currentMethod = constructor; in start()
/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/tests/tests/view/src/android/view/cts/
DViewTest.java170 Constructor<?> constructor = clazz.getConstructor(ctorSignature); in testConstructor2() local
171 constructor.setAccessible(true); in testConstructor2()
172 constructor.newInstance(args); in testConstructor2()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex63258 private static java.lang.reflect.Constructor constructor
72436 static final java.lang.reflect.Constructor constructor