Home
last modified time | relevance | path

Searched refs:mSecondaryUser (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/packagemanagertests/src/android/content/pm/
DKernelPackageMappingTests.java47 private UserInfo mSecondaryUser; field in KernelPackageMappingTests
102 mSecondaryUser = getUserManager().createUser("Secondary", 0); in testNotInstalledSecondary()
103 assertEquals(Integer.toString(mSecondaryUser.id), in testNotInstalledSecondary()
111 if (mSecondaryUser != null) { in shutDown()
112 getUserManager().removeUser(mSecondaryUser.id); in shutDown()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java103 private UserInfo mSecondaryUser; field in NotificationLockscreenUserManagerTest
117 mSecondaryUser = new UserInfo(currentUserId + 1, "", 0); in setUp()
122 mCurrentUser, mSecondaryUser, mWorkUser)); in setUp()
134 .setUser(new UserHandle(mSecondaryUser.id)) in setUp()
252 mSecondaryUser.id); in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
272 mSecondaryUser.id); in testWorkProfileRedacted_otherUsersNotRedacted()
291 mSecondaryUser.id); in testSecondaryUserNotRedacted_currentUserRedacted()
310 .putExtra(Intent.EXTRA_USER_HANDLE, mSecondaryUser.id); in testActionUserSwitchedCallsOnUserSwitched()
312 verify(mPresenter, times(1)).onUserSwitched(mSecondaryUser.id); in testActionUserSwitchedCallsOnUserSwitched()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java139 private int mSecondaryUser = UserHandle.USER_NULL; field in UserSwitcherController
574 if (mSecondaryUser != UserHandle.USER_NULL) {
576 UserHandle.of(mSecondaryUser));
577 mSecondaryUser = UserHandle.USER_NULL;
584 mSecondaryUser = userInfo.id;