Home
last modified time | relevance | path

Searched defs:uid (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/main/java/android/system/
DStructUcred.java31 public final int uid; field in StructUcred
36 public StructUcred(int pid, int uid, int gid) { in StructUcred()
DOs.java124 …public static void chown(String path, int uid, int gid) throws ErrnoException { Libcore.os.chown(p… in chown()
174 …public static void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { Libcore.os.… in fchown()
276 …public static StructPasswd getpwuid(int uid) throws ErrnoException { return Libcore.os.getpwuid(ui… in getpwuid()
419 …public static void lchown(String path, int uid, int gid) throws ErrnoException { Libcore.os.lchown… in lchown()
819 public static void setuid(int uid) throws ErrnoException { Libcore.os.setuid(uid); } in setuid()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixUserPrincipals.java58 int uid() { in uid() method in UnixUserPrincipals.User
115 static User fromUid(int uid) { in fromUid()
170 int uid = lookupName(name, false); in lookupUser() local
DUnixNativeDispatcher.java349 static void chown(UnixPath path, int uid, int gid) throws UnixException { in chown()
352 chown0(buffer.address(), uid, gid); in chown() local
357 private static native void chown0(long pathAddress, int uid, int gid) in chown0()
363 static void lchown(UnixPath path, int uid, int gid) throws UnixException { in lchown()
366 lchown0(buffer.address(), uid, gid); in lchown() local
371 private static native void lchown0(long pathAddress, int uid, int gid) in lchown0()
377 static native void fchown(int fd, int uid, int gid) throws UnixException; in fchown()
494 static native byte[] getpwuid(int uid) throws UnixException; in getpwuid()
DUnixFileAttributeViews.java243 final void setOwners(int uid, int gid) throws IOException { in setOwners()
273 int uid = ((UnixUserPrincipals.User)owner).uid(); in setOwner() local
DUnixSecureDirectoryStream.java523 private void setOwners(int uid, int gid) throws IOException { in setOwners()
559 int uid = ((UnixUserPrincipals.User)owner).uid(); in setOwner() local
DUnixFileAttributes.java105 int uid() { return st_uid; } in uid() method in UnixFileAttributes
/libcore/ojluni/src/test/java/io/Serializable/records/
DBadValues.java51 static byte[] byteStreamFor(String className, long uid, byte flags) in byteStreamFor()
DSerialVersionUIDTest.java137 static byte[] byteStreamFor(String className, long uid) in byteStreamFor()
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java87 @Override public void chown(String path, int uid, int gid) throws ErrnoException { in chown()
179 @Override public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { in fchown()
226 @Override public void lchown(String path, int uid, int gid) throws ErrnoException { in lchown()
DForwardingOs.java171 …public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid);… in chown()
241 …public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { os.fchown(fd, uid,… in fchown()
337 public StructPasswd getpwuid(int uid) throws ErrnoException { return os.getpwuid(uid); } in getpwuid()
448 …public void lchown(String path, int uid, int gid) throws ErrnoException { os.lchown(path, uid, gid… in lchown()
805 public void setuid(int uid) throws ErrnoException { os.setuid(uid); } in setuid()
DOs.java108 public void chown(String path, int uid, int gid) throws ErrnoException; in chown()
181 public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException; in fchown()
278 public StructPasswd getpwuid(int uid) throws ErrnoException; in getpwuid()
388 public void lchown(String path, int uid, int gid) throws ErrnoException; in lchown()
671 public void setuid(int uid) throws ErrnoException; in setuid()
DLinux.java62 public native void chown(String path, int uid, int gid) throws ErrnoException; in chown()
78 public native void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException; in fchown()
97 public native StructPasswd getpwuid(int uid) throws ErrnoException; in getpwuid()
119 public native void lchown(String path, int uid, int gid) throws ErrnoException; in lchown()
257 public native void setuid(int uid) throws ErrnoException; in setuid()
/libcore/ojluni/src/main/native/
DUnixNativeDispatcher.c596 jlong pathAddress, jint uid, jint gid) in Java_sun_nio_fs_UnixNativeDispatcher_chown0()
608 Java_sun_nio_fs_UnixNativeDispatcher_lchown0(JNIEnv* env, jclass this, jlong pathAddress, jint uid,… in Java_sun_nio_fs_UnixNativeDispatcher_lchown0()
620 Java_sun_nio_fs_UnixNativeDispatcher_fchown(JNIEnv* env, jclass this, jint filedes, jint uid, jint … in Java_sun_nio_fs_UnixNativeDispatcher_fchown()
1034 Java_sun_nio_fs_UnixNativeDispatcher_getpwuid(JNIEnv* env, jclass this, jint uid) in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid()
1139 jint uid = -1; in Java_sun_nio_fs_UnixNativeDispatcher_getpwnam0() local
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp852 jobject getpwuid(uid_t uid) { in getpwuid()
1163 static void Linux_chown(JNIEnv* env, jobject, jstring javaPath, jint uid, jint gid) { in Linux_chown()
1310 static void Linux_fchown(JNIEnv* env, jobject, jobject javaFd, jint uid, jint gid) { in Linux_fchown()
1494 static jobject Linux_getpwuid(JNIEnv* env, jobject, jint uid) { in Linux_getpwuid()
1839 static void Linux_lchown(JNIEnv* env, jobject, jstring javaPath, jint uid, jint gid) { in Linux_lchown()
2542 static void Linux_setuid(JNIEnv* env, jobject, jint uid) { in Linux_setuid()