/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | SelectorTest.java | 34 Selector selector = Selector.open(); 35 ServerSocketChannel ssc = ServerSocketChannel.open(); 40 SocketChannel sc = SocketChannel.open(); 55 Selector selector = Selector.open(); 58 SocketChannel sc = SocketChannel.open(); 74 Selector selector = Selector.open(); 85 final Selector selector = Selector.open(); 120 Selector selector = Selector.open();
|
H A D | PipeTest.java | 24 Pipe p = Pipe.open();
|
H A D | ServerSocketChannelTest.java | 24 ServerSocketChannel ssc = ServerSocketChannel.open();
|
H A D | DatagramChannelTest.java | 27 DatagramChannel dc = DatagramChannel.open(); 48 DatagramChannel dc = DatagramChannel.open();
|
H A D | SocketChannelTest.java | 28 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress());
|
H A D | OldSocketChannelTest.java | 63 this.channel1 = SocketChannel.open(); 64 this.channel2 = SocketChannel.open(); 101 channel = SocketChannel.open(); 121 SocketChannel testSChannel = MockSocketChannel.open(); 186 this.channel1 = SocketChannel.open(localAddr1); 191 this.channel1 = SocketChannel.open(newTypeAddress); 200 this.channel1 = SocketChannel.open(unresolvedAddress); 208 channel1IP = SocketChannel.open(null); 299 SocketChannel sc = SocketChannel.open(); 315 sc = SocketChannel.open(); [all...] |
H A D | OldServerSocketChannelTest.java | 48 this.serverChannel = ServerSocketChannel.open(); 49 this.clientChannel = SocketChannel.open();
|
H A D | ChannelsTest.java | 52 Pipe pipe = Pipe.open();
|
/libcore/luni/src/test/java/libcore/sqlite/ |
H A D | OldExceptionTest.java | 33 db.open(dbFile.getName(), 0);
|
H A D | OldBlobTest.java | 40 db.open(dbFile.getPath(), 0);
|
H A D | OldDatabaseTest.java | 83 db.open(dbFile.getPath(), 0); 104 db2.open(dbFile.getPath(), 0); 106 db.open(dbFile.getPath(), 0); 107 //db is open 108 db2.open(dbFile.getPath(), 0); 114 db.open(dbFile.getPath(), 0); 115 // open second db while db1 still open 117 db2.open(dbFile.getPath(), 0); 118 db2.open(dbFil [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
H A D | ServerSocketChannel.java | 32 * A server-socket channel is open but not bound when created by the {@code 33 * open()} method. Calling {@code accept} before bound will cause a 50 * Creates an open and unbound server-socket channel. 55 * @return the new channel which is open but unbound. 59 public static ServerSocketChannel open() throws IOException { method in class:ServerSocketChannel
|
H A D | SocketChannel.java | 32 * A socket channel is open but not connected when created by {@code open()}. 71 * Creates an open and unconnected socket channel. 76 * @return the new channel which is open but unconnected. 80 public static SocketChannel open() throws IOException { method in class:SocketChannel 87 * This method performs a call to {@code open()} followed by a call to 107 public static SocketChannel open(SocketAddress address) throws IOException { method in class:SocketChannel 108 SocketChannel socketChannel = open();
|
H A D | Pipe.java | 88 public static Pipe open() throws IOException { method in class:Pipe
|
H A D | Selector.java | 45 public static Selector open() throws IOException { method in class:Selector 72 * Indicates whether this selector is open.
|
H A D | DatagramChannel.java | 33 * A datagram channel is open but not connected when created with the 34 * {@code open()} method. After it is connected, it will keep the connected 61 * @return the new channel which is open but not connected. 65 public static DatagramChannel open() throws IOException { method in class:DatagramChannel
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | CloseGuard.java | 33 * guard.open("cleanup"); 69 * guard.open("cleanup"); 90 * When used in a constructor calls to {@code open} should occur at 94 * in a method, the call to {@code open} should occur just after 126 * #open(String)} can be used to set up the instance to warn on 166 * If CloseGuard is enabled, {@code open} initializes the instance 174 public void open(String closer) { method in class:CloseGuard
|
H A D | DexFile.java | 28 * Note we don't directly open and read the DEX file here. They're memory-mapped 41 * /data/dalvik-cache and open it, possibly creating or updating 62 * /data/dalvik-cache and open it, possibly creating or updating 77 guard.open("close"); 95 guard.open("close"); 121 * If unable to open the source or output file. 130 * decided to open it multiple times. In practice this may not
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | InterruptedStreamTest.java | 82 testInterruptReadableChannel(Pipe.open().source()); 86 testInterruptWritableChannel(Pipe.open().sink()); 103 ServerSocketChannel serverSocketChannel = ServerSocketChannel.open(); 105 SocketChannel clientSocketChannel = SocketChannel.open();
|
/libcore/luni/src/main/java/java/io/ |
H A D | FileInputStream.java | 78 this.fd = IoBridge.open(file.getAbsolutePath(), O_RDONLY); 80 guard.open("close"); 97 // Note that we do not call guard.open here because the
|
H A D | FileOutputStream.java | 88 this.fd = IoBridge.open(file.getAbsolutePath(), mode); 90 this.guard.open("close"); 106 // Note that we do not call guard.open here because the
|
/libcore/luni/src/test/java/libcore/io/ |
H A D | DiskLruCacheTest.java | 55 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 92 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 221 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 233 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 241 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 249 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 257 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 265 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 274 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 286 cache = DiskLruCache.open(cacheDi [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | MemoryMappedFile.java | 51 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0);
|
/libcore/luni/src/main/java/libcore/net/ |
H A D | RawSocket.java | 54 guard.open("close");
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONStringer.java | 139 return open(Scope.EMPTY_ARRAY, "["); 158 return open(Scope.EMPTY_OBJECT, "{"); 174 JSONStringer open(Scope empty, String openBracket) throws JSONException { method in class:JSONStringer
|