/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/ |
D | CarDevicePolicyManagerUnitTest.java | 138 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/ |
D | LocalDevicePolicyManager.java | 45 public void startUserInBackground(UserHandle target) { in startUserInBackground() method in LocalDevicePolicyManager 46 int status = mDpm.startUserInBackground(mAdmin, target); in startUserInBackground()
|
D | RemoteDevicePolicyManager.java | 147 public void startUserInBackground(UserHandle target) { in startUserInBackground() method in RemoteDevicePolicyManager 150 run(remotedpm -> mDpm.startUserInBackground(mAdmin, target), in startUserInBackground()
|
D | DevicePolicyManagerInterface.java | 25 void startUserInBackground(UserHandle target); in startUserInBackground() method
|
/packages/services/Car/car-lib/src/android/car/admin/ |
D | ICarDevicePolicyService.aidl | 31 void startUserInBackground(int userId, in AndroidFuture<UserStartResult> receiver); in startUserInBackground() method
|
D | CarDevicePolicyManager.java | 242 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/ |
D | ActivityManagerHelper.java | 73 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/ |
D | DevicePolicyFragment.java | 146 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/ |
D | CarDevicePolicyService.java | 186 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/ |
D | CarDevicePolicyServiceTest.java | 197 mService.startUserInBackground(42, mUserStartResult); in testStartUserInBackground() 199 verify(mCarUserService).startUserInBackground(42, mUserStartResult); in testStartUserInBackground()
|
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/ |
D | DpcFactory.java | 92 .startUserInBackground(target); in getDevicePolicyManager()
|
D | DpcShellCommand.java | 288 int status = mDpm.startUserInBackground(mAdmin, user); in runStartUserBackground()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | ExperimentalCarUserServiceTest.java | 232 .when(() -> ActivityManagerHelper.startUserInBackground(anyInt())); in testStartPassenger() 250 .when(() -> ActivityManagerHelper.startUserInBackground(anyInt())); in testStopPassenger()
|
D | CarUserServiceTest.java | 773 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()
|
D | BaseCarUserServiceTestCase.java | 514 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/ |
D | AndroidMockitoHelperTest.java | 139 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/ |
D | CarDevicePolicyManagerTest.java | 204 StartUserInBackgroundResult result = mCarDpm.startUserInBackground(user.getUserHandle()); in testStartUserInBackground()
|
D | CarUserManagerTest.java | 171 am.startUserInBackground(newUserId); in testLifecycleMultipleListeners()
|
/packages/services/Car/car-lib-module/api/ |
D | test-current.txt | 32 …EATE_USERS}) public android.car.admin.StartUserInBackgroundResult startUserInBackground(@NonNull a…
|
/packages/services/Car/service/src/com/android/car/user/ |
D | ExperimentalCarUserService.java | 342 if (!ActivityManagerHelper.startUserInBackground(passengerId)) { in startPassenger()
|
D | CarUserService.java | 2154 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/ |
D | ProfileUserFragment.java | 260 am.startUserInBackground(userToUpdate); in startUser()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 109 doReturn(result).when(() -> ActivityManagerHelper.startUserInBackground(userId)); in mockAmStartUserInBackground()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_built_in_api_list.txt | 98 method TIRAMISU_0 boolean startUserInBackground(int userId);
|
/packages/services/Car/car-builtin-lib/api/ |
D | module-lib-current.txt | 44 method public static boolean startUserInBackground(int);
|