/packages/services/Car/car-lib/src/android/car/user/ |
D | UserStartResult.java | 51 public static final int STATUS_ANDROID_FAILURE = CommonResults.STATUS_ANDROID_FAILURE; field in UserStartResult 103 STATUS_ANDROID_FAILURE, 118 case STATUS_ANDROID_FAILURE: in statusToString() 146 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStartResult() 152 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserStartResult() 212 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStartResult() 218 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserStartResult()
|
D | UserStopResult.java | 51 public static final int STATUS_ANDROID_FAILURE = CommonResults.STATUS_ANDROID_FAILURE; field in UserStopResult 116 STATUS_ANDROID_FAILURE, 132 case STATUS_ANDROID_FAILURE: in statusToString() 163 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStopResult() 170 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserStopResult() 231 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStopResult() 238 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserStopResult()
|
D | UserStopResponse.java | 55 public static final int STATUS_ANDROID_FAILURE = CommonResults.STATUS_ANDROID_FAILURE; field in UserStopResponse 119 STATUS_ANDROID_FAILURE, 136 case STATUS_ANDROID_FAILURE: in statusToString() 167 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStopResponse() 174 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserStopResponse() 236 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStopResponse() 243 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserStopResponse()
|
D | UserRemovalResult.java | 54 public static final int STATUS_ANDROID_FAILURE = CommonResults.STATUS_ANDROID_FAILURE; field in UserRemovalResult 131 STATUS_ANDROID_FAILURE, 149 case STATUS_ANDROID_FAILURE: in statusToString() 186 && !(mStatus == STATUS_ANDROID_FAILURE) in UserRemovalResult() 195 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserRemovalResult() 260 && !(mStatus == STATUS_ANDROID_FAILURE) in UserRemovalResult() 269 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserRemovalResult()
|
D | UserStartResponse.java | 57 public static final int STATUS_ANDROID_FAILURE = CommonResults.STATUS_ANDROID_FAILURE; field in UserStartResponse 175 STATUS_ANDROID_FAILURE, 197 case STATUS_ANDROID_FAILURE: in statusToString() 243 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStartResponse() 255 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserStartResponse() 327 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStartResponse() 339 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserStartResponse()
|
D | UserSwitchResult.java | 57 public static final int STATUS_ANDROID_FAILURE = CommonResults.STATUS_ANDROID_FAILURE; field in UserSwitchResult 193 STATUS_ANDROID_FAILURE, 215 case STATUS_ANDROID_FAILURE: in statusToString() 274 && !(mStatus == STATUS_ANDROID_FAILURE) in UserSwitchResult() 287 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserSwitchResult() 388 && !(mStatus == STATUS_ANDROID_FAILURE) in UserSwitchResult() 401 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserSwitchResult()
|
D | UserCreationResult.java | 60 public static final int STATUS_ANDROID_FAILURE = CommonResults.STATUS_ANDROID_FAILURE; field in UserCreationResult 167 STATUS_ANDROID_FAILURE, 183 case STATUS_ANDROID_FAILURE: in statusToString() 230 && !(mStatus == STATUS_ANDROID_FAILURE) in UserCreationResult() 237 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserCreationResult() 355 && !(mStatus == STATUS_ANDROID_FAILURE) in UserCreationResult() 362 + "STATUS_ANDROID_FAILURE(" + STATUS_ANDROID_FAILURE + "), " in UserCreationResult()
|
D | CarUserManager.java | 442 : UserStartResponse.STATUS_ANDROID_FAILURE); in startUser() 452 new UserStartResponse(UserStartResponse.STATUS_ANDROID_FAILURE)); in startUser() 478 : UserStopResponse.STATUS_ANDROID_FAILURE); in stopUser() 488 new UserStopResponse(UserStopResponse.STATUS_ANDROID_FAILURE)); in stopUser() 549 UserSwitchResult.STATUS_ANDROID_FAILURE, /* errorMessage=*/ null); in switchUser() 605 UserSwitchResult.STATUS_ANDROID_FAILURE, /* errorMessage=*/ null); in logoutUser() 707 UserCreationResult.STATUS_ANDROID_FAILURE, /* errorMessage=*/ null); in createUser() 777 : UserRemovalResult.STATUS_ANDROID_FAILURE); in removeUser() 788 new UserRemovalResult(UserRemovalResult.STATUS_ANDROID_FAILURE)); in removeUser() 818 UserRemovalResult.STATUS_ANDROID_FAILURE); in removeUser()
|
D | CommonResults.java | 37 public static final int STATUS_ANDROID_FAILURE = 2; field in CommonResults
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | UserCreationResultTest.java | 18 import static android.car.user.UserCreationResult.STATUS_ANDROID_FAILURE; 66 UserCreationResult result = new UserCreationResult(STATUS_ANDROID_FAILURE, 6, user, in testToString() 69 UserCreationResult nullResult = new UserCreationResult(STATUS_ANDROID_FAILURE, null, null, in testToString()
|
D | UserStartResultTest.java | 46 { UserStartResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
|
D | UserCreationResultIsSuccessTest.java | 45 { UserCreationResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
|
D | UserStopResultTest.java | 45 { UserStopResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
|
D | UserRemovalResultTest.java | 48 { UserRemovalResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
|
D | UserSwitchResultTest.java | 46 { UserSwitchResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
|
D | CarUserServiceTest.java | 815 .isEqualTo(UserStopResult.STATUS_ANDROID_FAILURE); in testStopUser_fail() 853 .isEqualTo(UserStopResult.STATUS_ANDROID_FAILURE); in testStopUser_amThrowsRuntimeException() 900 .isEqualTo(UserStopResponse.STATUS_ANDROID_FAILURE); in testStopUser_withDelayedLocking_fail() 927 .isEqualTo(UserStopResponse.STATUS_ANDROID_FAILURE); in testStopUser_withoutDelayedLocking_fail() 1071 UserRemovalResult.STATUS_ANDROID_FAILURE); in testRemoveUser_androidFailure() 1277 UserSwitchResult.STATUS_ANDROID_FAILURE); in testSwitchUser_HalSuccessAndroidFailure() 1922 assertThat(result.getStatus()).isEqualTo(UserCreationResult.STATUS_ANDROID_FAILURE); in testCreateUser_umCreateReturnsNull() 1942 assertThat(result.getStatus()).isEqualTo(UserCreationResult.STATUS_ANDROID_FAILURE); in testCreateUser_umCreateThrowsException() 2069 UserCreationResult.STATUS_ANDROID_FAILURE, in testCreateUser_disallowAddUser() 2483 .isEqualTo(UserStartResult.STATUS_ANDROID_FAILURE); in testStartUserInBackground_fail() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/ |
D | AddNewProfileTaskTest.java | 128 mockCreateUser(/* user= */ null, UserCreationResult.STATUS_ANDROID_FAILURE); in userNotCreated_failureCalled() 187 UserStopResponse result = new UserStopResponse(UserStopResult.STATUS_ANDROID_FAILURE); in userCreatedOnPassenger_failure_doesNotStartUser()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/ |
D | StartUserInBackgroundResultTest.java | 50 {UserStartResult.STATUS_ANDROID_FAILURE, in provideParams()
|
D | RemoveUserResultTest.java | 50 failureTest(UserRemovalResult.STATUS_ANDROID_FAILURE, in testFailure()
|
D | StopUserResultTest.java | 54 {UserStopResult.STATUS_ANDROID_FAILURE, in provideParams()
|
D | CreateUserResultTest.java | 80 failureTest(UserCreationResult.STATUS_ANDROID_FAILURE, in testFailure()
|
/packages/services/Car/car-lib/src/android/car/admin/ |
D | CarDevicePolicyManager.java | 154 UserRemovalResult.STATUS_ANDROID_FAILURE); in removeUser() 171 new RemoveUserResult(UserRemovalResult.STATUS_ANDROID_FAILURE)); in removeUser()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 981 UserSwitchResult.STATUS_ANDROID_FAILURE, result, /* errorMessage= */ null); in handleSwitchUser() 1058 resultStatus = UserSwitchResult.STATUS_ANDROID_FAILURE; in handleSwitchUser() 1171 sendUserRemovalResult(userId, UserRemovalResult.STATUS_ANDROID_FAILURE, callback); in handleRemoveUser() 1193 sendUserRemovalResult(userId, UserRemovalResult.STATUS_ANDROID_FAILURE, callback); in handleRemoveUser() 1322 sendUserCreationFailure(callback, UserCreationResult.STATUS_ANDROID_FAILURE, in createUser() 1427 sendUserCreationResult(callback, UserCreationResult.STATUS_ANDROID_FAILURE, in handleCreateUser() 1442 sendUserCreationResult(callback, UserCreationResult.STATUS_ANDROID_FAILURE, in handleCreateUser() 1457 sendUserCreationResult(callback, UserCreationResult.STATUS_ANDROID_FAILURE, in handleCreateUser() 2145 ? UserStartResponse.STATUS_SUCCESSFUL : UserStartResponse.STATUS_ANDROID_FAILURE; in startUserInternal() 2181 return UserStartResult.STATUS_ANDROID_FAILURE; in startUserInBackgroundInternal() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/ |
D | ProfileHelperTest.java | 364 UserCreationResult.STATUS_ANDROID_FAILURE, null); in testRemoveUser_removesLastAdminUserFailsCreateNewUser_doesNotRemoveOrSwitchUser() 520 future.complete(new UserCreationResult(UserCreationResult.STATUS_ANDROID_FAILURE, in mockCreateUserFail() 549 future.complete(new UserSwitchResult(UserSwitchResult.STATUS_ANDROID_FAILURE, in mockSwitchUserFailure()
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/ |
D | CarUserManagerUnitTest.java | 423 assertThat(response.getStatus()).isEqualTo(UserRemovalResult.STATUS_ANDROID_FAILURE) in testRemoveUser_remoteException() 434 assertThat(result.getStatus()).isEqualTo(UserRemovalResult.STATUS_ANDROID_FAILURE); in testRemoveUserId_remoteException() 443 assertThat(response.getStatus()).isEqualTo(UserRemovalResult.STATUS_ANDROID_FAILURE) in testRemoveUser_runtimeException() 453 assertThat(result.getStatus()).isEqualTo(UserRemovalResult.STATUS_ANDROID_FAILURE); in testRemoveUserId_runtimeException()
|