/external/smali/baksmali/src/test/smali/deodex_test1/ |
randomclass.smali | 5 .method public constructor <init>()V
|
/external/smali/baksmali/src/test/smali/deodex_test2/bootclass_classes/ |
randomclass.smali | 5 .method public constructor <init>()V
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiClass.java | 61 public void addConstructor(ApiConstructor constructor) { 62 mApiConstructors.add(constructor); 66 for (ApiConstructor constructor : mApiConstructors) { 67 if (parameterTypes.equals(constructor.getParameterTypes())) { 68 return constructor; 99 for (ApiConstructor constructor : mApiConstructors) { 100 if (constructor.isCovered()) {
|
/external/smack/src/org/jivesoftware/smack/compression/ |
JzlibInputOutputStream.java | 20 import java.lang.reflect.Constructor; 57 Constructor<?> constructor = ziClass.getConstructor(InputStream.class); local 58 Object in = constructor.newInstance(inputStream); 68 Constructor<?> constructor = zoClass.getConstructor(OutputStream.class, Integer.TYPE); local 69 Object out = constructor.newInstance(outputStream, 9);
|
/external/clang/test/SemaCXX/ |
dcl_init_aggr.cpp | 43 struct NoDefaultConstructor { // expected-note 3 {{candidate constructor (the implicit copy constructor)}} \ 45 NoDefaultConstructor(int); // expected-note 3 {{candidate constructor}} 47 struct TooFewError { // expected-error{{implicit default constructor for}} 52 TooFewError too_few_error = { 1 }; // expected-error{{no matching constructor}} 54 TooFewError too_few_okay2[2] = { 1, 1 }; // expected-note{{implicit default constructor for 'TooFewError' first required here}} 55 TooFewError too_few_error2[2] = { 1 }; // expected-error{{no matching constructor}} 57 NoDefaultConstructor too_few_error3[3] = { }; // expected-error {{no matching constructor}} 118 union u { int a; char* b; }; // expected-note{{candidate constructor (the implicit copy constructor)}} [all...] |
default-constructor-initializers.cpp | 3 struct X1 { // has no implicit default constructor 11 struct X3 : public X2 { // expected-error {{implicit default constructor for 'X3' must explicitly initialize the base class 'X2' which does not have a default constructor}} 25 struct Y1 { // has no implicit default constructor 53 // Test default initialization which *requires* a constructor call for non-POD.
|
explicit.cpp | 2 namespace Constructor { 43 class Y { }; // expected-note {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Z' to 'const Y &' for 1st argument}} \ 44 expected-note {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'Z' to 'Y &&' for 1st argument}} \ 45 expected-note {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Z' to 'const Y &' for 1st argument}} \ 46 expected-note {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'Z' to 'Y &&' for 1st argument}}
|
cxx0x-initializer-constructor.cpp | 41 struct X2 { explicit X2(int); }; // expected-note {{constructor declared here}} 77 // the initializer_list constructor. 96 { X2 x = {0}; } // expected-error {{constructor is explicit}} 124 struct B { // expected-note 2 {{candidate constructor}} 125 B(C, int, C); // expected-note {{candidate constructor not viable: cannot convert initializer list argument to 'objects::C'}} 130 B b2{{1, 1.0, 4}, 2, {3, 4}}; // expected-error {{no matching constructor for initialization of 'objects::B'}} 150 // This is not an initializer-list constructor. 162 // (for the second phase, no constructor is viable) 163 G g1{1, 2, 3}; // expected-error {{no matching constructor}} 164 (void) new G{1, 2, 3}; // expected-error {{no matching constructor}} [all...] |
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestMethod.java | 22 import java.lang.reflect.Constructor; 79 Constructor[] constructors = testCaseClass.getConstructors(); 84 for (Constructor constructor : constructors) { 85 Class[] params = constructor.getParameterTypes(); 87 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance(); 93 return ((Constructor<? extends TestCase>) constructor) 98 throw new RuntimeException("Unable to locate a constructor for [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
GenericExceptionsTest.java | 20 import java.lang.reflect.Constructor; 43 Constructor constructor = Thrower.class.getConstructor(); local 45 Arrays.asList(constructor.getGenericExceptionTypes())); 49 Constructor constructor = Thrower.class.getConstructor(List.class); local 51 Arrays.asList(constructor.getGenericExceptionTypes())); 55 Constructor constructor = ThrowerT.class.getConstructor(); local 56 TypeVariable typeVariable = getOnlyValue(constructor.getGenericExceptionTypes() [all...] |
/external/jdiff/src/jdiff/ |
ConstructorAPI.java | 7 * Class to represent a constructor, analogous to ConstructorDoc in the 11 * comparison based upon everything that is known about this constructor. 18 * The type of the constructor, being all the parameter types 24 * The exceptions thrown by this constructor, being all the exception types 35 /** Constructor. */
|
/external/junit/src/org/junit/experimental/theories/ |
ParameterSignature.java | 7 import java.lang.reflect.Constructor; 19 public static List<ParameterSignature> signatures(Constructor<?> constructor) { 20 return signatures(constructor.getParameterTypes(), constructor
|
/external/v8/test/mjsunit/regress/ |
regress-1172.js | 28 // Check that 'constructor' property is forcefully installed on 32 // to use JS accessors to set 'constructor' property. 33 Object.prototype.__defineGetter__('constructor', function() { throw 42; }); 36 assertSame(f, f.prototype.constructor); 39 assertSame(f, o.constructor);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
PresenterFactory.java | 20 import java.lang.reflect.Constructor; 43 Constructor constructor = c.getConstructor( local 45 return (Presenter) constructor.newInstance(context, view, model); 50 Log.e(TAG, "No such constructor.", e);
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
ExtensionNamespaceSupport.java | 23 import java.lang.reflect.Constructor; 34 // Namespace, ExtensionHandler class name, constructor signature 48 // Create the constructor signature. 54 else // If an arguments is null, pick the constructor later. 77 Constructor con = null; 81 else // Pick the constructor based on number of args. 83 Constructor[] cons = cl.getConstructors(); 93 // System.out.println("constructor " + con); 97 throw new TransformerException("ExtensionHandler constructor not found");
|
/external/objenesis/tck/src/org/objenesis/tck/candidates/ |
serializable-candidates.properties | 54 # Different visibilities of constructor. 55 org.objenesis.tck.candidates.SerializableNoConstructor = No constructor (serializable) 56 org.objenesis.tck.candidates.SerializableDefaultPublicConstructor = Default public constructor (serializable) 57 org.objenesis.tck.candidates.SerializableDefaultProtectedConstructor = Default protected constructor (serializable) 58 org.objenesis.tck.candidates.SerializableDefaultPackageConstructor = Default package constructor (serializable) 59 org.objenesis.tck.candidates.SerializableDefaultPrivateConstructor = Default private constructor (serializable) 64 org.objenesis.tck.candidates.SerializableConstructorThrowingException = Constructor throwing exception (serializable) 65 org.objenesis.tck.candidates.SerializableConstructorWithArguments = Constructor with arguments (serializable) 66 org.objenesis.tck.candidates.SerializableConstructorWithMandatoryArguments = Constructor with mandatory arguments (serializable)
|
/packages/apps/Camera/src/com/android/camera/ |
PreferenceInflater.java | 28 import java.lang.reflect.Constructor; 41 private static final HashMap<String, Constructor<?>> sConstructorMap = 42 new HashMap<String, Constructor<?>>(); 56 Constructor<?> constructor = sConstructorMap.get(name); local 58 if (constructor == null) { 62 constructor = clazz.getConstructor(CTOR_SIGNATURE); 63 sConstructorMap.put(name, constructor); 65 return (CameraPreference) constructor.newInstance(args);
|
/packages/apps/Gallery2/src/com/android/camera/ |
PreferenceInflater.java | 28 import java.lang.reflect.Constructor; 41 private static final HashMap<String, Constructor<?>> sConstructorMap = 42 new HashMap<String, Constructor<?>>(); 56 Constructor<?> constructor = sConstructorMap.get(name); local 58 if (constructor == null) { 62 constructor = clazz.getConstructor(CTOR_SIGNATURE); 63 sConstructorMap.put(name, constructor); 65 return (CameraPreference) constructor.newInstance(args);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
PreferenceInflater.java | 23 import java.lang.reflect.Constructor; 41 private static final HashMap<String, Constructor<?>> sConstructorMap = 42 new HashMap<String, Constructor<?>>(); 56 Constructor<?> constructor = sConstructorMap.get(name); local 58 if (constructor == null) { 62 constructor = clazz.getConstructor(CTOR_SIGNATURE); 63 sConstructorMap.put(name, constructor); 65 return (CameraPreference) constructor.newInstance(args);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DHParameterSpecTest.java | 40 * specified in the constructor with the values returned by getters. 52 + "equal to the value specified in the constructor", 55 + "equal to the value specified in the constructor", 61 + "equal to the value specified in the constructor", 64 + "equal to the value specified in the constructor", 67 + "equal to the value specified in the constructor",
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
p5-cxx03-extra-copy.cpp | 3 // C++03 requires that we check for a copy constructor when binding a 6 // cases where that copy constructor is somehow unavailable. As an 25 X3(X3&); // expected-note{{candidate constructor not viable: expects an l-value for 1st argument}} 46 X5(const X5&, const X5& = X5()); // expected-warning{{no viable constructor copying parameter of type 'X5'}} 57 g2(X2()); // expected-warning{{C++98 requires an accessible copy constructor for class 'X2' when binding a reference to a temporary; was private}} 58 g3(X3()); // expected-warning{{no viable constructor copying parameter of type 'X3'}}
|
/external/doclava/test/api/ |
added-interface.xml | 12 <constructor name="Bunk" 19 </constructor> 53 <constructor name="DeBunk" 60 </constructor> 83 <constructor name="Foo" 90 </constructor>
|
added-package.xml | 12 <constructor name="Abstract" 19 </constructor> 51 <constructor name="Bunk" 58 </constructor> 92 <constructor name="DeBunk" 99 </constructor> 124 <constructor name="Extender" 131 </constructor> 186 <constructor name="Foo" 193 </constructor> [all...] |
changed-super.xml | 12 <constructor name="Bunk" 19 </constructor> 53 <constructor name="DeBunk" 60 </constructor> 83 <constructor name="Foo" 90 </constructor>
|
return-type-changed-1.xml | 12 <constructor name="Bunk" 19 </constructor> 53 <constructor name="DeBunk" 60 </constructor> 83 <constructor name="Foo" 90 </constructor>
|