/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldAndroidClassTest.java | 19 import java.lang.reflect.Constructor; 90 Constructor constructor = helloClass.getConstructor((Class[]) null); local 91 assertNotNull(constructor);
|
AnnotationsTest.java | 25 import java.lang.reflect.Constructor; 48 Constructor<Type> constructor = Type.class.getConstructor(); local 49 assertAnnotatedElement(constructor, AnnotationA.class, AnnotationC.class); 143 // it has no enclosing method or constructor.
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
ParametricEditor.java | 54 import java.lang.reflect.Constructor; 89 static Constructor getConstructor(Class cl) {
|
/packages/apps/Camera/src/com/android/camera/ |
EffectsRecorder.java | 34 import java.lang.reflect.Constructor; 63 private static Constructor<?> sCtPoint; 64 private static Constructor<?> sCtQuad; 84 private static Constructor<?> sCtGraphEnvironment; [all...] |
/external/dexmaker/src/main/java/com/google/dexmaker/stock/ |
ProxyBuilder.java | 29 import java.lang.reflect.Constructor; 87 * By default, the {@link #build()} method will call the no-arg constructor belonging to the class 88 * being proxied. If you wish to call a different constructor, you must provide arguments for both 108 * If the base class to be proxied leaks the {@code this} pointer in the constructor (bad practice), 109 * that is to say calls a non-private non-final method from the constructor, the invocation handler 111 * inernally calls setSeed during the constructor. The proxy will not intercept this call during 196 * @throws UndeclaredThrowableException if the constructor for the base class to proxy throws 198 * @throws IllegalArgumentException if the handler is null, if the constructor argument types 199 * do not match the constructor argument values, or if no such constructor exists 206 Constructor<? extends T> constructor; local [all...] |
/art/test/046-reflect/src/ |
Main.java | 355 Constructor<Target> cons; 376 Constructor<Thrower> constructor = Thrower.class.getDeclaredConstructor(); local 377 Thrower thrower = constructor.newInstance(); 378 System.out.println("ERROR: Constructor.newInstance did not throw exception"); 380 System.out.println("got expected exception for Constructor.newInstance"); 382 System.out.println("ERROR: Constructor.newInstance got unexpected exception: " + 512 Constructor ctor; 598 System.out.println("SuperTarget constructor ()V"); 614 System.out.println("Target constructor ()V") [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StringTest.java | 21 import java.lang.reflect.Constructor; 33 private static final Constructor<String> UNSAFE_CONSTRUCTOR; 36 Constructor<String> uc; 139 assertEquals("Failed Constructor test", "World", new String(new char[] {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
AES.java | 4 import java.lang.reflect.Constructor; 456 Constructor constructor = gcmSpecClass.getConstructor(new Class[] { byte[].class, Integer.class }); local 458 return (AlgorithmParameterSpec)constructor.newInstance(new Object[] { gcmParams.getNonce(), Integers.valueOf(gcmParams.getIcvLen()) }); 462 throw new InvalidParameterSpecException("no constructor found!"); // should never happen
|
/external/clang/lib/Sema/ |
SemaAccess.cpp | [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
RobolectricTestRunner.java | 8 import java.lang.reflect.Constructor; 139 * Call this constructor in subclasses in order to specify non-default configuration (e.g. location of the 155 * Call this constructor in subclasses in order to specify non-default configuration (e.g. location of the 172 * Call this constructor in subclasses in order to specify the project root directory. 183 * Call this constructor in subclasses in order to specify the project root directory. 196 * Call this constructor in subclasses in order to specify the location of the AndroidManifest.xml file and the 212 * Call this constructor in subclasses in order to specify the location of the AndroidManifest.xml file and the 235 * This is not the constructor you are looking for... probably. This constructor creates a bridge between the test 272 Constructor<?> constructorForDelegate = delegateClass.getConstructor(Class.class) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAlertDialog.java | 19 import java.lang.reflect.Constructor; 429 Constructor<AlertDialog> c = AlertDialog.class.getDeclaredConstructor(Context.class);
|
ShadowTime.java | 10 import java.lang.reflect.Constructor; 244 Constructor<TimeFormatException> c = TimeFormatException.class.getDeclaredConstructor(); 370 * Format the date according to the strftime-style string given in the constructor.
|
/frameworks/base/core/java/android/view/ |
MenuInflater.java | 34 import java.lang.reflect.Constructor; 513 Constructor<?> constructor = clazz.getConstructor(constructorSignature); local 514 return (T) constructor.newInstance(arguments);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
SupportMenuInflater.java | 44 import java.lang.reflect.Constructor; 498 Constructor<?> constructor = clazz.getConstructor(constructorSignature); local 499 return (T) constructor.newInstance(arguments);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestCase.java | 14 import java.lang.reflect.Constructor; 33 * This constructor is for DOMTestCase's that make specific demands for 35 * tests constructor to set the factory. 42 * This constructor is for DOMTestCase's that do not add any requirements 69 Constructor runnerFactory =
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactoryTest.java | 5 import java.lang.reflect.Constructor; 458 Constructor<T> constructor = null; local 461 constructor = keySpec.getConstructor(TestPrivateKey.class); 469 constructor = keySpec.getConstructor(TestPublicKey.class); 477 if (constructor == null) { 482 return constructor.newInstance(key);
|
/cts/tests/signature/src/android/signature/cts/ |
JDiffClassDescription.java | 19 import java.lang.reflect.Constructor; 137 * Adds a constructor. 139 * @param tc the constructor to be added. 410 * Represents a constructor. 631 * Checks whether the constructor parsed from API xml file and 638 Constructor<?> c = findMatchingConstructor(con); 657 loge("Got exception when checking constructor compliance", e); 666 * Searches available constructor. 668 * @param jdiffDes constructor description to find. 669 * @return reflected constructor, or null if not found [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRBufferedTreeNodeStream.h | 102 #pragma mark Constructor
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRBufferedTreeNodeStream.h | 102 #pragma mark Constructor
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRBufferedTreeNodeStream.h | 102 #pragma mark Constructor
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRBufferedTreeNodeStream.h | 103 #pragma mark Constructor
|
/external/chromium_org/net/base/ |
ip_endpoint_unittest.cc | 45 TEST_F(IPEndPointTest, Constructor) {
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
BufferedLineReaderTest.cpp | 44 TEST(BufferedLineReader, Constructor)
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ArrayBufferBuilderTest.cpp | 41 TEST(ArrayBufferBuilderTest, Constructor)
|
/external/javassist/src/main/javassist/tools/reflect/ |
ClassMetaobject.java | 51 private Constructor[] constructors; 129 * @param args the arguments passed to the constructor. 153 throw new CannotCreateException("no constructor matches");
|