Home
last modified time | relevance | path

Searched refs:stopUser (Results 1 – 22 of 22) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserLifecycleStressTest.java104 stopUser(userInfo.id); in stopManagedProfileStressTest()
177 private void stopUser(int userId) throws RemoteException, InterruptedException { in stopUser() method in UserLifecycleStressTest
180 .stopUser(userId, /* force= */ true, new IStopUserCallback.Stub() { in stopUser()
/aosp14/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DUserLifecycleTests.java369 stopUser(userId, /* force */true); in startUser_startedTwiceBefore()
432 stopUser(userId, /* force */true); in startAndUnlockUser_startedTwiceBefore()
651 public void stopUser() throws RemoteException { in stopUser() method in UserLifecycleTests
663 stopUser(userId, false); in stopUser()
688 stopUser(userId, false); in stopUser_realistic()
1147 stopUser(userId, true); in managedProfileStopped()
1171 stopUser(userId, true); in managedProfileStopped_realistic()
1300 stopUser(userId, force); in stopUserAfterWaitingForBroadcastIdle()
1303 private void stopUser(int userId, boolean force) throws RemoteException { in stopUser() method in UserLifecycleTests
1305 mIam.stopUser(userId, force /* force */, new IStopUserCallback.Stub() { in stopUser()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DUserManagerServiceTest.java234 stopUser(USER_ID); in testIsUserRunning_StoppedUserShouldReturnFalse()
468 stopUser(PROFILE_USER_ID); in stopDefaultProfile()
475 private void stopUser(@UserIdInt int userId) { in stopUser() method in UserManagerServiceTest
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DFakeUserInfoHelper.java64 public void stopUser(int userId) { in stopUser() method in FakeUserInfoHelper
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DBatteryStatsUserLifecycleTests.java89 mIam.stopUser(mTestUserId, true, new IStopUserCallback.Stub() { in testNoCpuDataForRemovedUser()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DUserControllerTest.java699 () -> mUserController.stopUser(userId, /* force= */ true, in testStopUser_invalidUser()
708 int r = mUserController.stopUser(userId, /* force= */ true, in testStopUser_systemUser()
720 int r = mUserController.stopUser(TEST_USER_ID1, /* force= */ true, in testStopUser_currentUser()
1015 int r = mUserController.stopUser(userId, /* force= */ true, /* delayedLocking= */ in assertUserLockedOrUnlockedAfterStopping()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java655 ActivityManager.getService().stopUser(userId, false, null); in applyUserRestriction()
H A DUserManagerService.java1463 ActivityManager.getService().stopUser(userId, /* force= */ true, null); in setQuietModeEnabled()
5580 res = ActivityManager.getService().stopUser(userId, /* force= */ true,
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java814 stopUser(userInfo.id, /* force= */ true, /* allowDelayedLocking= */ false, in finishUserUnlockedCompleted()
862 return stopUser(userId, /* force= */ true, /* allowDelayedLocking= */ false, in restartUser()
904 int stopUser(final int userId, final boolean force, boolean allowDelayedLocking,
H A DActivityManagerShellCommand.java2514 int res = mInterface.stopUser(userId, force, callback);
H A DActivityManagerService.java17266 public int stopUser(final int userId, boolean force, final IStopUserCallback callback) { in stopUser() method in ActivityManagerService
17267 return mUserController.stopUser(userId, force, /* allowDelayedLocking= */ false, in stopUser()
17290 return mUserController.stopUser(userId, force, /* allowDelayedLocking= */ true, in stopUserWithDelayedLocking()
/aosp14/frameworks/base/core/java/android/app/
H A DIActivityManager.aidl453 int stopUser(int userid, boolean force, in IStopUserCallback callback); in stopUser() method
H A DActivityManager.java5047 public boolean stopUser(@UserIdInt int userId, boolean force) { in stopUser() method in ActivityManager
5052 return USER_OP_SUCCESS == getService().stopUser( in stopUser()
/aosp14/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl286 int stopUser(in ComponentName who, in UserHandle userHandle); in stopUser() method
H A DDevicePolicyManager.java11317 public @UserOperationResult int stopUser( in stopUser() method in DevicePolicyManager
11321 return mService.stopUser(admin, userHandle); in stopUser()
/aosp14/frameworks/base/services/core/java/com/android/server/tv/interactive/
H A DTvInteractiveAppManagerService.java449 stopUser(userId); in registerBroadcastReceivers()
545 private void stopUser(int userId) { in stopUser() method in TvInteractiveAppManagerService
/aosp14/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java308 stopUser(userId); in registerBroadcastReceivers()
482 private void stopUser(int userId) { in stopUser() method in TvInputManagerService
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java13002 public int stopUser(ComponentName who, UserHandle userHandle) {
13098 switch (mInjector.getIActivityManager().stopUser(userId, true /*force*/, null)) {
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt147 …sion(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean stopUser(int, boolean);
H A Dcurrent.txt8029 …method public int stopUser(@NonNull android.content.ComponentName, @NonNull android.os.UserHandle);
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt2867 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->stopUser(Landroid/content/ComponentName;Landro…
3392 Landroid/app/admin/IDevicePolicyManager;->stopUser(Landroid/content/ComponentName;Landroid/os/UserH…
5547 Landroid/app/IActivityManager$Stub$Proxy;->stopUser(IZLandroid/app/IStopUserCallback;)I