Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java44 public static final int FLAG_PRIMARY = 0x00000001; field in UserInfo
126 return (flags & FLAG_PRIMARY) == FLAG_PRIMARY; in isPrimary()
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DVpnTest.java21 import static android.content.pm.UserInfo.FLAG_PRIMARY;
59 static final UserInfo primaryUser = new UserInfo(27, "Primary", FLAG_ADMIN | FLAG_PRIMARY);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java314 systemUserDataDir = addUser(UserHandle.USER_SYSTEM, UserInfo.FLAG_PRIMARY); in DpmMockContext()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1815 flags |= UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY; in fallbackToSingleUserLP()
2278 flags |= UserInfo.FLAG_PRIMARY; in createUserInternalUnchecked()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java580 UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY | UserInfo.FLAG_INITIALIZED), 10);