Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarLibUnitTest/src/android/car/admin/
DCarDevicePolicyManagerUnitTest.java138 StartUserInBackgroundResult result = mMgr.startUserInBackground(UserHandle.of(100)); in testStartUserInBackground_success()
147 .when(mService).startUserInBackground(eq(100), notNull()); in testStartUserInBackground_remoteException()
150 StartUserInBackgroundResult result = mMgr.startUserInBackground(UserHandle.of(100)); in testStartUserInBackground_remoteException()
159 assertThrows(NullPointerException.class, () -> mMgr.startUserInBackground(null)); in testStartUserInBackground_nullUser()
216 }).when(mService).startUserInBackground(eq(userId), notNull()); in mockStartUserInBackground()
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/remotedpm/
DLocalDevicePolicyManager.java45 public void startUserInBackground(UserHandle target) { in startUserInBackground() method in LocalDevicePolicyManager
46 int status = mDpm.startUserInBackground(mAdmin, target); in startUserInBackground()
DRemoteDevicePolicyManager.java147 public void startUserInBackground(UserHandle target) { in startUserInBackground() method in RemoteDevicePolicyManager
150 run(remotedpm -> mDpm.startUserInBackground(mAdmin, target), in startUserInBackground()
DDevicePolicyManagerInterface.java25 void startUserInBackground(UserHandle target); in startUserInBackground() method
/packages/services/Car/car-builtin-lib/src/android/car/builtin/app/
DActivityManagerHelper.java73 public static boolean startUserInBackground(@UserIdInt int userId) { in startUserInBackground() method in ActivityManagerHelper
74 return runRemotely(() -> getActivityManager().startUserInBackground(userId), in startUserInBackground()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java146 mStartUserInBackgroundButton.setOnClickListener((v) -> startUserInBackground()); in onViewCreated()
251 private void startUserInBackground() { in startUserInBackground() method in DevicePolicyFragment
255 mCarDevicePolicyManager.startUserInBackground(UserHandle.of(userId)); in startUserInBackground()
/packages/services/Car/car-lib/src/android/car/admin/
DICarDevicePolicyService.aidl31 void startUserInBackground(int userId, in AndroidFuture<UserStartResult> receiver); in startUserInBackground() method
DCarDevicePolicyManager.java242 public StartUserInBackgroundResult startUserInBackground(@NonNull UserHandle user) { in startUserInBackground() method in CarDevicePolicyManager
251 mService.startUserInBackground(userId, future); in startUserInBackground()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DCarDevicePolicyServiceTest.java199 mService.startUserInBackground(42, mUserStartResult); in testStartUserInBackground()
201 verify(mCarUserService).startUserInBackground(42, mUserStartResult); in testStartUserInBackground()
/packages/services/Car/service/src/com/android/car/admin/
DCarDevicePolicyService.java186 public void startUserInBackground(@UserIdInt int userId, in startUserInBackground() method in CarDevicePolicyService
188 mCarUserService.startUserInBackground(userId, receiver); in startUserInBackground()
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/
DDpcFactory.java92 .startUserInBackground(target); in getDevicePolicyManager()
DDpcShellCommand.java288 int status = mDpm.startUserInBackground(mAdmin, user); in runStartUserBackground()
/packages/services/Car/tests/CarTestLibUnitTest/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java139 assertThat(ActivityManagerHelper.startUserInBackground(TEST_USER_ID)).isTrue(); in testMockAmStartUserInBackground_true()
146 assertThat(ActivityManagerHelper.startUserInBackground(TEST_USER_ID)).isFalse(); in testMockAmStartUserInBackground_false()
/packages/services/Car/tests/CarHiddenApiTest/src/android/car/hiddenapitest/
DCarDevicePolicyManagerTest.java204 StartUserInBackgroundResult result = mCarDpm.startUserInBackground(user.getUserHandle()); in testStartUserInBackground()
DCarUserManagerTest.java173 am.startUserInBackground(newUserId); in testLifecycleMultipleListeners()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java782 doReturn(true).when(() -> ActivityManagerHelper.startUserInBackground(user2)); in testBackgroundUsersStartStopKeepBackgroundUserList()
2527 startUserInBackground(newUser.getIdentifier(), userStartResult); in testStartUserInBackground_success()
2541 () -> startUserInBackground(TEST_USER_ID, userStartResult)); in testStartUserInBackground_permissionDenied()
2551 startUserInBackground(TEST_USER_ID, userStartResult); in testStartUserInBackground_fail()
2565 startUserInBackground(newUser.getIdentifier(), userStartResult); in testStartUserInBackground_currentUser()
2578 startUserInBackground(TEST_USER_ID, userStartResult); in testStartUserInBackground_userDoesNotExist()
DBaseCarUserServiceTestCase.java517 protected void startUserInBackground(@UserIdInt int userId, in startUserInBackground() method in BaseCarUserServiceTestCase
519 mCarUserService.startUserInBackground(userId, userStartResultFuture); in startUserInBackground()
/packages/services/Car/car-lib-module/api/
Dtest-current.txt32 …EATE_USERS}) public android.car.admin.StartUserInBackgroundResult startUserInBackground(@NonNull a…
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DProfileUserFragment.java260 am.startUserInBackground(userToUpdate); in startUser()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java109 doReturn(result).when(() -> ActivityManagerHelper.startUserInBackground(userId)); in mockAmStartUserInBackground()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java2299 public void startUserInBackground(@UserIdInt int userId, in startUserInBackground() method in CarUserService
2327 if (!ActivityManagerHelper.startUserInBackground(userId)) { in startUserInBackgroundInternal()
2370 if (ActivityManagerHelper.startUserInBackground(user)) { in startAllBackgroundUsersInGarageMode()
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt44 method public static boolean startUserInBackground(int);
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis.txt139 android.car.admin CarDevicePolicyManager StartUserInBackgroundResult startUserInBackground(UserHand…
/packages/services/Car/car-lib/api/
Dtest-current.txt298 …EATE_USERS}) public android.car.admin.StartUserInBackgroundResult startUserInBackground(@NonNull a…