/external/smack/src/org/jivesoftware/smack/ |
SASLAuthentication.java.orig | 32 import java.lang.reflect.Constructor;
232 Constructor<? extends SASLMechanism> constructor = mechanismClass.getConstructor(SASLAuthentication.class);
233 currentMechanism = constructor.newInstance(this);
314 Constructor<? extends SASLMechanism> constructor = mechanismClass.getConstructor(SASLAuthentication.class);
315 currentMechanism = constructor.newInstance(this);
|
/external/v8/src/ |
apinatives.js | 51 var Constructor = %GetTemplateField(data, kApiConstructorOffset); 54 var result = typeof Constructor === 'undefined' ? 55 {} : new (Instantiate(Constructor))(); 87 %SetProperty(fun.prototype, "constructor", fun, DONT_ENUM);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest5.java | 24 import java.lang.reflect.Constructor; 190 Constructor[] cons = thrC.getConstructors(); 268 Constructor con = null;
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
Platform.java | 22 import java.lang.reflect.Constructor; 52 private Constructor<DeflaterOutputStream> deflaterConstructor; 108 Constructor<DeflaterOutputStream> constructor = deflaterConstructor; local 109 if (constructor == null) { 110 constructor = deflaterConstructor = DeflaterOutputStream.class.getConstructor( 113 return constructor.newInstance(out, deflater, syncFlush);
|
/frameworks/base/core/java/android/preference/ |
GenericInflater.java | 20 import java.lang.reflect.Constructor; 369 Constructor constructor = (Constructor) sConstructorMap.get(name); local 372 if (null == constructor) { 377 constructor = clazz.getConstructor(mConstructorSignature); 378 sConstructorMap.put(name, constructor); 383 return (T) constructor.newInstance(args); 400 + constructor.getClass().getName());
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ClassTest.java | 25 import java.lang.reflect.Constructor; 236 fail("Found private constructor"); 238 // Correct - constructor with obj is private 246 Constructor[] c = TestClass.class.getConstructors(); 261 Constructor<TestClass> c = TestClass.class.getDeclaredConstructor(new Class[0]); 262 assertNull("Incorrect constructor returned", c.newInstance().cValue()); 270 Constructor[] c = TestClass.class.getDeclaredConstructors(); 554 fail("Exception for instantiating a newInstance with no default constructor is not thrown");
|
/external/clang/lib/AST/ |
DeclCXX.cpp | 201 // The implicitly-declared copy constructor for a class X will have 203 // has a copy constructor whose first parameter is of type 222 // A [default constructor, copy/move constructor, or copy/move assignment 233 // In the definition of a constexpr constructor [...] 238 // A default constructor is trivial [...] if: 245 // A copy/move constructor for class X is trivial if [...] 247 // -- the constructor selected to copy/move each direct base class 251 // If the base class doesn't have a simple move constructor, we'll eagerly 253 // it actually calls. If it does have a simple move constructor, thi [all...] |
/external/clang/test/SemaCXX/ |
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}}
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
Futures.java | 37 import java.lang.reflect.Constructor; [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ShadowWrangler.java | 14 import java.lang.reflect.Constructor; 171 Constructor<?> constructor = findConstructor(instance, shadowClass); local 172 if (constructor != null) { 173 shadow = constructor.newInstance(instance); 218 private Constructor<?> findConstructor(Object instance, Class<?> shadowClass) { 221 Constructor constructor; local 222 for (constructor = null; constructor == null && clazz != null; clazz = clazz.getSuperclass()) [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
SimpleFrame.java | 27 import java.lang.reflect.Constructor;
|
/libcore/luni/src/main/java/java/io/ |
ObjectStreamClass.java | 21 import java.lang.reflect.Constructor; 177 // MethodID for deserialization constructor 178 private transient long constructor = CONSTRUCTOR_IS_NOT_RESOLVED; field in class:ObjectStreamClass 181 constructor = newConstructor; 185 return constructor; 507 // Constructor information 508 Constructor<?>[] constructors = cl.getDeclaredConstructors(); 512 Comparator<Constructor<?>> constructorComparator = new Comparator<Constructor<?>>() { 513 public int compare(Constructor<?> ctr1, Constructor<?> ctr2) 525 Constructor<?> constructor = constructors[i]; local 681 Constructor<?> constructor = null; local [all...] |
/cts/tools/signature-tools/test/signature/converter/doclet/ |
DocletTestConverter.java | 24 import java.lang.reflect.Constructor;
159 Constructor<Messager> c;
|
/dalvik/tests/004-annotations/src/android/test/anno/ |
TestAnnotations.java | 4 import java.lang.reflect.Constructor; 38 for (Constructor c: clazz.getDeclaredConstructors()) { 43 System.out.println(" constructor parameter annotations:");
|
/dalvik/tests/031-class-attributes/src/ |
ClassAttrs.java | 4 import java.lang.reflect.Constructor; 50 Constructor cons; 53 System.out.println("constructor signature: "
|
/dalvik/tests/044-proxy/src/ |
BasicTest.java | 20 import java.lang.reflect.Constructor; 94 Constructor<Class> cons; 97 //System.out.println("Constructor is " + cons);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
PropertyBoxParserImpl.java | 24 import java.lang.reflect.Constructor; 118 Constructor<AbstractBox> constructorObject; 165 String constructor; local 170 constructor = mapping.getProperty((parent) + "-uuid[" + Hex.encodeHex(userType).toUpperCase() + "]"); 171 if (constructor == null) { 172 constructor = mapping.getProperty("uuid[" + Hex.encodeHex(userType).toUpperCase() + "]"); 174 if (constructor == null) { 175 constructor = mapping.getProperty("uuid"); 178 constructor = mapping.getProperty((parent) + "-" + (type)); 179 if (constructor == null) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
AndroidTranslatorTest.java | 21 import java.lang.reflect.Constructor; 73 Constructor<ClassWithNoDefaultConstructor> ctor = ClassWithNoDefaultConstructor.class.getDeclaredConstructor();
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ClassLoaderReflectionTest.java | 19 import java.lang.reflect.Constructor; 108 Constructor<?> constructor = fClass.getDeclaredConstructors()[0]; local 109 Type[] parameters = constructor.getGenericParameterTypes();
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
InvocationTargetExceptionTest.java | 24 import java.lang.reflect.Constructor; 118 Constructor<InvocationTargetException> ctor = InvocationTargetException.class 120 assertNotNull("Parameterless constructor does not exist.", ctor); 121 assertTrue("Constructor is not protected", Modifier.isProtected(ctor 123 //create an instance of a subtype using this constructor 187 fail("Exception during constructor test : " + e.getMessage());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
ParametricEditor.java | 43 import java.lang.reflect.Constructor; 67 static Constructor getConstructor(Class cl) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
DexWrapper.java | 28 import java.lang.reflect.Constructor; 51 private Constructor<?> mArgConstructor;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintFix.java | 53 import java.lang.reflect.Constructor; 196 Constructor<? extends LintFix> constructor = clazz.getDeclaredConstructor( local 198 constructor.setAccessible(true); 199 LintFix fix = constructor.newInstance(id, marker);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationTest.java | 29 import java.lang.reflect.Constructor; 38 // a constructor marked with @NonNull, so the test won't compile. 39 Constructor<Configuration> constructor = local 41 constructor.setAccessible(true); 43 return constructor.newInstance(chooser);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutParamsParserTest.java | 27 import java.lang.reflect.Constructor; 131 /** Calls the private constructor of the parser */ 134 Constructor<AndroidTargetParser> constructor = local 136 constructor.setAccessible(true); 137 return constructor.newInstance(osJarPath);
|