Home
last modified time | relevance | path

Searched refs:startUserInBackground (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/
H A DCarDevicePolicyManagerUnitTest.java134 StartUserInBackgroundResult result = mMgr.startUserInBackground(UserHandle.of(100)); in testStartUserInBackground_success()
143 .when(mService).startUserInBackground(eq(100), notNull()); in testStartUserInBackground_remoteException()
146 StartUserInBackgroundResult result = mMgr.startUserInBackground(UserHandle.of(100)); in testStartUserInBackground_remoteException()
155 assertThrows(NullPointerException.class, () -> mMgr.startUserInBackground(null)); in testStartUserInBackground_nullUser()
211 }).when(mService).startUserInBackground(eq(userId), notNull()); in mockStartUserInBackground()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
H A DCarDevicePolicyServiceTest.java114 mService.startUserInBackground(42, mUserStartResult); in testStartUserInBackground()
116 verify(mCarUserService).startUserInBackground(42, mUserStartResult); in testStartUserInBackground()
/aosp12/packages/services/Car/service/src/com/android/car/admin/
H A DCarDevicePolicyService.java107 public void startUserInBackground(@UserIdInt int userId, in startUserInBackground() method in CarDevicePolicyService
109 mCarUserService.startUserInBackground(userId, receiver); in startUserInBackground()
/aosp12/packages/services/Car/car-lib/src/android/car/admin/
H A DICarDevicePolicyService.aidl29 void startUserInBackground(int userId, in AndroidFuture<UserStartResult> receiver); in startUserInBackground() method
H A DCarDevicePolicyManager.java221 public StartUserInBackgroundResult startUserInBackground(@NonNull UserHandle user) { in startUserInBackground() method in CarDevicePolicyManager
230 mService.startUserInBackground(userId, future); in startUserInBackground()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
H A DDevicePolicyFragment.java134 mStartUserInBackgroundButton.setOnClickListener((v) -> startUserInBackground()); in onViewCreated()
239 private void startUserInBackground() { in startUserInBackground() method in DevicePolicyFragment
243 mCarDevicePolicyManager.startUserInBackground(UserHandle.of(userId)); in startUserInBackground()
/aosp12/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/bluetooth/
H A DBluetoothEventManagerIntegTest.java74 ActivityManager.getService().startUserInBackground(mOtherUser.id); in setUp()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserLifecycleStressTest.java79 ActivityManager.getService().startUserInBackground(userInfo.id)); in stopManagedProfileStressTest()
/aosp12/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/admin/
H A DCarDevicePolicyManagerPermissionTest.java81 () -> mManager.startUserInBackground(UserHandle.of(100))); in testStartUserInBackgroundPermission()
/aosp12/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DUserLifecycleTests.java165 mIam.startUserInBackground(userId); in createAndStartUser()
186 mIam.startUserInBackground(userId); in startUser()
278 mIam.startUserInBackground(userId); in stopUser()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsUserLifecycleTests.java83 mIam.startUserInBackground(mTestUserId); in testNoCpuDataForRemovedUser()
/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A DAbstractCrossUserContentResolverTest.java95 ActivityManager.getService().startUserInBackground(mCrossUserId); in unlockUser()
/aosp12/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DCarDevicePolicyManagerTest.java146 StartUserInBackgroundResult result = mCarDpm.startUserInBackground(user.getUserHandle()); in testStartUserInBackground()
H A DCarUserManagerTest.java137 am.startUserInBackground(newUserId); in testLifecycleMultipleListeners()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
H A DCarUserServiceTest.java594 when(mMockedIActivityManager.startUserInBackground(user2)).thenReturn(true); in testBackgroundUsersStartStopKeepBackgroundUserList()
1912 startUserInBackground(userId, userStartResult); in testStartUserInBackground_success()
1927 () -> startUserInBackground(userId, userStartResult)); in testStartUserInBackground_permissionDenied()
1939 startUserInBackground(userId, userStartResult); in testStartUserInBackground_fail()
1955 startUserInBackground(userId, userStartResult); in testStartUserInBackground_currentUser()
1970 startUserInBackground(userId, userStartResult); in testStartUserInBackground_userDoesNotExist()
2405 private void startUserInBackground(@UserIdInt int userId, in startUserInBackground() method in CarUserServiceTest
2407 mCarUserService.startUserInBackground(userId, userStartResultFuture); in startUserInBackground()
2503 when(mMockedIActivityManager.startUserInBackground(userId)).thenReturn(result); in mockAmStartUserInBackground()
H A DInitialUserSetterTest.java785 when(mIActivityManager.startUserInBackground(UserHandle.USER_SYSTEM)).thenReturn(true); in testUnlockSystemUser_startedOk()
/aosp12/packages/services/Car/car-lib/api/
H A Dtest-current.txt34 …EATE_USERS}) public android.car.admin.StartUserInBackgroundResult startUserInBackground(@NonNull a…
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
H A DProfileUserFragment.java260 am.startUserInBackground(userToUpdate); in startUser()
/aosp12/packages/services/Car/service/src/com/android/car/user/
H A DInitialUserSetter.java632 boolean started = am.startUserInBackground(UserHandle.USER_SYSTEM); in unlockSystemUser()
H A DCarUserService.java1951 public void startUserInBackground(@UserIdInt int userId, in startUserInBackground() method
1975 if (!mAm.startUserInBackground(userId)) { in handleStartUserInBackground()
2024 if (mAm.startUserInBackground(user)) { in startAllBackgroundUsersInGarageMode()
/aosp12/frameworks/base/core/java/android/app/
H A DIActivityManager.aidl473 boolean startUserInBackground(int userid); in startUserInBackground() method
/aosp12/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl264 int startUserInBackground(in ComponentName who, in UserHandle userHandle); in startUserInBackground() method
H A DDevicePolicyManager.java9582 public @UserOperationResult int startUserInBackground( in startUserInBackground() method in DevicePolicyManager
9586 return mService.startUserInBackground(admin, userHandle); in startUserInBackground()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java3292 mInjector.getIActivityManager().startUserInBackground(userId);
10952 public int startUserInBackground(ComponentName who, UserHandle userHandle) {
10973 if (mInjector.getIActivityManager().startUserInBackground(userId)) {
17473 if (!mInjector.getIActivityManager().startUserInBackground(userId)) {
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java3736 am.startUserInBackground(userId); in createUserInternalUncheckedNoTracing()

12