Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java50 public static final int FLAG_PRIMARY = 0x00000001; field in UserInfo
105 FLAG_PRIMARY,
183 return (flags & FLAG_PRIMARY) == FLAG_PRIMARY; in isPrimary()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java134 UserInfo.FLAG_PRIMARY), in testWorkAccount()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java74 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java177 addUser(UserHandle.USER_SYSTEM, UserInfo.FLAG_PRIMARY, UserHandle.USER_SYSTEM); in MockSystemServices()
/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/core/java/com/android/server/pm/
DUserManagerService.java2281 flags |= UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY; in fallbackToSingleUserLP()
2885 flags |= UserInfo.FLAG_PRIMARY; in createUserInternalUncheckedNoTracing()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java660 UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY | UserInfo.FLAG_INITIALIZED), 0);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java5339 new UserInfo(userId, Integer.toString(userId), UserInfo.FLAG_PRIMARY); in setupUserProfiles()