Searched refs:FLAG_ADMIN (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 69 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/ |
D | VpnTest.java | 19 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/ |
D | UserTypeDetails.java | 448 UserInfo.FLAG_ADMIN | in hasValidPropertyFlags()
|
D | UserManagerService.java | 1237 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/ |
D | BaseLockSettingsServiceTests.java | 81 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 74 mUsers.add(new UserInfo(0, "Owner", UserInfo.FLAG_ADMIN)); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 162 UserInfo user2 = createUser("User 2", UserInfo.FLAG_ADMIN); in testAdd2Users()
|
D | BaseShortcutManagerTest.java | 677 UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY | UserInfo.FLAG_INITIALIZED), 0);
|
/frameworks/opt/car/services/tests/src/com/android/internal/car/ |
D | CarHelperServiceTest.java | 563 UserInfo user = new UserInfo(42, "Dude", UserInfo.FLAG_ADMIN); in testSendSetInitialUserInfoNotifiesICar()
|