diff options
author | Nick Kralevich <nnk@google.com> | 2015-02-26 13:59:14 -0800 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2015-02-26 13:59:14 -0800 |
commit | b86b5104cb218849c1adeb38fa20c8a9110cadb7 (patch) | |
tree | 51634f46a9b40a7adc86df199019e45a4c81d113 /luni/src/main/java/android | |
parent | a8a489492749b845cc2a85d67c664449d7b0b019 (diff) | |
download | libcore-b86b5104cb218849c1adeb38fa20c8a9110cadb7.zip libcore-b86b5104cb218849c1adeb38fa20c8a9110cadb7.tar.gz libcore-b86b5104cb218849c1adeb38fa20c8a9110cadb7.tar.bz2 |
Add ST_* constants to OsConstants
Expose ST_* constants via OsConstants. Without these constants being
exposed, it's impossible to meaningfully use StructStatVfs.f_flag
returned from the Os.statvfs() call.
For now, @hide the new constants.
Change-Id: I82536521972e9e87a1936dd712b9e8153d120cc1
Diffstat (limited to 'luni/src/main/java/android')
-rw-r--r-- | luni/src/main/java/android/system/OsConstants.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/luni/src/main/java/android/system/OsConstants.java b/luni/src/main/java/android/system/OsConstants.java index 55870ec..8389e5f 100644 --- a/luni/src/main/java/android/system/OsConstants.java +++ b/luni/src/main/java/android/system/OsConstants.java @@ -434,6 +434,15 @@ public final class OsConstants { public static final int STDERR_FILENO = placeholder(); public static final int STDIN_FILENO = placeholder(); public static final int STDOUT_FILENO = placeholder(); + /** @hide */ public static final int ST_MANDLOCK = placeholder(); + /** @hide */ public static final int ST_NOATIME = placeholder(); + /** @hide */ public static final int ST_NODEV = placeholder(); + /** @hide */ public static final int ST_NODIRATIME = placeholder(); + /** @hide */ public static final int ST_NOEXEC = placeholder(); + /** @hide */ public static final int ST_NOSUID = placeholder(); + /** @hide */ public static final int ST_RDONLY = placeholder(); + /** @hide */ public static final int ST_RELATIME = placeholder(); + /** @hide */ public static final int ST_SYNCHRONOUS = placeholder(); public static final int S_IFBLK = placeholder(); public static final int S_IFCHR = placeholder(); public static final int S_IFDIR = placeholder(); |