/libcore/benchmarks/src/benchmarks/regression/ |
D | EqualsHashCodeBenchmark.java | 27 @Override Object newInstance(String text) throws Exception { in URI() method 32 @Override Object newInstance(String text) throws Exception { in URL() method 36 abstract Object newInstance(String text) throws Exception; in newInstance() method in EqualsHashCodeBenchmark.Type 53 a1 = type.newInstance("https://mail.google.com/mail/u/0/?shva=1#inbox"); in setUp() 54 a2 = type.newInstance("https://mail.google.com/mail/u/0/?shva=1#inbox"); in setUp() 55 b1 = type.newInstance("http://developer.android.com/reference/java/net/URI.html"); in setUp() 56 b2 = type.newInstance("http://developer.android.com/reference/java/net/URI.html"); in setUp() 58 c1 = type.newInstance("http://developer.android.com/query?q=" + QUERY); in setUp() 60 …c2 = type.newInstance("http://developer.android.com/query?q=" + QUERY.substring(0, QUERY.length() … in setUp()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStoreBuilderTest.java | 95 KeyStore.Builder.newInstance(null, null); in testNewInstanceKeyStoreProtectionParameter() 102 KeyStore.Builder.newInstance(null, protPass); in testNewInstanceKeyStoreProtectionParameter() 112 KeyStore.Builder.newInstance(ks, null); in testNewInstanceKeyStoreProtectionParameter() 125 KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 132 ksB = KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 136 ksB = KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 219 KeyStore.Builder.newInstance(null, defaultProvider, fl, protPass); in testNewInstanceStringProviderFileProtectionParameter() 224 KeyStore.Builder.newInstance(KeyStore.getDefaultType(), defaultProvider, null, in testNewInstanceStringProviderFileProtectionParameter() 231 .newInstance(KeyStore.getDefaultType(), defaultProvider, fl, null); in testNewInstanceStringProviderFileProtectionParameter() 237 .newInstance(KeyStore.getDefaultType(), defaultProvider, fl, myPP); in testNewInstanceStringProviderFileProtectionParameter() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldAndroidArrayTest.java | 28 Object intArray = Array.newInstance(Integer.TYPE, 2); in testSingleInt() 54 intArray = Array.newInstance(Integer.TYPE, 0); in testSingleInt() 59 Object strArray = Array.newInstance(String.class, 2); in testSingle() 76 Object intIntIntArray = Array.newInstance(Integer.TYPE, dimensions); in testMultiInt() 94 Object strStrStrArray = Array.newInstance(String.class, dimensions); in testMulti() 117 strStrStrArray = Array.newInstance(String[].class, dimensions2); in testMulti()
|
/libcore/luni/src/main/java/javax/xml/transform/ |
D | TransformerFactory.java | 74 public static TransformerFactory newInstance() in newInstance() method in TransformerFactory 78 return (TransformerFactory) Class.forName(className).newInstance(); in newInstance() 91 public static TransformerFactory newInstance(String factoryClassName, ClassLoader classLoader) in newInstance() method in TransformerFactory 103 return (TransformerFactory) type.newInstance(); in newInstance()
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFactory.java | 67 public static final XPathFactory newInstance() { in newInstance() method in XPathFactory 69 return newInstance(DEFAULT_OBJECT_MODEL_URI); in newInstance() 133 public static final XPathFactory newInstance(final String uri) in newInstance() method in XPathFactory 165 public static XPathFactory newInstance(String uri, String factoryClassName, in newInstance() method in XPathFactory
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParserFactory.java | 148 return (XmlPullParser) parserClass.newInstance(); in getParserInstance() 172 return (XmlSerializer) serializerClass.newInstance(); in getSerializerInstance() 220 public static XmlPullParserFactory newInstance () throws XmlPullParserException { in newInstance() method in XmlPullParserFactory 230 public static XmlPullParserFactory newInstance (String unused, Class unused2) in newInstance() method in XmlPullParserFactory 232 return newInstance(); in newInstance()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | FactoryFinder.java | 147 static Object newInstance( in newInstance() method in FactoryFinder 164 return spiClass.newInstance(); in newInstance() 194 return newInstance(systemProp, classLoader); in find() 203 return newInstance(factoryClassName, classLoader); in find() 223 return newInstance(fallbackClassName, classLoader); in find() 277 return newInstance(factoryClassName, cl); in findJarServiceProvider()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Pack200.java | 134 return (Packer) newInstance(PACK_PROVIDER); in newPacker() 160 return (Unpacker) newInstance(UNPACK_PROVIDER); in newUnpacker() 732 private synchronized static Object newInstance(String prop) { in newInstance() method in Pack200 750 return impl.newInstance(); in newInstance()
|
/libcore/luni/src/main/java/java/nio/charset/ |
D | CharsetICU.java | 23 return CharsetDecoderICU.newInstance(this, icuCanonicalName); in newDecoder() 27 return CharsetEncoderICU.newInstance(this, icuCanonicalName); in newEncoder()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | SAXParserFactory.java | 64 public static SAXParserFactory newInstance() { in newInstance() method in SAXParserFactory 76 public static SAXParserFactory newInstance(String factoryClassName, in newInstance() method in SAXParserFactory 88 return (SAXParserFactory) type.newInstance(); in newInstance()
|
D | DocumentBuilderFactory.java | 52 public static DocumentBuilderFactory newInstance() { in newInstance() method in DocumentBuilderFactory 64 public static DocumentBuilderFactory newInstance(String factoryClassName, in newInstance() method in DocumentBuilderFactory 76 return (DocumentBuilderFactory) type.newInstance(); in newInstance()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | KeyStoreBuilderParametersTest.java | 38 Builder builder = Builder.newInstance(testKeyStore.keyStore, in test_init_Builder() 57 Builder builder1 = Builder.newInstance(testKeyStore1.keyStore, in test_init_List() 59 Builder builder2 = Builder.newInstance(testKeyStore2.keyStore, in test_init_List()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | NewInstance.java | 41 static Object newInstance (ClassLoader classLoader, String className) in newInstance() method in NewInstance 51 return driverClass.newInstance(); in newInstance()
|
/libcore/dom/src/test/java/org/w3c/domts/level3/xpath/ |
D | TestXalan.java | 34 DocumentBuilderFactory jaxpFactory = DocumentBuilderFactory.newInstance(); in suite() 41 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
D | TestXalanAltConfig.java | 34 DocumentBuilderFactory jaxpFactory = DocumentBuilderFactory.newInstance(); in suite() 40 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | TestXerces.java | 35 …etSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").newInstance(); in suite() 42 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
D | TestXercesAltConfig.java | 35 …etSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").newInstance(); in suite() 41 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
D | TestCrimson.java | 35 …tSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").newInstance(); in suite() 41 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level3/core/ |
D | TestXerces.java | 46 .newInstance(); in suite() 53 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
D | TestXercesAltConfig.java | 46 .newInstance(); in suite() 53 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | TestCrimson.java | 35 …tSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").newInstance(); in suite() 41 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
D | TestGNUJAXPAltConfig.java | 36 loadClass("gnu.xml.dom.JAXPFactory").newInstance(); in suite() 42 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
D | TestOracleAltConfig.java | 36 loadClass("oracle.xml.jaxp.JXDocumentBuilderFactory").newInstance(); in suite() 42 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
D | TestXerces.java | 35 …etSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").newInstance(); in suite() 42 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|
/libcore/dom/src/test/java/org/w3c/domts/level3/ls/ |
D | TestXerces.java | 42 …etSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").newInstance(); in suite() 49 Object test = testConstructor.newInstance(new Object[] { factory }); in suite()
|