/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 118 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/ |
D | UserManagerTest.java | 548 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/ |
D | MultiUserRollbackTest.java | 44 getDevice().switchUser(mOriginalUserId); in tearDown() 106 assertTrue(getDevice().switchUser(userId)); in switchToUser()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ConfigurationMapTest.java | 96 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/ |
D | GuestResumeSessionReceiver.java | 125 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/ |
D | ShadowActivityManager.java | 44 protected boolean switchUser(int userId) { in switchUser() method in ShadowActivityManager
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 52 mEngine.switchUser();
|
D | FusionEngine.java | 264 public void switchUser() { in switchUser() method in FusionEngine
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationBlacklist.java | 119 public void switchUser(int userId) { in switchUser() method in LocationBlacklist
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowStateTests.java | 487 window.switchUser(); in testVisibilityChangeSwitchUser() 492 window.switchUser(); in testVisibilityChangeSwitchUser()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 223 public void switchUser(final int userHandle) { in switchUser() method in SystemServiceManager
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerInternal.java | 511 public abstract boolean switchUser(int userId, UserState userState); in switchUser() method in ActivityTaskManagerInternal
|
D | WindowContainer.java | 855 void switchUser() { in switchUser() method in WindowContainer 857 mChildren.get(i).switchUser(); in switchUser()
|
D | TaskStack.java | 1037 void switchUser() { in switchUser() method in TaskStack 1038 super.switchUser(); in switchUser()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 3847 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);
|
D | IActivityManager.aidl | 315 boolean switchUser(int userid); in switchUser() method
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 208 switchUser(); in systemRunning() 213 switchUser(); in systemRunning() 472 void switchUser() { in switchUser() method in MediaRouterService
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardStatusView.java | 452 mIActivityManager.switchUser(UserHandle.USER_SYSTEM); in onLogoutClicked()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 172 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/ |
D | UserController.java | 1354 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/ |
D | LegacyGlobalActions.java | 557 ActivityManager.getService().switchUser(user.id);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 725 ActivityManager.getService().switchUser(UserHandle.USER_SYSTEM); in onPress() 874 ActivityManager.getService().switchUser(user.id);
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 235 boolean switchUser(in ComponentName who, in UserHandle userHandle); in switchUser() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 419 ActivityManager.getService().switchUser(id); in switchToUserId()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 1747 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
|