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/
DApiClass.java61 public void addConstructor(ApiConstructor constructor) { in addConstructor() argument
62 mApiConstructors.add(constructor); in addConstructor()
66 for (ApiConstructor constructor : mApiConstructors) { in getConstructor()
67 if (parameterTypes.equals(constructor.getParameterTypes())) { in getConstructor()
68 return constructor; in getConstructor()
99 for (ApiConstructor constructor : mApiConstructors) { in getNumCoveredMethods()
100 if (constructor.isCovered()) { in getNumCoveredMethods()
DXmlReport.java86 for (ApiConstructor constructor : apiClass.getConstructors()) { in printXmlReport()
87 out.println("<constructor name=\"" + constructor.getName() in printXmlReport()
88 + "\" deprecated=\"" + constructor.isDeprecated() in printXmlReport()
89 + "\" covered=\"" + constructor.isCovered() + "\">"); in printXmlReport()
90 if (constructor.isDeprecated()) { in printXmlReport()
91 if (constructor.isCovered()) { in printXmlReport()
96 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()
/cts/tests/SignatureTest/tests/src/android/tests/sigtest/tests/
DJDiffClassDescriptionTest.java102 …JDiffClassDescription.JDiffConstructor constructor = new JDiffClassDescription.JDiffConstructor("N… in testSimpleConstructor() local
103 clz.addConstructor(constructor); in testSimpleConstructor()
105 assertEquals(constructor.toSignatureString(), "public NormalClass()"); in testSimpleConstructor()
109 …JDiffClassDescription.JDiffConstructor constructor = new JDiffClassDescription.JDiffConstructor("N… in testOneArgConstructor() local
110 constructor.addParam("java.lang.String"); in testOneArgConstructor()
111 clz.addConstructor(constructor); in testOneArgConstructor()
113 assertEquals(constructor.toSignatureString(), "private NormalClass(java.lang.String)"); in testOneArgConstructor()
117 …JDiffClassDescription.JDiffConstructor constructor = new JDiffClassDescription.JDiffConstructor("N… in testConstructorThrowsException() local
118 constructor.addParam("java.lang.String"); in testConstructorThrowsException()
119 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/SignatureTest/src/android/tests/sigtest/
DSignatureTest.java195 JDiffConstructor constructor = loadConstructorInfo(parser, currentClass); in start() local
196 currentClass.addConstructor(constructor); in start()
197 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 …]
Dpdfjs.js29798 function constructor() { function in pdfjsWrapper.JpegImage
30261 constructor.prototype = {
30671 return constructor;
/cts/tools/dex-tools/dex/
Dclasses0.out.dex63258 private static java.lang.reflect.Constructor constructor
72436 static final java.lang.reflect.Constructor constructor