Home
last modified time | relevance | path

Searched refs:errorMessage (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/
DNoHfpFragment.java55 public static NoHfpFragment newInstance(String errorMessage) { in newInstance() argument
59 args.putString(ERROR_MESSAGE_KEY, errorMessage); in newInstance()
77 public void setErrorMessage(String errorMessage) { in setErrorMessage() argument
78 mErrorMessage = errorMessage; in setErrorMessage()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java249 private String translateComposerError(String errorMessage) { in translateComposerError() argument
251 if (VCardComposer.FAILURE_REASON_FAILED_TO_GET_DATABASE_INFO.equals(errorMessage)) { in translateComposerError()
253 } else if (VCardComposer.FAILURE_REASON_NO_ENTRY.equals(errorMessage)) { in translateComposerError()
255 } else if (VCardComposer.FAILURE_REASON_NOT_INITIALIZED.equals(errorMessage)) { in translateComposerError()
258 return errorMessage; in translateComposerError()
DImportVCardActivity.java120 public DialogDisplayer(String errorMessage) { in DialogDisplayer() argument
122 mErrorMessage = errorMessage; in DialogDisplayer()
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
DPreferenceControllerContractTest.java85 final StringBuilder errorMessage = new StringBuilder() in controllersInSearchShouldImplementPreferenceControllerMixin() local
90 errorMessage.append(c).append("\n"); in controllersInSearchShouldImplementPreferenceControllerMixin()
92 fail(errorMessage.toString()); in controllersInSearchShouldImplementPreferenceControllerMixin()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunkIoHelper.java400 String errorMessage = in doOpenRead() local
402 SoftPreconditions.checkNotNull(readPosition, TAG, errorMessage); in doOpenRead()
403 throw new IOException(errorMessage); in doOpenRead()
483 String errorMessage = in doUpdateIndex() local
489 SoftPreconditions.checkNotNull(readPosition, TAG, errorMessage); in doUpdateIndex()
490 throw new IOException(errorMessage); in doUpdateIndex()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunkIoHelper.java445 String errorMessage = in doOpenRead() local
447 SoftPreconditions.checkNotNull(readPosition, TAG, errorMessage); in doOpenRead()
448 throw new IOException(errorMessage); in doOpenRead()
528 String errorMessage = in doUpdateIndex() local
534 SoftPreconditions.checkNotNull(readPosition, TAG, errorMessage); in doUpdateIndex()
535 throw new IOException(errorMessage); in doUpdateIndex()
/packages/apps/TV/common/src/com/android/tv/common/compat/internal/
DViewCompatProcessor.java74 String errorMessage = in handleEvent() local
76 Log.w(TAG, "Error sent in compat notify " + errorMessage); in handleEvent()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeNormalModeCipher.java68 String errorMessage = in doCipherAction()
72 throw new IllegalArgumentException(errorMessage, e); in doCipherAction()
DIkeCombinedModeCipher.java113 String errorMessage = in doCipherAction()
117 throw new IllegalArgumentException(errorMessage, e); in doCipherAction()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaEvent.java124 public TmaMediaEvent(EventState state, StateErrorCode errorCode, String errorMessage, in TmaMediaEvent() argument
129 mErrorMessage = errorMessage; in TmaMediaEvent()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DDiskBasedLogger.java245 private static void closeStream(Closeable stream, String errorMessage) { in closeStream() argument
249 Log.e(TAG, errorMessage); in closeStream()
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DFallbackAssistant.java157 public void handleErrorMessage(CharSequence errorMessage, Listener listener) { in handleErrorMessage() argument
163 if (mTextToSpeechHelper.requestPlay(Collections.singletonList(errorMessage), in handleErrorMessage()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java444 fail(testcase.errorMessage()); in testIsProvisioned()
454 String errorMessage() { in errorMessage() method in IpClientTest.IsProvisionedTestCase
537 fail(testcase.errorMessage()); in testInitialConfigurations()
546 public String errorMessage() { in errorMessage() method in IpClientTest.InitialConfigurationTestCase
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java691 String errorMessage = null; in showStorageHint() local
693 errorMessage = getString(R.string.no_storage); in showStorageHint()
695 errorMessage = getString(R.string.preparing_sd); in showStorageHint()
697 errorMessage = getString(R.string.access_sd_fail); in showStorageHint()
699 errorMessage = getString(R.string.spaceIsLow_content); in showStorageHint()
702 if (errorMessage != null) { in showStorageHint()
704 mStorageHint = OnScreenHint.makeText(this, errorMessage); in showStorageHint()
706 mStorageHint.setText(errorMessage); in showStorageHint()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DIccLockSettings.java488 private void createCustomTextToast(CharSequence errorMessage) { in createCustomTextToast() argument
496 tv.setText(errorMessage); in createCustomTextToast()
519 params.setTitle(errorMessage); in createCustomTextToast()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DStreamableAsset.java214 private void closeInputStream(InputStream inputStream, String errorMessage) { in closeInputStream() argument
218 Log.e(TAG, errorMessage); in closeInputStream()
/packages/services/Car/service/src/com/android/car/
DCarBugreportManagerService.java243 String errorMessage = line.substring(FAIL_PREFIX.length()); in processBugreportSockets() local
244 Slog.e(TAG, "Failed to dumpstate: " + errorMessage); in processBugreportSockets()
/packages/apps/Settings/src/com/android/settings/development/
DAdbQrcodeScannerFragment.java127 final String errorMessage = (String) msg.obj;
130 mErrorMessage.setText(errorMessage);
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java545 private void createCustomTextToast(CharSequence errorMessage) { in createCustomTextToast() argument
553 tv.setText(errorMessage); in createCustomTextToast()
576 params.setTitle(errorMessage); in createCustomTextToast()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DCarBlePeripheralManager.java335 private void disconnectWithError(@NonNull String errorMessage) { in disconnectWithError() argument
336 loge(TAG, errorMessage); in disconnectWithError()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeScannerFragment.java125 final String errorMessage = (String) msg.obj;
128 mErrorMessage.setText(errorMessage);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppQrCodeScannerFragment.java125 final String errorMessage = (String) msg.obj;
128 mErrorMessage.setText(errorMessage);
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java3018 CharSequence errorMessage;
3021 errorMessage = mContext.getText(R.string.cant_call_due_to_ongoing_unknown_call);
3023 errorMessage = mContext.getString(R.string.cant_call_due_to_ongoing_call,
3028 errorMessage, errorMessage, "Ongoing call in another app."));
/packages/apps/TV/src/com/android/tv/
DMainActivity.java1411 String errorMessage = data.getStringExtra(LauncherActivity.ERROR_MESSAGE); in onActivityResult() local
1412 if (!TextUtils.isEmpty(errorMessage)) { in onActivityResult()
1413 Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_SHORT).show(); in onActivityResult()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java160 void showErrorAndClose(Integer titleId, int messageId, String errorMessage); in showErrorAndClose() argument

12