/libcore/luni/src/main/java/android/system/ |
D | StructUcred.java | 34 public final int gid; field in StructUcred 36 public StructUcred(int pid, int uid, int gid) { in StructUcred() argument 39 this.gid = gid; in StructUcred()
|
D | Os.java | 65 …c static void chown(String path, int uid, int gid) throws ErrnoException { Libcore.os.chown(path, … in chown() argument 110 …ic void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { Libcore.os.fchown(fd, … in fchown() argument 235 … static void lchown(String path, int uid, int gid) throws ErrnoException { Libcore.os.lchown(path,… in lchown() argument 415 public static void setgid(int gid) throws ErrnoException { Libcore.os.setgid(gid); } in setgid() argument
|
/libcore/luni/src/main/java/libcore/io/ |
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 | 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 102 …public void lchown(String path, int uid, int gid) throws ErrnoException { os.lchown(path, uid, gid… in lchown() argument 138 public void setgid(int gid) throws ErrnoException { os.setgid(gid); } in setgid() argument
|
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 94 public void lchown(String path, int uid, int gid) throws ErrnoException; in lchown() argument 131 public void setgid(int gid) throws ErrnoException; in setgid() 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 96 public native void lchown(String path, int uid, int gid) throws ErrnoException; in lchown() argument 212 public native void setgid(int gid) throws ErrnoException; in setgid() 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() 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() 940 static void Posix_lchown(JNIEnv* env, jobject, jstring javaPath, jint uid, jint gid) { in Posix_lchown() argument 945 throwIfMinusOne(env, "lchown", TEMP_FAILURE_RETRY(lchown(path.c_str(), uid, gid))); in Posix_lchown() 1267 static void Posix_setgid(JNIEnv* env, jobject, jint gid) { in Posix_setgid() argument 1268 throwIfMinusOne(env, "setgid", TEMP_FAILURE_RETRY(setgid(gid))); in Posix_setgid()
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 80 assertEquals(Libcore.os.getgid(), credentials.gid); in checkUnixDomainSocket()
|