Home
last modified time | relevance | path

Searched defs:attachment (Results 1 – 24 of 24) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DFutureLikeCompletionHandler.java26 Object attachment; field in FutureLikeCompletionHandler
28 public void completed(V result, Object attachment) { in completed()
40 public void failed(Throwable exc, Object attachment) { in failed()
DAsynchronousFileChannelTest.java253 public String attachment; field in AsynchronousFileChannelTest.RecordingHandler
260 public void completed(Integer result, String attachment) { in completed()
268 public void failed(Throwable exc, String attachment) { in failed()
288 String attachment = "ATTACHMENT"; in testRead_CompletionListener() local
351 afc.read(buf.asReadOnlyBuffer(), 1, attachment, handler); in testRead_CompletionListener() local
460 String attachment = "ATTACHMENT"; in testWrite_CompletionListener() local
475 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y'}), 0, attachment, handler); in testWrite_CompletionListener() local
492 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y', 'z'}), 6, attachment, handler); in testWrite_CompletionListener() local
510 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y' }), 9, attachment, handler); in testWrite_CompletionListener() local
526 afc.write(ByteBuffer.wrap(new byte[] { '0', '2' }), 13, attachment, handler); in testWrite_CompletionListener() local
DAsynchronousSocketChannelTest.java326 Object attachment = new Integer(1); in test_completionHandlerReadWrite() local
327 asc.connect(ss.getLocalSocketAddress(), attachment, connectCompletionHandler); in test_completionHandlerReadWrite() local
385 Object attachment = new Integer(1); in test_scatterReadWrite() local
386 asc.connect(ss.getLocalSocketAddress(), attachment, connectCompletionHandler); in test_scatterReadWrite() local
DAsynchronousServerSocketChannelTest.java163 Integer attachment = new Integer(123); in test_completionHandlerAccept_attachment() local
/libcore/ojluni/src/main/java/java/nio/channels/
DCompletionHandler.java55 void completed(V result, A attachment); in completed()
65 void failed(Throwable exc, A attachment); in failed()
DAsynchronousByteChannel.java109 A attachment, in read()
188 A attachment, in write()
DAsynchronousFileChannel.java460 A attachment, in lock()
491 public final <A> void lock(A attachment, in lock()
678 A attachment, in read()
744 A attachment, in write()
DSelectionKey.java366 private volatile Object attachment = null; field in SelectionKey
397 public final Object attachment() { in attachment() method in SelectionKey
DAsynchronousServerSocketChannel.java285 public abstract <A> void accept(A attachment, in accept()
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousFileChannelImpl.java109 A attachment, in implLock()
125 A attachment, in lock()
213 A attachment, in implRead()
224 A attachment, in read()
234 A attachment, in implWrite()
246 A attachment, in write()
DPendingFuture.java43 private final A attachment; field in PendingFuture
61 A attachment, in PendingFuture()
72 A attachment) in PendingFuture()
95 A attachment() { in attachment() method in PendingFuture
DInvoker.java121 A attachment, in invokeUnchecked()
155 A attachment, in invokeDirect()
170 A attachment, in invoke()
210 final A attachment, in invokeIndirectly()
233 final A attachment, in invokeIndirectly()
DDirectBuffer.java35 public Object attachment(); in attachment() method
DAsynchronousSocketChannelImpl.java194 A attachment, in implConnect()
204 A attachment, in connect()
220 A attachment, in implRead()
290 A attachment, in read()
306 A attachment, in read()
329 A attachment, in implWrite()
394 A attachment, in write()
408 A attachment, in write()
DSimpleAsynchronousFileChannelImpl.java176 final A attachment, in implLock()
290 final A attachment, in implRead()
346 final A attachment, in implWrite()
DAsynchronousServerSocketChannelImpl.java118 implAccept(Object attachment, in implAccept()
129 public final <A> void accept(A attachment, in accept()
DUnixAsynchronousSocketChannelImpl.java312 A attachment, in implConnect()
500 A attachment, in implRead()
695 A attachment, in implWrite()
DSelectorImpl.java125 Object attachment) in register()
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DDirectBuffer.java36 public java.lang.Object attachment(); in attachment() method
DSelectorImpl.java79 java.lang.Object attachment) { in register()
/libcore/ojluni/annotations/mmodule/sun/nio/ch/
DDirectBuffer.annotated.java36 public java.lang.Object attachment(); in attachment() method
/libcore/ojluni/annotations/mmodule/java/nio/
DDirectByteBuffer.annotated.java43 public final java.lang.Object attachment() { throw new RuntimeException("Stub!"); } in attachment() method in DirectByteBuffer
/libcore/ojluni/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java78 public final java.lang.Object attachment() { in attachment() method in DirectByteBuffer
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java147 public final Object attachment() { in attachment() method in DirectByteBuffer