/libcore/support/src/test/java/org/apache/harmony/testframework/ |
D | SinkTester.java | 42 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()
|
D | CharSinkTester.java | 42 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()
|
D | WrapperTester.java | 39 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()
|
D | CharWrapperTester.java | 38 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/ |
D | SSLSessionTest.java | 28 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 …]
|
D | SSLEngineTest.java | 74 TestSSLContext.create().clientContext.createSSLEngine()); in test_SSLEngine_defaultConfiguration() 78 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedCipherSuites_returnsCopies() 112 final TestSSLEnginePair engines = TestSSLEnginePair.create(null /* hooks */); in test_SSLEngine_underflowsOnEmptyBuffersAfterHandshake() 172 cWithWrongPrivateKeys = TestSSLContext.create(testKeyStore, testKeyStore); in test_SSLEngine_getSupportedCipherSuites_connect() 213 pair = TestSSLEnginePair.create(c, new TestSSLEnginePair.Hooks() { in test_SSLEngine_getSupportedCipherSuites_connect() 251 p = TestSSLEnginePair.create( in test_SSLEngine_getSupportedCipherSuites_connect() 323 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getEnabledCipherSuites_returnsCopies() 330 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledCipherSuites_storesCopy() 340 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledCipherSuites() 372 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedProtocols_returnsCopies() [all …]
|
D | SSLSessionContextTest.java | 60 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 …]
|
D | SSLSocketTest.java | 345 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_startHandshake() 402 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_confirmSessionReuse() 438 TestSSLContext c = TestSSLContext.create(null, null, null, null, null, null, null, null, in test_SSLSocket_NoEnabledCipherSuites_Failure() 469 TestSSLContext c = TestSSLContext.create(null, null, null, null, null, null, null, null, in test_SSLSocket_startHandshake_noKeyStore() 498 TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_startHandshake_noClientCertificate() 520 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_HandshakeCompletedListener() 643 final TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException() 671 TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_getUseClientMode() 708 TestSSLContext c = TestSSLContext.create(); in test_SSLSocket_setUseClientMode() 748 TestSSLSocketPair pair = TestSSLSocketPair.create(); in test_SSLSocket_setUseClientMode_afterHandshake() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | OutputStreamTesterTest.java | 84 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
|
D | WriterTesterTest.java | 80 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/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLEnginePair.java | 46 public static TestSSLEnginePair create() throws IOException { in create() method in TestSSLEnginePair 47 return create(null); in create() 50 public static TestSSLEnginePair create(Hooks hooks) throws IOException { in create() method in TestSSLEnginePair 51 return create(TestSSLContext.create(), hooks); in create() 54 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { in create() method in TestSSLEnginePair 55 return create(c, hooks, null); in create() 58 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() method in TestSSLEnginePair
|
D | TestSSLSessions.java | 65 public static final TestSSLSessions create() { in create() method in TestSSLSessions 70 TestSSLSocketPair s = TestSSLSocketPair.create(); in create()
|
D | TestSSLSocketPair.java | 58 public static TestSSLSocketPair create () { in create() method in TestSSLSocketPair 59 TestSSLContext c = TestSSLContext.create(); in create()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | CoderResult.java | 199 protected abstract CoderResult create(int len); in create() method in CoderResult.Cache 213 e = create(len); in get() 223 public CoderResult create(int len) { 239 public CoderResult create(int len) {
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | ThreadLocalCoders.java | 51 abstract Object create(Object name); in create() method in ThreadLocalCoders.Cache 81 Object ob = create(name); in forName() 97 Object create(Object name) { 121 Object create(Object name) {
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpClient.java | 107 public static FtpClient create() { in create() method in FtpClient 121 … public static FtpClient create(InetSocketAddress dest) throws FtpProtocolException, IOException { in create() method in FtpClient 122 FtpClient client = create(); in create() 139 public static FtpClient create(String dest) throws FtpProtocolException, IOException { in create() method in FtpClient 140 return create(new InetSocketAddress(dest, FTP_PORT)); in create()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | LRUCache.java | 42 abstract protected V create(N name); in create() method in LRUCache 70 V ob = create(name); in forName()
|
D | SoftCache.java | 128 private static ValueCell create(Object key, Object value, in create() method in SoftCache.ValueCell 291 hash.put(key, ValueCell.create(key, v, queue)); in get() 314 ValueCell vc = ValueCell.create(key, value, queue); in put() 371 return ent.setValue(ValueCell.create(ent.getKey(), value, queue)); in setValue()
|
/libcore/luni/src/main/java/libcore/util/ |
D | BasicLruCache.java | 58 result = create(key); in get() 117 protected V create(K key) { in create() method in BasicLruCache
|
D | NativeAllocationRegistry.java | 128 Cleaner cleaner = Cleaner.create(referent, new CleanerThunk(nativePtr)); in registerNativeAllocation() 171 Cleaner cleaner = Cleaner.create(referent, thunk); in registerNativeAllocation()
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | DefaultFtpClientProvider.java | 35 return sun.net.ftp.impl.FtpClient.create(); in createFtpClient()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ApplicationProxy.java | 40 public static ApplicationProxy create(Proxy proxy) { in create() method in ApplicationProxy
|
D | SocksProxy.java | 42 public static SocksProxy create(SocketAddress addr, int version) { in create() method in SocksProxy
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DefaultSelectorProvider.java | 47 public static SelectorProvider create() { in create() method in DefaultSelectorProvider
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
D | NTLMAuthenticationProxy.java | 58 AuthenticationInfo create(boolean isProxy, in create() method in NTLMAuthenticationProxy 70 AuthenticationInfo create(boolean isProxy, in create() method in NTLMAuthenticationProxy
|