Home
last modified time | relevance | path

Searched refs:constructor (Results 1 – 15 of 15) 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()
236 for (ApiConstructor constructor : mApiConstructors) { in getConstructor()
237 if (compareParameterTypes(constructor.getParameterTypes(), parameterTypes)) { in getConstructor()
238 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/tools/signature-tools/test/signature/converter/
DConvertClassTest.java359 IConstructor constructor = sigClass.getConstructors().iterator().next(); in convertConstructor0() local
360 assertTrue(constructor.getModifiers().contains(Modifier.PUBLIC)); in convertConstructor0()
370 IConstructor constructor = sigClass.getConstructors().iterator().next(); in convertConstructor1a() local
371 assertTrue(constructor.getModifiers().contains(Modifier.PUBLIC)); in convertConstructor1a()
381 IConstructor constructor = sigClass.getConstructors().iterator().next(); in convertConstructor1b() local
382 assertTrue(constructor.getModifiers().contains(Modifier.PROTECTED)); in convertConstructor1b()
410 IConstructor constructor = sigClass.getConstructors().iterator().next(); in convertConstructorWithException() local
411 assertTrue(constructor.getModifiers().contains(Modifier.PUBLIC)); in convertConstructorWithException()
412 assertEquals(1, constructor.getExceptions().size()); in convertConstructorWithException()
413 IClassReference exception = (IClassReference) constructor.getExceptions().iterator().next(); in convertConstructorWithException()
[all …]
/cts/tools/signature-tools/src/signature/converter/dex/
DDexToSigConverter.java364 for (SigConstructor constructor : constructors) { in convertClass()
365 constructor.setDeclaringClass(sigClass); in convertClass()
602 SigConstructor constructor = new SigConstructor(declaringClassName); in convertConstructor() local
603 constructor.setModifiers(getModifier(dexMethod.getModifiers())); in convertConstructor()
610 constructor.setDeclaringClass(declaringClass); in convertConstructor()
613 constructor.setAnnotations(convertAnnotations(dexMethod in convertConstructor()
619 parser.parseForConstructor(constructor, in convertConstructor()
623 constructor.setTypeParameters(parser.formalTypeParameters); in convertConstructor()
640 constructor.setParameters(parameters); in convertConstructor()
643 constructor.setExceptions(new HashSet<ITypeReference>( in convertConstructor()
[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/suite/cts/deviceTests/browserbench/assets/octane/js/
Dbootstrap-collapse.js42 constructor: Collapse property in Collapse
Djquery.js84 constructor: jQuery,
178 return this.constructor( context ).find( selector );
229 var ret = this.constructor();
297 return this.prevObject || this.constructor(null);
511 if ( obj.constructor &&
513 !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
863 jQuerySub.fn.constructor = jQuerySub;
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletToSigConverter.java179 for (ConstructorDoc constructor : classDoc.constructors()) { in convertClass()
180 constructors.add(convertConstructor(constructor)); in convertClass()
513 private IConstructor convertConstructor(ConstructorDoc constructor) { in convertConstructor() argument
514 SigConstructor c = new SigConstructor(constructor.name()); in convertConstructor()
516 convertExecutableMember(constructor, c); in convertConstructor()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbox2d.js22 …it=function(y,w){K.prototype=w.prototype;y.prototype=new K;y.prototype.constructor=y};F.generateCa… method in y
23 …w instanceof Function&&y instanceof w)return true;if(y.constructor.__implements!=G&&y.constructor.…
25constructor===K&&this.b2BoundValues.apply(this,arguments)}function y(){y.b2Collision.apply(this,ar…
26constructor===V&&this.b2DynamicTree.apply(this,arguments)}function M(){M.b2DynamicTreeBroadPhase.a…
27constructor===Y&&this.b2ManifoldPoint.apply(this,arguments)}function k(){k.b2Point.apply(this,argu…
28 …arguments)}function aa(){aa.b2WorldManifold.apply(this,arguments);this.constructor===aa&&this.b2Wo…
29constructor===h&&this.b2CircleShape.apply(this,arguments)}function l(){l.b2EdgeChainDef.apply(this…
30constructor===a&&this.b2Color.apply(this,arguments)}function c(){c.b2Settings.apply(this,arguments…
31constructor===m&&this.b2Transform.apply(this,arguments)}function r(){r.b2Vec2.apply(this,arguments…
32 …uments);this.constructor===T&&this.b2ContactManager.apply(this,arguments)}function P(){P.b2DebugDr…
[all …]
/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/tools/dex-tools/dex/
Dclasses0.out.dex63258 private static java.lang.reflect.Constructor constructor
72436 static final java.lang.reflect.Constructor constructor