Home
last modified time | relevance | path

Searched refs:getErrorMessage (Results 1 – 21 of 21) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserManagerUnitTest.java180 assertThat(result.getErrorMessage()).isEqualTo("D'OH!"); in testSwitchUser_success()
193 assertThat(result.getErrorMessage()).isNull(); in testSwitchUser_noUserSwitchability()
206 assertThat(result.getErrorMessage()).isNull(); in testSwitchUser_remoteException()
256 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_withType_success()
277 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_withType_remoteException()
292 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_success()
313 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_remoteException()
328 assertThat(result.getErrorMessage()).isNull(); in testCreateGuest_success()
350 assertThat(result.getErrorMessage()).isNull(); in testCreateGuest_remoteException()
434 assertThat(result.getErrorMessage()).isNull(); in testSetUserIdentificationAssociation_remoteException()
[all …]
DUserIdentificationAssociationResponseTest.java37 assertThat(response.getErrorMessage()).isNull(); in testFailure_noMessage()
47 assertThat(response.getErrorMessage()).isEqualTo("D'OH!"); in testFailure_withMessage()
77 assertThat(response.getErrorMessage()).isNull(); in testSuccess_noMessage()
87 assertThat(response.getErrorMessage()).isEqualTo("D'OH!"); in testSuccess_withMessage()
DCarUserServiceTest.java886 assertThat(result.getErrorMessage()).isEqualTo(mSwitchUserResponse.errorMessage); in testSwitchUser_HalFailure()
1222 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_umCreateReturnsNull()
1238 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_umCreateThrowsException()
1254 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_internalHalFailure()
1269 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_halFailure()
1285 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_halServiceThrowsRuntimeException()
1328 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_success()
1362 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_success_nullName()
1568 assertThat(response.getErrorMessage()).isNull(); in testGetUserIdentificationAssociation_service_returnNull()
1580 assertThat(response.getErrorMessage()).isEqualTo(CarUserService.VEHICLE_HAL_NOT_SUPPORTED); in testGetUserIdentificationAssociation_halNotSupported()
[all …]
DExperimentalCarUserManagerUnitTest.java78 assertThat(result.getErrorMessage()).isNull(); in testCreateDriver_Success_Admin()
92 assertThat(result.getErrorMessage()).isNull(); in testCreateDriver_Success_NonAdmin()
DUserSwitchResultTest.java33 assertThat(result.getErrorMessage()).isEqualTo(msg); in testIUserSwitchResult_checkStatusAndMessage()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/
DTelecomActivityViewModelTest.java78 assertThat(mTelecomActivityViewModel.getErrorMessage().getValue()).isEqualTo( in testDialerAppState_defaultBluetoothAdapterIsNull_bluetoothError()
92 assertThat(mTelecomActivityViewModel.getErrorMessage().getValue()).isEqualTo( in testDialerAppState_bluetoothNotEnabled_bluetoothError()
109 assertThat(mTelecomActivityViewModel.getErrorMessage().getValue()).isEqualTo( in testDialerAppState_noPairedDevices_bluetoothError()
130 assertThat(mTelecomActivityViewModel.getErrorMessage().getValue()).isEqualTo( in testDialerAppState_hfpNoConnected_bluetoothError()
146 assertThat(mTelecomActivityViewModel.getErrorMessage().getValue()).isEqualTo( in testDialerAppState_bluetoothAllSet_dialerAppStateDefault()
162 mTelecomActivityViewModel.getErrorMessage().observeForever(s -> { in initializeViewModel()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContent.java104 description = getErrorMessage(context, scheduledRecording); in createFromScheduledRecording()
129 private static String getErrorMessage(Context context, ScheduledRecording recording) { in getErrorMessage() method in DetailsContent
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivityViewModel.java111 public LiveData<String> getErrorMessage() { in getErrorMessage() method in TelecomActivityViewModel
DTelecomActivity.java88 mBluetoothErrorMsgLiveData = viewModel.getErrorMessage(); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmLockPassword.java217 private int getErrorMessage() { in getErrorMessage() method in ConfirmLockPassword.ConfirmLockPasswordFragment
456 showError(getErrorMessage(), CLEAR_WRONG_ATTEMPT_TIMEOUT_MS); in onPasswordChecked()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPassword.java256 private int getErrorMessage() { in getErrorMessage() method in ConfirmLockPassword.ConfirmLockPasswordFragment
504 showError(getErrorMessage(), CLEAR_WRONG_ATTEMPT_TIMEOUT_MS); in onPasswordChecked()
/packages/apps/Car/Media/src/com/android/car/media/
DBrowseViewController.java516 private String getErrorMessage(boolean forRoot) { in getErrorMessage() method in BrowseViewController
591 mMessage.setText(getErrorMessage(forRoot)); in onItemsUpdate()
DMediaActivity.java326 if (!TextUtils.isEmpty(state.getErrorMessage())) { in getDisplayedMessage()
327 return state.getErrorMessage().toString(); in getDisplayedMessage()
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java222 result.getStatus(), result.getErrorMessage()); in switchUser()
262 result.getStatus(), result.getErrorMessage()); in createUser()
DUserIdentificationAssociationResponse.java145 public @Nullable String getErrorMessage() { in getErrorMessage() method in UserIdentificationAssociationResponse
DUserCreationResult.java224 public @Nullable String getErrorMessage() { in getErrorMessage() method in UserCreationResult
DUserSwitchResult.java253 public @Nullable String getErrorMessage() { in getErrorMessage() method in UserSwitchResult
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java459 public CharSequence getErrorMessage() { in getErrorMessage() method in PlaybackViewModel.PlaybackStateWrapper
460 return mState.getErrorMessage(); in getErrorMessage()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowPresenter.java434 + getErrorMessage(schedule); in onBindRowViewHolder()
467 private String getErrorMessage(ScheduledRecording recording) { in getErrorMessage() method in ScheduleRowPresenter
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java1020 String msg = result.getErrorMessage();
1078 String msg = result.getErrorMessage();
1311 String errorMessage = response.getErrorMessage();
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...