Home
last modified time | relevance | path

Searched refs:switchUser (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java118 public void switchUser() throws Exception { in switchUser() method in UserLifecycleTests
125 switchUser(userInfo.id); in switchUser()
128 switchUser(startUser); in switchUser()
145 mAm.switchUser(testUser); in switchUser_stopped()
150 switchUser(startUser); in switchUser_stopped()
165 switchUser(testUser); in switchUser_running()
169 switchUser(startUser); in switchUser_running()
204 mAm.switchUser(userInfo.id); in lockedBootCompleted()
208 switchUser(startUser); in lockedBootCompleted()
268 switchUser(userInfo.id); in ephemeralUserStopped()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java548 switchUser(user.id, null, true); in testSwitchUser()
550 switchUser(startUser, null, true); in testSwitchUser()
560 switchUser(-1, user.getUserHandle(), false); in testSwitchUserByHandle()
562 switchUser(-1, UserHandle.of(startUser), false); in testSwitchUserByHandle()
569 am.switchUser(null); in testSwitchUserByHandle_ThrowsException()
618 private void switchUser(int userId, UserHandle user, boolean ignoreHandle) { in switchUser() method in UserManagerTest
622 am.switchUser(userId); in switchUser()
624 am.switchUser(user); in switchUser()
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
DMultiUserRollbackTest.java44 getDevice().switchUser(mOriginalUserId); in tearDown()
106 assertTrue(getDevice().switchUser(userId)); in switchToUser()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConfigurationMapTest.java96 private void switchUser(int newUserId) { in switchUser() method in ConfigurationMapTest
213 switchUser(10); in testGettersAndHandleUserSwitch()
217 switchUser(11); in testGettersAndHandleUserSwitch()
231 switchUser(UserHandle.getUserId(config1.creatorUid)); in testPutRemoveClear()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java125 ActivityManager.getService().switchUser(UserHandle.USER_SYSTEM); in wipeGuestSession()
130 ActivityManager.getService().switchUser(newGuest.id); in wipeGuestSession()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/
DShadowActivityManager.java44 protected boolean switchUser(int userId) { in switchUser() method in ShadowActivityManager
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java52 mEngine.switchUser();
DFusionEngine.java264 public void switchUser() { in switchUser() method in FusionEngine
/frameworks/base/services/core/java/com/android/server/location/
DLocationBlacklist.java119 public void switchUser(int userId) { in switchUser() method in LocationBlacklist
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java487 window.switchUser(); in testVisibilityChangeSwitchUser()
492 window.switchUser(); in testVisibilityChangeSwitchUser()
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java223 public void switchUser(final int userHandle) { in switchUser() method in SystemServiceManager
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java511 public abstract boolean switchUser(int userId, UserState userState); in switchUser() method in ActivityTaskManagerInternal
DWindowContainer.java855 void switchUser() { in switchUser() method in WindowContainer
857 mChildren.get(i).switchUser(); in switchUser()
DTaskStack.java1037 void switchUser() { in switchUser() method in TaskStack
1038 super.switchUser(); in switchUser()
/frameworks/base/core/java/android/app/
DActivityManager.java3847 public boolean switchUser(int userid) {
3849 return getService().switchUser(userid);
3865 public boolean switchUser(@NonNull UserHandle user) {
3869 return switchUser(user.getIdentifier());
3903 getService().switchUser(UserHandle.USER_SYSTEM);
DIActivityManager.aidl315 boolean switchUser(int userid); in switchUser() method
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java208 switchUser(); in systemRunning()
213 switchUser(); in systemRunning()
472 void switchUser() { in switchUser() method in MediaRouterService
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusView.java452 mIActivityManager.switchUser(UserHandle.USER_SYSTEM); in onLogoutClicked()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java172 mServiceStub.switchUser(userHandle); in onSwitchUser()
425 public void switchUser(int userHandle) { in switchUser() method in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1354 boolean switchUser(final int targetUserId) {
2200 mInjector.getSystemServiceManager().switchUser(msg.arg1);
2433 return mService.mAtmInternal.switchUser(userId, uss);
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java557 ActivityManager.getService().switchUser(user.id);
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java725 ActivityManager.getService().switchUser(UserHandle.USER_SYSTEM); in onPress()
874 ActivityManager.getService().switchUser(user.id);
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl235 boolean switchUser(in ComponentName who, in UserHandle userHandle); in switchUser() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java419 ActivityManager.getService().switchUser(id); in switchToUserId()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java1747 switchUser(newUserId, reply); in systemReady()
1787 switchUser(UserHandle.USER_SYSTEM, null); in onBootPhase()
1840 void switchUser(int userId, IRemoteCallback reply) { in switchUser() method in WallpaperManagerService

12