Searched refs:newInstance (Results 326 - 350 of 359) sorted by relevance

<<1112131415

/libcore/luni/src/test/java/tests/java/security/
H A DSecureClassLoaderTest.java171 URLClassLoader ucl = URLClassLoader.newInstance(urls);
/libcore/luni/src/main/java/java/io/
H A DObjectStreamClass.java652 Object newInstance(Class<?> instantiationClass) throws InvalidClassException { method in class:ObjectStreamClass
654 return newInstance(instantiationClass, resolvedConstructorMethodId);
656 private static native Object newInstance(Class<?> instantiationClass, long methodId); method in class:ObjectStreamClass
/libcore/luni/src/main/java/java/security/
H A DProvider.java828 // For newInstance() optimization
983 public Object newInstance(Object constructorParameter) throws NoSuchAlgorithmException { method in class:Provider.Service
998 return implementation.newInstance();
1017 .newInstance(initargs);
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldClassTest.java648 Object o = constr.newInstance(publicClazz);
914 TestClass3.class.newInstance();
921 TestClass1C.class.newInstance();
/libcore/luni/src/test/java/libcore/java/security/
H A DKeyStoreTest.java2341 Builder.newInstance(keyStore, null);
2349 Builder.newInstance(keyStore.getType(),
2359 Builder.newInstance(null,
2367 Builder.newInstance(keyStore.getType(),
2378 Builder builder = Builder.newInstance(keyStore, PARAM_STORE);
2411 Builder builder = Builder.newInstance(keyStore.getType(),
2434 Builder builder = Builder.newInstance(keyStore.getType(),
/libcore/luni/src/main/java/java/util/
H A DArrays.java129 contents = (T[]) Array.newInstance(ct, size);
2895 T[] result = (T[]) Array.newInstance(original.getClass().getComponentType(), resultLength);
2927 T[] result = (T[]) Array.newInstance(newType.getComponentType(), resultLength);
H A DArrayDeque.java775 a = (T[])java.lang.reflect.Array.newInstance(
H A DArrayList.java520 = (T[]) Array.newInstance(contents.getClass().getComponentType(), s);
H A DProperties.java585 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
H A DVector.java996 contents = (T[]) Array.newInstance(ct, elementCount);
H A DResourceBundle.java505 bundle = (ResourceBundle) bundleClass.newInstance();
901 ResourceBundle bundle = (ResourceBundle) cls.newInstance();
H A DEnumMap.java380 entryArray = (Object[]) Array.newInstance(clazz, size);
H A DLinkedList.java954 contents = (T[]) Array.newInstance(ct, size);
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestCase.java75 runnerFactory.newInstance(new Object[] {testClass});
H A DJUnitTestCaseAdapter.java89 test = (DOMTestCase)constructor.newInstance(new Object[] {
/libcore/luni/src/main/java/java/util/concurrent/
H A DLinkedBlockingQueue.java621 a = (T[])java.lang.reflect.Array.newInstance
H A DForkJoinTask.java546 return (Throwable)(c.newInstance(ex));
549 Throwable wx = (Throwable)(noArgCtor.newInstance());
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyFactoryTest.java482 return constructor.newInstance(key);
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DConstructorTest.java377 // java.lang.reflect.Constructor.newInstance(java.lang.Object [])
383 test = ctor.newInstance((Object[])null);
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DKeyManagerFactory1Test.java505 KeyStore.Builder bld = KeyStore.Builder.newInstance("testType", null, pp);
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/
H A DDocumentBuilderTest.java126 dbf = DocumentBuilderFactory.newInstance();
153 SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
H A DDriver.java80 final XmlPullParserFactory factory = XmlPullParserFactory.newInstance();
/libcore/libart/src/main/java/java/lang/
H A DClass.java1538 public T newInstance() throws InstantiationException, IllegalAccessException { method in class:Class
1559 return init.newInstance();
/libcore/luni/src/main/java/java/net/
H A DURLClassLoader.java674 public static URLClassLoader newInstance(final URL[] urls) { method in class:URLClassLoader
689 public static URLClassLoader newInstance(final URL[] urls, final ClassLoader parentCl) { method in class:URLClassLoader
/libcore/libdvm/src/main/java/java/lang/
H A DClass.java1207 public T newInstance() throws InstantiationException, IllegalAccessException { method in class:Class

Completed in 582 milliseconds

<<1112131415