Home
last modified time | relevance | path

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

123

/libcore/support/src/test/java/org/apache/harmony/testframework/
DSinkTester.java42 public abstract OutputStream create() throws Exception; in create() method in SinkTester
97 OutputStream out = create(); in sinkTestNoWriting()
105 OutputStream out = create(); in sinkTestWriteZeroBytes()
118 OutputStream out = create(); in sinkTestWriteByteByByte()
134 OutputStream out = create(); in sinkTestWriteArray()
156 OutputStream out = create(); in sinkTestWriteOffset()
184 OutputStream out = create(); in sinkTestWriteLargeArray()
193 OutputStream out = create(); in sinkTestWriteAfterClose()
208 OutputStream out = create(); in sinkTestWriteAfterCloseSuppressed()
DCharSinkTester.java42 public abstract Writer create() throws Exception; in create() method in CharSinkTester
96 Writer out = create(); in sinkTestNoWriting()
104 Writer out = create(); in sinkTestWriteZeroChars()
117 Writer out = create(); in sinkTestWriteCharByChar()
129 Writer out = create(); in sinkTestWriteArray()
141 Writer out = create(); in sinkTestWriteOffset()
172 Writer out = create(); in sinkTestWriteLargeArray()
181 Writer out = create(); in sinkTestWriteAfterClose()
196 Writer out = create(); in sinkTestWriteAfterCloseSuppressed()
DWrapperTester.java39 public abstract OutputStream create(OutputStream delegate) throws Exception; in create() method in WrapperTester
85 public OutputStream create() throws Exception { in create() method in WrapperTester.WrapperSinkTester
87 return WrapperTester.this.create(delegate); in create()
114 OutputStream o = create(delegate); in wrapperTestFlushThrowsViaFlushSuppressed()
123 OutputStream o = create(delegate); in wrapperTestFlushThrowsViaCloseSuppressed()
133 OutputStream o = create(delegate); in wrapperTestFlushThrowsViaFlush()
149 OutputStream o = create(delegate); in wrapperTestFlushThrowsViaClose()
170 OutputStream o = create(delegate); in wrapperTestCloseThrows()
182 OutputStream o = create(delegate); in wrapperTestCloseThrowsSuppressed()
DCharWrapperTester.java38 public abstract Writer create(Writer delegate) throws Exception; in create() method in CharWrapperTester
84 public Writer create() throws Exception { in create() method in CharWrapperTester.WrapperSinkTester
86 return CharWrapperTester.this.create(delegate); in create()
113 Writer o = create(delegate); in wrapperTestFlushThrowsViaFlushSuppressed()
122 Writer o = create(delegate); in wrapperTestFlushThrowsViaCloseSuppressed()
132 Writer o = create(delegate); in wrapperTestFlushThrowsViaFlush()
148 Writer o = create(delegate); in wrapperTestFlushThrowsViaClose()
169 Writer o = create(delegate); in wrapperTestCloseThrows()
181 Writer o = create(delegate); in wrapperTestCloseThrowsSuppressed()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSessionTest.java28 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSocket_TestSSLSessions_create()
37 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getApplicationBufferSize()
45 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getCipherSuite()
62 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getCreationTime()
79 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getId()
95 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getLastAccessedTime()
111 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getLocalCertificates()
124 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getLocalPrincipal()
135 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getPacketBufferSize()
143 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getPeerCertificateChain()
[all …]
DSSLEngineTest.java69 TestSSLContext.create().clientContext.createSSLEngine()); in test_SSLEngine_defaultConfiguration()
73 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedCipherSuites_returnsCopies()
107 final TestSSLEnginePair engines = TestSSLEnginePair.create(null /* hooks */); in test_SSLEngine_underflowsOnEmptyBuffersAfterHandshake()
167 cWithWrongPrivateKeys = TestSSLContext.create(testKeyStore, testKeyStore); in test_SSLEngine_getSupportedCipherSuites_connect()
208 pair = TestSSLEnginePair.create(c, new TestSSLEnginePair.Hooks() { in test_SSLEngine_getSupportedCipherSuites_connect()
246 p = TestSSLEnginePair.create( in test_SSLEngine_getSupportedCipherSuites_connect()
318 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getEnabledCipherSuites_returnsCopies()
325 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledCipherSuites_storesCopy()
335 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledCipherSuites()
367 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedProtocols_returnsCopies()
[all …]
DSSLSessionContextTest.java60 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getIds()
64 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getIds()
81 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getSession()
98 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getSession()
115 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getSessionCacheSize()
122 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getSessionCacheSize()
131 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_setSessionCacheSize_noConnect()
154 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_setSessionCacheSize_oneConnect()
166 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_setSessionCacheSize_dynamic()
247 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getSessionTimeout()
[all …]
DSSLSocketTest.java332 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_startHandshake()
388 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_confirmSessionReuse()
424 TestSSLContext c = TestSSLContext.create(null, null, null, null, null, null, null, null, in test_SSLSocket_NoEnabledCipherSuites_Failure()
455 TestSSLContext c = TestSSLContext.create(null, null, null, null, null, null, null, null, in test_SSLSocket_startHandshake_noKeyStore()
484 TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_startHandshake_noClientCertificate()
506 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_HandshakeCompletedListener()
628 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException()
656 TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_getUseClientMode()
693 TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_setUseClientMode()
733 TestSSLSocketPair pair = TestSSLSocketPair.create(); in test_SSLSocket_setUseClientMode_afterHandshake()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamTesterTest.java84 public OutputStream create() throws IOException { in create() method in OutputStreamTesterTest.FileOutputStreamSinkTester
104 public OutputStream create() throws IOException { in create() method in OutputStreamTesterTest.ByteArrayOutputStreamSinkTester
119 public OutputStream create() throws IOException { in create() method in OutputStreamTesterTest.PipedOutputStreamSinkTester
148 public OutputStream create(OutputStream delegate) throws Exception { in create() method in OutputStreamTesterTest.FilterOutputStreamTester
164 public OutputStream create(OutputStream delegate) throws Exception { in create() method in OutputStreamTesterTest.BufferedOutputStreamTester
175 public OutputStream create(OutputStream delegate) throws Exception { in create() method in OutputStreamTesterTest.DataOutputStreamTester
186 public OutputStream create(OutputStream delegate) throws Exception { in create() method in OutputStreamTesterTest.ObjectOutputStreamTester
198 public OutputStream create(OutputStream delegate) throws Exception { in create() method in OutputStreamTesterTest.PrintStreamTester
DWriterTesterTest.java80 public Writer create() throws Exception { in create() method in WriterTesterTest.FileWriterCharSinkTester
96 public Writer create() throws Exception { in create() method in WriterTesterTest.CharArrayWriterCharSinkTester
112 public Writer create() throws IOException { in create() method in WriterTesterTest.PipedWriterCharSinkTester
144 public Writer create() throws Exception { in create() method in WriterTesterTest.StringWriterCharSinkTester
163 public Writer create(Writer delegate) throws Exception { in create() method in WriterTesterTest.BufferedWriterCharSinkTester
175 public Writer create(Writer delegate) throws Exception { in create() method in WriterTesterTest.FilterWriterCharSinkTester
188 public Writer create(Writer delegate) throws Exception { in create() method in WriterTesterTest.PrintWriterCharSinkTester
203 public Writer create() throws Exception { in create() method in WriterTesterTest.OutputStreamWriterCharSinkTester
/libcore/luni/src/main/java/java/net/
DPlainServerSocketImpl.java37 protected void create(boolean isStreaming) throws IOException { in create() method in PlainServerSocketImpl
38 super.create(isStreaming); in create()
DDatagramSocketImpl.java71 protected abstract void create() throws SocketException; in create() method in DatagramSocketImpl
DSocketImpl.java133 protected abstract void create(boolean isStreaming) throws IOException; in create() method in SocketImpl
DServerSocket.java64 impl.create(true); in ServerSocket()
104 impl.create(true); in ServerSocket()
/libcore/luni/src/main/java/libcore/icu/
DTransliterator.java29 peer = create(id); in Transliterator()
53 private static native long create(String id); in create() method in Transliterator
DAlphabeticIndex.java81 peer = create(locale.toString()); in AlphabeticIndex()
161 private static native long create(String locale); in create() method in AlphabeticIndex
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java46 public static TestSSLEnginePair create(Hooks hooks) throws IOException { in create() method in TestSSLEnginePair
47 return create(TestSSLContext.create(), hooks); in create()
50 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { in create() method in TestSSLEnginePair
51 return create(c, hooks, null); in create()
54 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() method in TestSSLEnginePair
DTestSSLSessions.java65 public static final TestSSLSessions create() { in create() method in TestSSLSessions
70 TestSSLSocketPair s = TestSSLSocketPair.create(); in create()
DTestSSLContext.java135 public static TestSSLContext create() { in create() method in TestSSLContext
136 return create(TestKeyStore.getClient(), in create()
143 public static TestSSLContext create(TestKeyStore client, TestKeyStore server) { in create() method in TestSSLContext
161 return create(client.keyStore, client.storePassword, in createWithAdditionalKeyManagers()
174 public static TestSSLContext create(KeyStore clientKeyStore, char[] clientStorePassword, in create() method in TestSSLContext
DTestSSLSocketPair.java58 public static TestSSLSocketPair create () { in create() method in TestSSLSocketPair
59 TestSSLContext c = TestSSLContext.create(); in create()
/libcore/libart/src/main/java/java/lang/
DThread.java199 create(null, null, null, 0); in Thread()
215 create(null, runnable, null, 0); in Thread()
237 create(null, runnable, threadName, 0); in Thread()
257 create(null, null, threadName, 0); in Thread()
277 create(group, runnable, null, 0); in Thread()
301 create(group, runnable, threadName, 0); in Thread()
322 create(group, null, threadName, 0); in Thread()
350 create(group, runnable, threadName, stackSize); in Thread()
402 private void create(ThreadGroup group, Runnable runnable, String threadName, long stackSize) { in create() method in Thread
/libcore/luni/src/main/java/libcore/util/
DBasicLruCache.java54 result = create(key); in get()
105 protected V create(K key) { in create() method in BasicLruCache
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidURITest.java45 URI b = URI.create(base); in resolve()
DOldURITest.java102 URI.create(s); in test_createLjava_lang_String()
/libcore/benchmarks/src/benchmarks/regression/
DSSLLoopbackBenchmark.java39 TestSSLContext context = TestSSLContext.create( in time()

123