Home
last modified time | relevance | path

Searched refs:STATUS_ANDROID_FAILURE (Results 1 – 25 of 35) sorted by relevance

12

/packages/services/Car/car-lib/src/android/car/user/
DUserStartResult.java51 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()
DUserStopResult.java51 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()
DUserStopResponse.java55 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()
DUserRemovalResult.java54 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()
DUserStartResponse.java57 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()
DUserSwitchResult.java57 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()
DUserCreationResult.java60 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()
DCarUserManager.java442 : 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()
DCommonResults.java37 public static final int STATUS_ANDROID_FAILURE = 2; field in CommonResults
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DUserCreationResultTest.java18 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()
DUserStartResultTest.java46 { UserStartResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
DUserCreationResultIsSuccessTest.java45 { UserCreationResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
DUserStopResultTest.java45 { UserStopResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
DUserRemovalResultTest.java48 { UserRemovalResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
DUserSwitchResultTest.java46 { UserSwitchResult.STATUS_ANDROID_FAILURE, false}, in statusToIsSuccessMapping()
DCarUserServiceTest.java815 .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/
DAddNewProfileTaskTest.java128 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/
DStartUserInBackgroundResultTest.java50 {UserStartResult.STATUS_ANDROID_FAILURE, in provideParams()
DRemoveUserResultTest.java50 failureTest(UserRemovalResult.STATUS_ANDROID_FAILURE, in testFailure()
DStopUserResultTest.java54 {UserStopResult.STATUS_ANDROID_FAILURE, in provideParams()
DCreateUserResultTest.java80 failureTest(UserCreationResult.STATUS_ANDROID_FAILURE, in testFailure()
/packages/services/Car/car-lib/src/android/car/admin/
DCarDevicePolicyManager.java154 UserRemovalResult.STATUS_ANDROID_FAILURE); in removeUser()
171 new RemoveUserResult(UserRemovalResult.STATUS_ANDROID_FAILURE)); in removeUser()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java981 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/
DProfileHelperTest.java364 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/
DCarUserManagerUnitTest.java423 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()

12