Home
last modified time | relevance | path

Searched refs:FLAG_ADMIN (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java69 public static final int FLAG_ADMIN = 0x00000002; field in UserInfo
147 FLAG_ADMIN,
292 return (flags & FLAG_ADMIN) == FLAG_ADMIN; in isAdmin()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java19 import static android.content.pm.UserInfo.FLAG_ADMIN;
125 static final UserInfo primaryUser = new UserInfo(27, "Primary", FLAG_ADMIN | FLAG_PRIMARY);
126 static final UserInfo secondaryUser = new UserInfo(15, "Secondary", FLAG_ADMIN);
1087 return (userMap.get(id).flags & UserInfo.FLAG_ADMIN) != 0; in setMockedUsers()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeDetails.java448 UserInfo.FLAG_ADMIN | in hasValidPropertyFlags()
DUserManagerService.java1237 info.flags ^= UserInfo.FLAG_ADMIN; in setUserAdmin()
2757 int flags = UserInfo.FLAG_SYSTEM | UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_ADMIN in fallbackToSingleUserLP()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java81 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY);
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java74 mUsers.add(new UserInfo(0, "Owner", UserInfo.FLAG_ADMIN)); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java162 UserInfo user2 = createUser("User 2", UserInfo.FLAG_ADMIN); in testAdd2Users()
DBaseShortcutManagerTest.java677 UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY | UserInfo.FLAG_INITIALIZED), 0);
/frameworks/opt/car/services/tests/src/com/android/internal/car/
DCarHelperServiceTest.java563 UserInfo user = new UserInfo(42, "Dude", UserInfo.FLAG_ADMIN); in testSendSetInitialUserInfoNotifiesICar()