/libcore/luni/src/main/java/libcore/io/ |
D | Os.java | 19 import android.system.ErrnoException; 44 …scriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketExcepti… in accept() 45 public boolean access(String path, int mode) throws ErrnoException; in access() 47 …public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketEx… in bind() 48 … public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException; in bind() 49 public void chmod(String path, int mode) throws ErrnoException; in chmod() 50 public void chown(String path, int uid, int gid) throws ErrnoException; in chown() 51 public void close(FileDescriptor fd) throws ErrnoException; in close() 52 …public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, Socke… in connect() 53 …public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti… in connect() [all …]
|
D | Posix.java | 19 import android.system.ErrnoException; 47 …scriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketExcepti… in accept() 48 public native boolean access(String path, int mode) throws ErrnoException; in access() 50 …public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, S… in bind() 51 …public native void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExc… in bind() 52 public native void chmod(String path, int mode) throws ErrnoException; in chmod() 53 public native void chown(String path, int uid, int gid) throws ErrnoException; in chown() 54 public native void close(FileDescriptor fd) throws ErrnoException; in close() 55 …oid connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketExcepti… in connect() 56 …public native void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, Socket… in connect() [all …]
|
D | ForwardingOs.java | 19 import android.system.ErrnoException; 53 …scriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketExcepti… in accept() 54 …public boolean access(String path, int mode) throws ErrnoException { return os.access(path, mode);… in access() 56 …public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketEx… in bind() 57 …public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException … in bind() 58 public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); } in chmod() 59 …public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid);… in chown() 60 public void close(FileDescriptor fd) throws ErrnoException { os.close(fd); } in close() 61 …public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, Socke… in connect() 62 …public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti… in connect() [all …]
|
D | BlockGuardOs.java | 19 import android.system.ErrnoException; 45 private FileDescriptor tagSocket(FileDescriptor fd) throws ErrnoException { in tagSocket() 50 throw new ErrnoException("socket", EINVAL, e); in tagSocket() 54 private void untagSocket(FileDescriptor fd) throws ErrnoException { in untagSocket() 58 throw new ErrnoException("socket", EINVAL, e); in untagSocket() 62 …scriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketExcepti… in accept() 67 @Override public boolean access(String path, int mode) throws ErrnoException { in access() 72 @Override public void chmod(String path, int mode) throws ErrnoException { in chmod() 77 @Override public void chown(String path, int uid, int gid) throws ErrnoException { in chown() 82 @Override public void close(FileDescriptor fd) throws ErrnoException { in close() [all …]
|
D | IoBridge.java | 19 import android.system.ErrnoException; 71 } catch (ErrnoException errnoException) { in available() 100 } catch (ErrnoException errnoException) { in bind() 125 } catch (ErrnoException errnoException) { in connect() 136 …scriptor fd, InetAddress inetAddress, int port, int timeoutMs) throws ErrnoException, IOException { in connectErrno() 159 } catch (ErrnoException errnoException) { in connectErrno() 178 …atic String connectDetail(InetAddress inetAddress, int port, int timeoutMs, ErrnoException cause) { in connectDetail() 207 } catch (ErrnoException errnoException) { in closeAndSignalBlockedThreads() 213 ErrnoException cause; in isConnected() 226 throw new ErrnoException("isConnected", connectError); // The connect(2) failed. in isConnected() [all …]
|
D | IoUtils.java | 19 import android.system.ErrnoException; 45 } catch (ErrnoException errnoException) { in close() 98 } catch (ErrnoException errnoException) { in setBlocking() 166 } catch (ErrnoException errnoException) { in canOpenReadOnly() 222 } catch (ErrnoException exception) { in FileReader() 254 } catch (ErrnoException e) { in readFully()
|
D | MemoryMappedFile.java | 19 import android.system.ErrnoException; 50 public static MemoryMappedFile mmapRO(String path) throws ErrnoException { in mmapRO() 66 public synchronized void close() throws ErrnoException { in close()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 43 …ptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketExcepti… in accept() 49 …scriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketExcepti… in accept() 54 …public static boolean access(String path, int mode) throws ErrnoException { return Libcore.os.acce… in access() 61 …public static void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, S… in bind() 63 …ic static void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti… in bind() 68 …public static void chmod(String path, int mode) throws ErrnoException { Libcore.os.chmod(path, mod… in chmod() 73 …public static void chown(String path, int uid, int gid) throws ErrnoException { Libcore.os.chown(p… in chown() 78 public static void close(FileDescriptor fd) throws ErrnoException { Libcore.os.close(fd); } in close() 83 …oid connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketExcepti… in connect() 85 …static void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti… in connect() [all …]
|
D | ErrnoException.java | 28 public final class ErrnoException extends Exception { class 39 public ErrnoException(String functionName, int errno) { in ErrnoException() method in ErrnoException 47 public ErrnoException(String functionName, int errno, Throwable cause) { in ErrnoException() method in ErrnoException
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileDescriptor.java | 28 import android.system.ErrnoException; 164 } catch (ErrnoException e) { in dupFd()
|
D | RandomAccessFile.java | 32 import android.system.ErrnoException; 521 } catch (ErrnoException errnoException) { in getFilePointer() 546 } catch (ErrnoException errnoException) { in seek() 560 } catch (ErrnoException errnoException) { in length() 590 } catch (ErrnoException errnoException) { in setLength()
|
/libcore/support/src/test/java/tests/io/ |
D | MockOs.java | 19 import android.system.ErrnoException; 115 … @Override public Object invoke(Object proxy, Method method, Object[] args) throws ErrnoException { in enqueueFault() 116 throw new ErrnoException(method.getName(), errno); in enqueueFault()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6AddressImpl.java | 27 import android.system.ErrnoException; 117 if (gaiException.getCause() instanceof ErrnoException) { in lookupHostByName() 118 if (((ErrnoException) gaiException.getCause()).errno == EACCES) { in lookupHostByName()
|
D | DatagramSocket.java | 35 import android.system.ErrnoException; 1314 } catch (ErrnoException errnoException) { in setNetworkInterface()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | SocketTaggingTest.java | 19 import android.system.ErrnoException; 151 } catch (ErrnoException e) { in fstat()
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 19 import android.system.ErrnoException; 376 } catch (ErrnoException expected) { in test_socketFamilies() 440 } catch(ErrnoException e) { in test_Ipv4Fallback() 457 } catch (ErrnoException e) { in test_unlink() 476 } catch (ErrnoException expected) { in test_recvfrom_concurrentShutdown() 512 } catch (ErrnoException e) { in test_xattr() 523 } catch (ErrnoException e) { in test_xattr() 535 } catch (ErrnoException e) { in test_xattr()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfoDB.java | 19 import android.system.ErrnoException; 118 } catch (ErrnoException errnoException) { in loadData()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileInputStreamTest.java | 28 import android.system.ErrnoException; 257 } catch (ErrnoException e) { in getOpenFdsForPrefix()
|
D | FileTest.java | 321 } catch (android.system.ErrnoException expected) { in testExistsOnSystem()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexFile.java | 19 import android.system.ErrnoException; 143 } catch (ErrnoException ignored) { in DexFile()
|
D | DexPathList.java | 19 import android.system.ErrnoException; 245 } catch (ErrnoException ignored) { in splitPaths()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 32 import android.system.ErrnoException; 957 } catch (ErrnoException exception) { in initUnchangeableSystemProperties()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileChannelImpl.java | 45 import android.system.ErrnoException; 893 } catch (ErrnoException e) { in map()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | DatagramChannelTest.java | 20 import android.system.ErrnoException; 2541 } catch (ErrnoException expected) { in test_concurrentShutdown()
|
/libcore/ |
D | non_openjdk_java_files.mk | 2 luni/src/main/java/android/system/ErrnoException.java \
|