HomeSort by relevance Sort by last modified time
    Searched refs:newInstance (Results 26 - 50 of 1257) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowJsPromptResult.java 10 public static JsPromptResult newInstance() {
ShadowNetworkInfo.java 23 public static NetworkInfo newInstance() {
24 return newInstance(null);
27 public static NetworkInfo newInstance(NetworkInfo.DetailedState detailedState) {
28 return newInstance(detailedState, ConnectivityManager.TYPE_MOBILE, 0, true, true);
31 public static NetworkInfo newInstance(NetworkInfo.DetailedState detailedState, int type, int subType,
  /libcore/luni/src/main/java/javax/xml/transform/
TransformerFactory.java 74 public static TransformerFactory newInstance()
78 return (TransformerFactory) Class.forName(className).newInstance();
91 public static TransformerFactory newInstance(String factoryClassName, ClassLoader classLoader)
103 return (TransformerFactory) type.newInstance();
  /libcore/luni/src/main/java/javax/xml/xpath/
XPathFactory.java 25 *<p>See {@link #newInstance(String uri)} for lookup mechanism.</p>
46 * <p>Protected constructor as {@link #newInstance()}, {@link #newInstance(String uri)}
47 * or {@link #newInstance(String uri, String factoryClassName, ClassLoader classLoader)}
60 * newInstance(DEFAULT_OBJECT_MODEL_URI)
67 public static final XPathFactory newInstance() {
69 return newInstance(DEFAULT_OBJECT_MODEL_URI);
73 "XPathFactory#newInstance() failed to create an XPathFactory for the default object model: "
133 public static final XPathFactory newInstance(final String uri)
140 "XPathFactory#newInstance(String uri) cannot be called with uri == \"\"
    [all...]
  /art/test/042-new-instance/src/
Main.java 31 * Tests Class.newInstance().
37 Object obj = c.newInstance();
47 Object obj = c.newInstance();
69 * Tests Constructor.newInstance().
88 Object obj = cons.newInstance();
99 Object obj = cons.newInstance(new Main());
110 Object obj = cons.newInstance();
134 Object obj = cons.newInstance();
149 Object obj = cons.newInstance();
180 CC.newInstance();
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
StringTexture.java 30 // To create a StringTexture, use the newInstance() method and specify
54 public static StringTexture newInstance(
56 return newInstance(text, getDefaultPaint(textSize, color));
59 public static StringTexture newInstance(
70 return newInstance(text, paint);
73 private static StringTexture newInstance(String text, TextPaint paint) {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStoreBuilderTest.java 87 * test for method newInstance(KeyStore, KeyStore.ProtectionParameter)
95 KeyStore.Builder.newInstance(null, null);
102 KeyStore.Builder.newInstance(null, protPass);
112 KeyStore.Builder.newInstance(ks, null);
125 KeyStore.Builder.newInstance(ks, pp[i]);
132 ksB = KeyStore.Builder.newInstance(ks, pp[i]);
136 ksB = KeyStore.Builder.newInstance(ks, pp[i]);
191 * Test for methods: <code>newInstance(String type, Provider provider, File
202 * ProtectionParameter which is used in newInstance(...)
219 KeyStore.Builder.newInstance(null, defaultProvider, fl, protPass)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
ServReqAllTestCase02.java 30 * WifiP2pServiceRequest.newInstance(WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR) and
31 * WifiP2pServiceRequest.newInstance(WifiP2pServiceInfo.SERVICE_TYPE_UPNP).
48 reqList.add(WifiP2pServiceRequest.newInstance(
50 reqList.add(WifiP2pServiceRequest.newInstance(
ServReqAllTestCase03.java 31 * WifiP2pDnsSdServiceRequest.newInstance() and
32 * WifiP2pUpnpServiceRequest.newInstance().
49 reqList.add(WifiP2pDnsSdServiceRequest.newInstance());
50 reqList.add(WifiP2pUpnpServiceRequest.newInstance());
  /dalvik/tests/042-new-instance/src/
Main.java 31 * Tests Class.newInstance().
37 Object obj = c.newInstance();
47 Object obj = c.newInstance();
69 * Tests Constructor.newInstance().
88 Object obj = cons.newInstance();
112 Object obj = cons.newInstance();
127 Object obj = cons.newInstance();
152 CC.newInstance();
163 static Object newInstance() {
166 return c.newInstance();
    [all...]
  /external/mockito/src/org/mockito/internal/runners/
RunnerFactory.java 28 return runnerProvider.newInstance("org.mockito.internal.runners.JUnit45AndHigherRunnerImpl", klass);
30 return runnerProvider.newInstance("org.mockito.internal.runners.JUnit44RunnerImpl", klass);
  /external/mockito/src/org/mockito/internal/runners/util/
RunnerProvider.java 29 public RunnerImpl newInstance(String runnerClassName, Class<?> constructorParam) throws Exception {
39 return (RunnerImpl) constructor.newInstance(constructorParam);
  /external/objenesis/main/src/org/objenesis/instantiator/sun/
SunReflectionFactorySerializationInstantiator.java 56 public Object newInstance() {
58 return mungedConstructor.newInstance((Object[]) null);
  /external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
JAXPTest.java 44 SAXParserFactory spf = SAXParserFactory.newInstance();
50 Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(f);
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
TestCrimson.java 35 ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").newInstance();
41 Object test = testConstructor.newInstance(new Object[] { factory });
TestCrimsonAltConfig.java 35 ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").newInstance();
41 Object test = testConstructor.newInstance(new Object[] { factory });
TestGNUJAXP.java 37 loadClass("gnu.xml.dom.JAXPFactory").newInstance();
44 Object test = testConstructor.newInstance(new Object[] { factory });
TestGNUJAXPAltConfig.java 36 loadClass("gnu.xml.dom.JAXPFactory").newInstance();
42 Object test = testConstructor.newInstance(new Object[] { factory });
TestOracle.java 36 loadClass("oracle.xml.jaxp.JXDocumentBuilderFactory").newInstance();
43 Object test = testConstructor.newInstance(new Object[] { factory });
TestOracleAltConfig.java 36 loadClass("oracle.xml.jaxp.JXDocumentBuilderFactory").newInstance();
42 Object test = testConstructor.newInstance(new Object[] { factory });
TestXerces.java 35 ClassLoader.getSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").newInstance();
42 Object test = testConstructor.newInstance(new Object[] { factory });
TestXercesAltConfig.java 35 ClassLoader.getSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").newInstance();
41 Object test = testConstructor.newInstance(new Object[] { factory });
  /libcore/dom/src/test/java/org/w3c/domts/level2/core/
TestCrimson.java 35 ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").newInstance();
41 Object test = testConstructor.newInstance(new Object[] { factory });
TestCrimsonAltConfig.java 35 ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl").newInstance();
41 Object test = testConstructor.newInstance(new Object[] { factory });
TestGNUJAXP.java 37 loadClass("gnu.xml.dom.JAXPFactory").newInstance();
44 Object test = testConstructor.newInstance(new Object[] { factory });

Completed in 1192 milliseconds

12 3 4 5 6 7 8 91011>>