Searched refs:open (Results 1 - 25 of 56) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DSelectorTest.java34 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 DPipeTest.java24 Pipe p = Pipe.open();
H A DServerSocketChannelTest.java24 ServerSocketChannel ssc = ServerSocketChannel.open();
H A DDatagramChannelTest.java27 DatagramChannel dc = DatagramChannel.open();
48 DatagramChannel dc = DatagramChannel.open();
H A DSocketChannelTest.java28 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress());
H A DOldSocketChannelTest.java63 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 DOldServerSocketChannelTest.java48 this.serverChannel = ServerSocketChannel.open();
49 this.clientChannel = SocketChannel.open();
H A DChannelsTest.java52 Pipe pipe = Pipe.open();
/libcore/luni/src/test/java/libcore/sqlite/
H A DOldExceptionTest.java33 db.open(dbFile.getName(), 0);
H A DOldBlobTest.java40 db.open(dbFile.getPath(), 0);
H A DOldDatabaseTest.java83 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 DServerSocketChannel.java32 * 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 DSocketChannel.java32 * 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 DPipe.java88 public static Pipe open() throws IOException { method in class:Pipe
H A DSelector.java45 public static Selector open() throws IOException { method in class:Selector
72 * Indicates whether this selector is open.
H A DDatagramChannel.java33 * 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 DCloseGuard.java33 * 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 DDexFile.java28 * 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 DInterruptedStreamTest.java82 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 DFileInputStream.java78 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 DFileOutputStream.java88 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 DDiskLruCacheTest.java55 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 DMemoryMappedFile.java51 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0);
/libcore/luni/src/main/java/libcore/net/
H A DRawSocket.java54 guard.open("close");
/libcore/json/src/main/java/org/json/
H A DJSONStringer.java139 return open(Scope.EMPTY_ARRAY, "[");
158 return open(Scope.EMPTY_OBJECT, "{");
174 JSONStringer open(Scope empty, String openBracket) throws JSONException { method in class:JSONStringer

Completed in 165 milliseconds

123