Home
last modified time | relevance | path

Searched refs:FLAG_MAIN (Results 1 – 12 of 12) sorted by relevance

/aosp14/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java179 public static final int FLAG_MAIN = 0x00004000; field in UserInfo
209 FLAG_MAIN,
424 return (flags & FLAG_MAIN) == FLAG_MAIN; in isMain()
/aosp14/frameworks/base/services/java/com/android/server/
H A DHsumBootUserInitializer.java119 UserInfo.FLAG_ADMIN | UserInfo.FLAG_MAIN, in createMainUserIfNeeded()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/
H A DObservableServiceConnectionTest.java109 mUserTracker.set(List.of(new UserInfo(MAIN_USER_ID, "main", UserInfo.FLAG_MAIN)), 0); in setUp()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserInfoTest.java25 import static android.content.pm.UserInfo.FLAG_MAIN;
262 UserInfo userInfo = createUser(100, FLAG_MAIN, null); in testCanHaveProfile()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserTypeFactory.java24 import static android.content.pm.UserInfo.FLAG_MAIN;
285 .setDefaultUserInfoPropertyFlags(FLAG_PRIMARY | FLAG_ADMIN | FLAG_MAIN) in getDefaultTypeFullSystem()
H A DUserTypeDetails.java598 ((mDefaultUserInfoPropertyFlags & UserInfo.FLAG_MAIN) == 0) || mMaxAllowed == 1, in checkSystemAndMainUserPreconditions()
H A DUserManagerService.java3599 newSysFlags = oldSysFlags & ~UserInfo.FLAG_FULL & ~UserInfo.FLAG_MAIN; in emulateSystemUserModeIfNeeded()
3602 newSysFlags = oldSysFlags | UserInfo.FLAG_FULL | UserInfo.FLAG_MAIN; in emulateSystemUserModeIfNeeded()
3630 newMainUser.flags |= UserInfo.FLAG_MAIN; in emulateSystemUserModeIfNeeded()
3641 oldMain.info.flags &= ~UserInfo.FLAG_MAIN; in emulateSystemUserModeIfNeeded()
3930 earliestCreatedUser.flags |= UserInfo.FLAG_MAIN; in upgradeIfNecessaryLP()
3937 userData.info.flags |= UserInfo.FLAG_MAIN; in upgradeIfNecessaryLP()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DSyntheticPasswordTests.java20 import static android.content.pm.UserInfo.FLAG_MAIN;
278 mSecondaryUserInfo.flags |= FLAG_MAIN; in setupHeadlessTest()
H A DBaseLockSettingsServiceTests.java187 | UserInfo.FLAG_MAIN in setUp_baseServices()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockSystemServices.java241 UserInfo.FLAG_PRIMARY | UserInfo.FLAG_MAIN, in MockSystemServices()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
H A DNoteTaskControllerTest.kt981 UserInfo(/* id= */ 0, /* name= */ "primary", /* flags= */ UserInfo.FLAG_MAIN)
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt1075 field public static final int FLAG_MAIN = 16384; // 0x4000