Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_unit_test/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-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/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/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/carservice_unit_test/src/com/android/car/admin/
DCarDevicePolicyServiceTest.java197 mService.startUserInBackground(42, mUserStartResult); in testStartUserInBackground()
199 verify(mCarUserService).startUserInBackground(42, mUserStartResult); in testStartUserInBackground()
/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/carservice_unit_test/src/com/android/car/user/
DExperimentalCarUserServiceTest.java232 .when(() -> ActivityManagerHelper.startUserInBackground(anyInt())); in testStartPassenger()
250 .when(() -> ActivityManagerHelper.startUserInBackground(anyInt())); in testStopPassenger()
DCarUserServiceTest.java773 doReturn(true).when(() -> ActivityManagerHelper.startUserInBackground(user2)); in testBackgroundUsersStartStopKeepBackgroundUserList()
2456 startUserInBackground(newUser.getIdentifier(), userStartResult); in testStartUserInBackground_success()
2470 () -> startUserInBackground(TEST_USER_ID, userStartResult)); in testStartUserInBackground_permissionDenied()
2480 startUserInBackground(TEST_USER_ID, userStartResult); in testStartUserInBackground_fail()
2494 startUserInBackground(newUser.getIdentifier(), userStartResult); in testStartUserInBackground_currentUser()
2507 startUserInBackground(TEST_USER_ID, userStartResult); in testStartUserInBackground_userDoesNotExist()
DBaseCarUserServiceTestCase.java514 protected void startUserInBackground(@UserIdInt int userId, in startUserInBackground() method in BaseCarUserServiceTestCase
516 mCarUserService.startUserInBackground(userId, userStartResultFuture); in startUserInBackground()
/packages/services/Car/tests/carservice_unit_test/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/android_car_api_test/src/android/car/apitest/
DCarDevicePolicyManagerTest.java204 StartUserInBackgroundResult result = mCarDpm.startUserInBackground(user.getUserHandle()); in testStartUserInBackground()
DCarUserManagerTest.java171 am.startUserInBackground(newUserId); in testLifecycleMultipleListeners()
/packages/services/Car/car-lib-module/api/
Dtest-current.txt32 …EATE_USERS}) public android.car.admin.StartUserInBackgroundResult startUserInBackground(@NonNull a…
/packages/services/Car/service/src/com/android/car/user/
DExperimentalCarUserService.java342 if (!ActivityManagerHelper.startUserInBackground(passengerId)) { in startPassenger()
DCarUserService.java2154 public void startUserInBackground(@UserIdInt int userId, in startUserInBackground() method in CarUserService
2179 if (!ActivityManagerHelper.startUserInBackground(userId)) { in startUserInBackgroundInternal()
2222 if (ActivityManagerHelper.startUserInBackground(user)) { in startAllBackgroundUsersInGarageMode()
/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/tools/GenericCarApiBuilder/
Dcomplete_car_built_in_api_list.txt98 method TIRAMISU_0 boolean startUserInBackground(int userId);
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt44 method public static boolean startUserInBackground(int);

12