Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 43) sorted by relevance

12

/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java62 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedCipherSuites_names()
72 TestKeyStore testKeyStore = TestKeyStore.create(new String[] { "RSA", "DSA" }, in test_SSLEngine_getSupportedCipherSuites_connect()
79 TestSSLContext c = TestSSLContext.create(testKeyStore, testKeyStore); in test_SSLEngine_getSupportedCipherSuites_connect()
91 assertConnected(TestSSLEnginePair.create(c, new TestSSLEnginePair.Hooks() { in test_SSLEngine_getSupportedCipherSuites_connect()
102 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getEnabledCipherSuites()
110 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledCipherSuites()
135 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedProtocols()
143 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getEnabledProtocols()
151 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledProtocols()
175 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSession()
[all …]
DSSLSessionTest.java28 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSocket_TestSSLSessions_create()
36 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getApplicationBufferSize()
43 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getCipherSuite()
54 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getCreationTime()
62 TestSSLSessions s = TestSSLSessions.create();
77 TestSSLSessions s = TestSSLSessions.create();
90 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getLocalCertificates()
102 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getLocalPrincipal()
112 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getPacketBufferSize()
119 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getPeerCertificateChain()
[all …]
DSSLSessionContextTest.java57 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getIds()
60 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getIds()
76 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getSession()
92 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getSession()
108 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getSessionCacheSize()
114 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getSessionCacheSize()
122 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_setSessionCacheSize_noConnect()
144 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_setSessionCacheSize_oneConnect()
155 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_setSessionCacheSize_dynamic()
228 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getSessionTimeout()
[all …]
DSSLSocketTest.java56 TestKeyStore testKeyStore = TestKeyStore.create(new String[] { "RSA", "DSA" }, in test_SSLSocket_getSupportedCipherSuites_connect()
93 TestSSLContext c = TestSSLContext.create(testKeyStore, testKeyStore, in test_SSLSocket_getSupportedCipherSuites_connect()
210 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_startHandshake()
254 TestSSLContext c = TestSSLContext.create(null, null, null, null, null, null, null, null, in test_SSLSocket_startHandshake_noKeyStore()
266 TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_startHandshake_noClientCertificate()
289 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_HandshakeCompletedListener()
392 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException()
418 TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_getUseClientMode()
449 TestSSLEnginePair pair = TestSSLEnginePair.create(null); in test_SSLSocket_setUseClientMode_afterHandshake()
465 TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_setUseClientMode()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/luni/net/
DPlainServerSocketImpl.java39 protected void create(boolean isStreaming) throws IOException { in create() method in PlainServerSocketImpl
40 super.create(isStreaming); in create()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java123 public static TestSSLContext create() { in create() method in TestSSLContext
124 return create(TestKeyStore.getClient(), in create()
131 public static TestSSLContext create(TestKeyStore client, TestKeyStore server) { in create() method in TestSSLContext
133 return create(client, server, provider, provider); in create()
135 public static TestSSLContext create(TestKeyStore client, TestKeyStore server, in create() method in TestSSLContext
142 return create(client.keyStore, client.storePassword, in create()
155 public static TestSSLContext create(KeyStore clientKeyStore, char[] clientStorePassword, in create() method in TestSSLContext
DTestSSLSessions.java61 public static final TestSSLSessions create() { in create() method in TestSSLSessions
66 TestSSLSocketPair s = TestSSLSocketPair.create(); in create()
DTestSSLEnginePair.java45 public static TestSSLEnginePair create(Hooks hooks) throws IOException { in create() method in TestSSLEnginePair
46 return create(TestSSLContext.create(), hooks); in create()
49 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { in create() method in TestSSLEnginePair
DTestSSLSocketPair.java46 public static TestSSLSocketPair create () { in create() method in TestSSLSocketPair
47 TestSSLContext c = TestSSLContext.create(); in create()
/libcore/luni/src/main/java/java/lang/
DThread.java205 create(null, null, null, 0); in Thread()
221 create(null, runnable, null, 0); in Thread()
243 create(null, runnable, threadName, 0); in Thread()
263 create(null, null, threadName, 0); in Thread()
288 create(group, runnable, null, 0); in Thread()
317 create(group, runnable, threadName, 0); in Thread()
343 create(group, null, threadName, 0); in Thread()
376 create(group, runnable, threadName, stackSize); in Thread()
431 private void create(ThreadGroup group, Runnable runnable, String threadName, long stackSize) { in create() method in Thread
1232 VMThread.create(this, stackSize); in start()
DVMThread.java31 native static void create(Thread t, long stacksize); in create() method in VMThread
50 VMThread.create(thread, stacksize); in start()
/libcore/luni/src/main/java/java/net/
DServerSocket.java120 impl.create(true); in ServerSocket()
239 impl.create(true); in getSoTimeout()
439 private void checkClosedAndCreate(boolean create) throws SocketException { in checkClosedAndCreate() argument
444 if (!create || isCreated) { in checkClosedAndCreate()
453 impl.create(true); in checkClosedAndCreate()
DDatagramSocketImpl.java72 protected abstract void create() throws SocketException; in create() method in DatagramSocketImpl
DSocket.java698 impl.create(streaming); in startupSocket()
778 private void checkOpenAndCreate(boolean create) throws SocketException { in checkOpenAndCreate() argument
782 if (!create) { in checkOpenAndCreate()
802 impl.create(true); in checkOpenAndCreate()
DSocketImpl.java140 protected abstract void create(boolean isStreaming) throws IOException; in create() method in SocketImpl
/libcore/luni/src/main/java/org/apache/xpath/
DXPathFactory.java48 XPath create(String exprString, SourceLocator locator, in create() method
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java102 = create(new String[] { "RSA" },
110 = create(new String[] { "RSA" },
118 = create(new String[] { "RSA" },
128 = create(new String[] { "RSA" },
137 = create(new String[] { "RSA" },
190 public static TestKeyStore create(String[] keyAlgorithms, in create() method in TestKeyStore
/libcore/luni/src/main/java/org/apache/xpath/objects/
DXObject.java163 static public XObject create(Object val) in create() method in XObject
165 return XObjectFactory.create(val); in create()
178 static public XObject create(Object val, XPathContext xctxt) in create() method in XObject
180 return XObjectFactory.create(val, xctxt); in create()
DXObjectFactory.java43 static public XObject create(Object val) in create() method in XObjectFactory
82 static public XObject create(Object val, XPathContext xctxt) in create() method in XObjectFactory
/libcore/luni/src/test/java/libcore/java/net/
DOldURITest.java102 URI.create(s); in test_createLjava_lang_String()
DURLConnectionTest.java392 TestSSLContext testSSLContext = TestSSLContext.create(); in testConnectViaHttps()
408 TestSSLContext testSSLContext = TestSSLContext.create(); in testConnectViaHttpsReusingConnections()
429 TestSSLContext testSSLContext = TestSSLContext.create(); in testConnectViaHttpsReusingConnectionsDifferentFactories()
450 TestSSLContext testSSLContext = TestSSLContext.create(); in testConnectViaHttpsWithSSLFallback()
472 TestSSLContext testSSLContext = TestSSLContext.create(TestKeyStore.getClientCA2(), in testConnectViaHttpsToUntrustedServer()
552 TestSSLContext testSSLContext = TestSSLContext.create(); in testConnectViaDirectProxyToHttps()
582 TestSSLContext testSSLContext = TestSSLContext.create(); in testConnectViaHttpProxyToHttps()
614 TestSSLContext testSSLContext = TestSSLContext.create(); in testProxyConnectIncludesProxyHeadersOnly()
1189 TestSSLContext testSSLContext = TestSSLContext.create(); in testRedirectedOnHttps()
1211 TestSSLContext testSSLContext = TestSSLContext.create(); in testNotRedirectedFromHttpsToHttp()
[all …]
DOldSocketImplFactoryTest.java149 protected void create(boolean arg0) throws IOException { in create() method in OldSocketImplFactoryTest.MockSocketImpl
DOldDatagramSocketImplFactoryTest.java142 protected void create() throws SocketException { in create() method in OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
/libcore/luni/src/main/java/org/apache/xpath/jaxp/
DJAXPVariableStack.java70 return XObject.create( varValue, xctxt ); in getVariableOrParam()
/libcore/xml/src/main/java/org/kxml2/io/
DKXmlSerializer.java191 public String getPrefix(String namespace, boolean create) { in getPrefix() argument
193 return getPrefix(namespace, false, create); in getPrefix()
203 boolean create) in getPrefix() argument
225 if (!create) in getPrefix()

12