/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 187 public static final int FLAG_MAIN = 0x00004000; field in UserInfo 217 FLAG_MAIN, 443 return (flags & FLAG_MAIN) == FLAG_MAIN; in isMain()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/domain/interactor/ |
D | IconLabelVisibilityInteractorTest.kt | 86 private val PRIMARY_USER = UserInfo(0, "user 0", UserInfo.FLAG_MAIN)
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/ |
D | CustomTileDataInteractorTest.kt | 233 val TEST_USER_1 = UserInfo(1, "first user", UserInfo.FLAG_MAIN) 234 val TEST_USER_2 = UserInfo(2, "second user", UserInfo.FLAG_MAIN)
|
D | CustomTileUserActionInteractorTest.kt | 281 val TEST_USER_1 = UserInfo(1, "first user", UserInfo.FLAG_MAIN)
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/user/data/repository/ |
D | FakeUserRepository.kt | 53 /* flags= */ UserInfo.FLAG_MAIN,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/data/ |
D | QSPreferencesRepositoryTest.kt | 125 private val PRIMARY_USER = UserInfo(PRIMARY_USER_ID, "user 0", UserInfo.FLAG_MAIN)
|
/frameworks/base/services/java/com/android/server/ |
D | HsumBootUserInitializer.java | 120 UserInfo.FLAG_ADMIN | UserInfo.FLAG_MAIN, in createMainUserIfNeeded()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalTutorialRepositoryImplTest.kt | 149 UserInfo(/* id= */ 0, /* name= */ "primary", /* flags= */ UserInfo.FLAG_MAIN)
|
D | CommunalSettingsRepositoryImplTest.kt | 259 UserInfo(/* id= */ 0, /* name= */ "primary user", /* flags= */ UserInfo.FLAG_MAIN)
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/common/domain/interactor/ |
D | PackageChangeInteractorTest.kt | 171 val MAIN_USER = UserInfo(MAIN_USER_HANDLE.identifier, "main", UserInfo.FLAG_MAIN)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/ |
D | ObservableServiceConnectionTest.java | 107 mUserTracker.set(List.of(new UserInfo(MAIN_USER_ID, "main", UserInfo.FLAG_MAIN)), 0); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/panels/ |
D | AuthorizedPanelsRepositoryImplTest.kt | 206 UserInfo(/* id= */ 0, /* name= */ "primary user", /* flags= */ UserInfo.FLAG_MAIN)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 25 import static android.content.pm.UserInfo.FLAG_MAIN; 277 UserInfo userInfo = createUser(100, FLAG_MAIN, null); in testCanHaveProfile()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/widgets/ |
D | CommunalAppWidgetHostStartableTest.kt | 289 val MAIN_USER_INFO = UserInfo(0, "primary", UserInfo.FLAG_MAIN) in createPendingWidgetForUser()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/wmshell/ |
D | WMShellTest.kt | 202 val MAIN_USER_INFO = UserInfo(0, "primary", UserInfo.FLAG_MAIN)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/ |
D | UserSettingsProxyTest.kt | 54 listOf(UserInfo(MAIN_USER_ID, "main", UserInfo.FLAG_MAIN)), in setUp()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/ |
D | CommunalEditModeViewModelTest.kt | 316 val MAIN_USER_INFO = UserInfo(0, "primary", UserInfo.FLAG_MAIN)
|
D | CommunalViewModelTest.kt | 752 val MAIN_USER_INFO = UserInfo(0, "primary", UserInfo.FLAG_MAIN) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserTypeFactory.java | 24 import static android.content.pm.UserInfo.FLAG_MAIN; 401 .setDefaultUserInfoPropertyFlags(FLAG_PRIMARY | FLAG_ADMIN | FLAG_MAIN) in getDefaultTypeFullSystem()
|
D | UserTypeDetails.java | 652 ((mDefaultUserInfoPropertyFlags & UserInfo.FLAG_MAIN) == 0) || mMaxAllowed == 1, in checkSystemAndMainUserPreconditions()
|
D | UserManagerService.java | 4170 newSysFlags = oldSysFlags & ~UserInfo.FLAG_FULL & ~UserInfo.FLAG_MAIN; in emulateSystemUserModeIfNeeded() 4173 newSysFlags = oldSysFlags | UserInfo.FLAG_FULL | UserInfo.FLAG_MAIN; in emulateSystemUserModeIfNeeded() 4201 newMainUser.flags |= UserInfo.FLAG_MAIN; in emulateSystemUserModeIfNeeded() 4212 oldMain.info.flags &= ~UserInfo.FLAG_MAIN; in emulateSystemUserModeIfNeeded() 4530 earliestCreatedUser.flags |= UserInfo.FLAG_MAIN; in upgradeIfNecessaryLP() 4537 userData.info.flags |= UserInfo.FLAG_MAIN; in upgradeIfNecessaryLP() 5459 final boolean isMainUser = (flags & UserInfo.FLAG_MAIN) != 0;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | SyntheticPasswordTests.java | 20 import static android.content.pm.UserInfo.FLAG_MAIN; 278 mSecondaryUserInfo.flags |= FLAG_MAIN; in setupHeadlessTest()
|
D | BaseLockSettingsServiceTests.java | 184 | UserInfo.FLAG_MAIN in setUp_baseServices()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 241 UserInfo.FLAG_PRIMARY | UserInfo.FLAG_MAIN, in MockSystemServices()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskControllerTest.kt | 986 UserInfo(/* id= */ 0, /* name= */ "primary", /* flags= */ UserInfo.FLAG_MAIN) in <lambda>()
|