/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/ |
D | CarDevicePolicyManagerUnitTest.java | 162 StopUserResult result = mMgr.stopUser(UserHandle.of(100)); in testStopUser_success() 170 doThrow(new RemoteException("D'OH!")).when(mService).stopUser(eq(100), notNull()); in testStopUser_remoteException() 173 StopUserResult result = mMgr.stopUser(UserHandle.of(100)); in testStopUser_remoteException() 181 assertThrows(NullPointerException.class, () -> mMgr.stopUser(null)); in testStopUser_nullUser() 221 }).when(mService).stopUser(eq(userId), notNull()); in mockStopUser()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/ |
D | CarDevicePolicyServiceTest.java | 121 mService.stopUser(42, mUserStopResult); in testStopUser() 123 verify(mCarUserService).stopUser(42, mUserStopResult); in testStopUser()
|
/packages/services/Car/service/src/com/android/car/admin/ |
D | CarDevicePolicyService.java | 113 public void stopUser(@UserIdInt int userId, AndroidFuture<UserStopResult> receiver) { in stopUser() method in CarDevicePolicyService 114 mCarUserService.stopUser(userId, receiver); in stopUser()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/ |
D | DevicePolicyFragment.java | 135 mStopUserButton.setOnClickListener((v) -> stopUser()); in onViewCreated() 252 private void stopUser() { in stopUser() method in DevicePolicyFragment 255 StopUserResult result = mCarDevicePolicyManager.stopUser(UserHandle.of(userId)); in stopUser()
|
/packages/services/Car/car-lib/src/android/car/admin/ |
D | CarDevicePolicyManager.java | 260 public StopUserResult stopUser(@NonNull UserHandle user) { in stopUser() method in CarDevicePolicyManager 269 mService.stopUser(userId, future); in stopUser()
|
D | ICarDevicePolicyService.aidl | 30 void stopUser(int userId, in AndroidFuture<UserStopResult> receiver); in stopUser() method
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | ProfileUserFragment.java | 131 stopUser(); in onViewCreated() 225 private void stopUser() { in stopUser() method in ProfileUserFragment 238 am.stopUser(userToUpdate, /* force= */ false, /* callback= */ null); in stopUser()
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/admin/ |
D | CarDevicePolicyManagerPermissionTest.java | 89 () -> mManager.stopUser(UserHandle.of(100))); in testStopUserPermission()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 555 when(mMockedIActivityManager.stopUser(user2, true, null)) in testBackgroundUsersStartStopKeepBackgroundUserList() 571 stopUser(userId, userStopResult); in testStopUser_success() 585 assertThrows(SecurityException.class, () -> stopUser(userId, userStopResult)); in testStopUser_permissionDenied() 595 stopUser(userId, userStopResult); in testStopUser_fail() 609 stopUser(userId, userStopResult); in testStopUser_userDoesNotExist() 622 stopUser(UserHandle.USER_SYSTEM, userStopResult); in testStopUser_systemUser() 636 stopUser(userId, userStopResult); in testStopUser_currentUser() 2375 private void stopUser(@UserIdInt int userId, in stopUser() method in CarUserServiceTest 2377 mCarUserService.stopUser(userId, userStopResultFuture); in stopUser()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUserManagerLifeCycleTest.java | 185 am.stopUser(userId, /* force=*/ true, /* listener= */ null); in forceStopUser()
|
D | CarDevicePolicyManagerTest.java | 165 StopUserResult result = mCarDpm.stopUser(user.getUserHandle()); in testStopUser()
|
/packages/services/Car/car-lib/api/ |
D | test-current.txt | 35 …ifest.permission.CREATE_USERS}) public android.car.admin.StopUserResult stopUser(@NonNull android.…
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 1987 public void stopUser(@UserIdInt int userId, @NonNull AndroidFuture<UserStopResult> receiver) { in stopUser() method
|