Searched defs:errno (Results 1 - 7 of 7) sorted by relevance

/libcore/luni/src/main/java/android/system/
H A DErrnoException.java25 * errno value, for comparison against the constants in {@link OsConstants}, should sophisticated
32 * The errno value, for comparison with the {@code E} constants in {@link OsConstants}.
34 public final int errno; field in class:ErrnoException
37 * Constructs an instance with the given function name and errno value.
39 public ErrnoException(String functionName, int errno) { argument
41 this.errno = errno;
45 * Constructs an instance with the given function name, errno value, and cause.
47 public ErrnoException(String functionName, int errno, Throwable cause) { argument
50 this.errno
[all...]
H A DOs.java511 public static String strerror(int errno) { return Libcore.os.strerror(errno); } argument
H A DOsConstants.java643 * Returns the string name of an errno value.
644 * For example, "EACCES". See {@link Os#strerror} for human-readable errno descriptions.
646 public static String errnoName(int errno) { argument
647 if (errno == E2BIG) {
650 if (errno == EACCES) {
653 if (errno == EADDRINUSE) {
656 if (errno == EADDRNOTAVAIL) {
659 if (errno == EAFNOSUPPORT) {
662 if (errno == EAGAIN) {
665 if (errno
[all...]
/libcore/support/src/test/java/tests/io/
H A DMockOs.java113 public void enqueueFault(String methodName, final int errno) { argument
116 throw new ErrnoException(method.getName(), errno);
/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java165 public String strerror(int errno) { return os.strerror(errno); } argument
H A DOs.java158 public String strerror(int errno); argument
H A DPosix.java242 public native String strerror(int errno); argument

Completed in 5770 milliseconds