Home
last modified time | relevance | path

Searched refs:User (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixUserPrincipals.java37 private static User createSpecial(String name) { return new User(-1, name); } in createSpecial()
39 static final User SPECIAL_OWNER = createSpecial("OWNER@");
40 static final User SPECIAL_GROUP = createSpecial("GROUP@");
41 static final User SPECIAL_EVERYONE = createSpecial("EVERYONE@");
43 static class User implements UserPrincipal { class in UnixUserPrincipals
48 private User(int id, boolean isGroup, String name) { in User() method in UnixUserPrincipals.User
54 User(int id, String name) { in User() method in UnixUserPrincipals.User
88 if (!(obj instanceof User)) in equals()
90 User other = (User)obj; in equals()
108 static class Group extends User implements GroupPrincipal {
[all …]
DUnixFileAttributeViews.java269 if (!(owner instanceof UnixUserPrincipals.User)) in setOwner()
273 int uid = ((UnixUserPrincipals.User)owner).uid(); in setOwner()
DUnixSecureDirectoryStream.java550 if (!(owner instanceof UnixUserPrincipals.User)) in setOwner()
554 int uid = ((UnixUserPrincipals.User)owner).uid(); in setOwner()