Home
last modified time | relevance | path

Searched refs:FLAG_PRIMARY (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java63 public static final int FLAG_PRIMARY = 0x00000001; field in UserInfo
146 FLAG_PRIMARY,
287 return (flags & FLAG_PRIMARY) == FLAG_PRIMARY; in isPrimary()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowManagerTests.java20 import static android.content.pm.UserInfo.FLAG_PRIMARY;
141 users.add(new UserInfo(PRIMARY_USER_ID, "primary", FLAG_PRIMARY)); in setUp_baseServices()
DBaseLockSettingsServiceTests.java81 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java136 UserInfo.FLAG_PRIMARY), in testWorkAccount()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeDetails.java447 UserInfo.FLAG_PRIMARY | in hasValidPropertyFlags()
DUserManagerService.java2758 | UserInfo.FLAG_PRIMARY; in fallbackToSingleUserLP()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java195 systemUserDataDir = addUser(UserHandle.USER_SYSTEM, UserInfo.FLAG_PRIMARY, in MockSystemServices()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogTest.java553 return new UserInfo(0, null, null, UserInfo.FLAG_PRIMARY, null); in newUserInfo()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java21 import static android.content.pm.UserInfo.FLAG_PRIMARY;
125 static final UserInfo primaryUser = new UserInfo(27, "Primary", FLAG_ADMIN | FLAG_PRIMARY);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java677 UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY | UserInfo.FLAG_INITIALIZED), 0);