/libcore/luni/src/main/java/android/system/ |
D | StructUcred.java | 31 public final int uid; field in StructUcred 36 public StructUcred(int pid, int uid, int gid) { in StructUcred() argument 38 this.uid = uid; in StructUcred()
|
D | Os.java | 65 …public static void chown(String path, int uid, int gid) throws ErrnoException { Libcore.os.chown(p… in chown() argument 110 …ic static void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { Libcore.os.fcho… in fchown() argument 185 …ide */ public static StructPasswd getpwuid(int uid) throws ErrnoException { return Libcore.os.getp… in getpwuid() argument 235 …public static void lchown(String path, int uid, int gid) throws ErrnoException { Libcore.os.lchown… in lchown() argument 434 public static void setuid(int uid) throws ErrnoException { Libcore.os.setuid(uid); } in setuid() argument
|
/libcore/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 58 …public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid);… in chown() argument 67 …public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { os.fchown(fd, uid,… in fchown() argument 86 public StructPasswd getpwuid(int uid) throws ErrnoException { return os.getpwuid(uid); } in getpwuid() argument 102 …public void lchown(String path, int uid, int gid) throws ErrnoException { os.lchown(path, uid, gid… in lchown() argument 148 public void setuid(int uid) throws ErrnoException { os.setuid(uid); } in setuid() argument
|
D | BlockGuardOs.java | 76 @Override public void chown(String path, int uid, int gid) throws ErrnoException { in chown() argument 78 os.chown(path, uid, gid); in chown() 119 @Override public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { in fchown() argument 121 os.fchown(fd, uid, gid); in fchown() 151 @Override public void lchown(String path, int uid, int gid) throws ErrnoException { in lchown() argument 153 os.lchown(path, uid, gid); in lchown()
|
D | Os.java | 49 public void chown(String path, int uid, int gid) throws ErrnoException; in chown() argument 58 public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException; in fchown() argument 78 public StructPasswd getpwuid(int uid) throws ErrnoException; in getpwuid() argument 94 public void lchown(String path, int uid, int gid) throws ErrnoException; in lchown() argument 141 public void setuid(int uid) throws ErrnoException; in setuid() argument
|
D | Posix.java | 52 public native void chown(String path, int uid, int gid) throws ErrnoException; in chown() argument 61 public native void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException; in fchown() argument 80 public native StructPasswd getpwuid(int uid) throws ErrnoException; in getpwuid() argument 96 public native void lchown(String path, int uid, int gid) throws ErrnoException; in lchown() argument 222 public native void setuid(int uid) throws ErrnoException; in setuid() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 345 return env->NewObject(JniConstants::structUcredClass, ctor, u.pid, u.uid, u.gid); in makeStructUcred() 430 jobject getpwuid(uid_t uid) { in getpwuid() argument 431 return process("getpwuid_r", getpwuid_r(uid, &mPwd, mBuffer.get(), mBufferSize, &mResult)); in getpwuid() 500 static void Posix_chown(JNIEnv* env, jobject, jstring javaPath, jint uid, jint gid) { in Posix_chown() argument 505 throwIfMinusOne(env, "chown", TEMP_FAILURE_RETRY(chown(path.c_str(), uid, gid))); in Posix_chown() 578 static void Posix_fchown(JNIEnv* env, jobject, jobject javaFd, jint uid, jint gid) { in Posix_fchown() argument 580 throwIfMinusOne(env, "fchown", TEMP_FAILURE_RETRY(fchown(fd, uid, gid))); in Posix_fchown() 784 static jobject Posix_getpwuid(JNIEnv* env, jobject, jint uid) { in Posix_getpwuid() argument 785 return Passwd(env).getpwuid(uid); in Posix_getpwuid() 940 static void Posix_lchown(JNIEnv* env, jobject, jstring javaPath, jint uid, jint gid) { in Posix_lchown() argument [all …]
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 79 assertEquals(Libcore.os.getuid(), credentials.uid); in checkUnixDomainSocket()
|