Searched defs:open (Results 1 - 14 of 14) sorted by relevance

/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 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
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();
/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
/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
/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java105 @Override public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { method in class:BlockGuardOs
110 return os.open(path, flags, mode);
H A DIoBridge.java385 public static FileDescriptor open(String path, int flags) throws FileNotFoundException { method in class:IoBridge
390 fd = Libcore.os.open(path, flags, mode);
392 // Posix open(2) fails with EISDIR only if you ask for write permission.
395 throw new ErrnoException("open", EISDIR);
H A DDiskLruCache.java190 public static DiskLruCache open(File directory, int appVersion, int valueCount, long maxSize) method in class:DiskLruCache
H A DForwardingOs.java88 public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { return os.open(path, flags, mode); } method in class:ForwardingOs
H A DOs.java80 public FileDescriptor open(String path, int flags, int mode) throws ErrnoException; method in interface:Os
H A DPosix.java82 public native FileDescriptor open(String path, int flags, int mode) throws ErrnoException; method in class:Posix
/libcore/luni/src/main/java/libcore/icu/
H A DNativeDecimalFormat.java123 this.address = open(pattern, dfs.getCurrencySymbol(),
139 this.address = open(pattern, data.currencySymbol,
626 private static native int open(String pattern, String currencySymbol, method in class:NativeDecimalFormat

Completed in 127 milliseconds