Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWpsConnectionActivity.java62 String errorMessage;
65 errorMessage = getString(R.string.wifi_wps_failed_overlap);
68 errorMessage = getString(R.string.wifi_wps_failed_wep);
71 errorMessage = getString(R.string.wifi_wps_failed_tkip);
81 errorMessage = getString(R.string.wifi_wps_failed_generic);
84 displayFragment(createErrorFragment(errorMessage), true);
146 private Fragment createErrorFragment(String errorMessage) { in createErrorFragment() argument
153 return SelectFromListWizardFragment.newInstance(errorMessage, null, listItems, in createErrorFragment()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DPreconditions.java79 public static void checkArgument(boolean expression, Object errorMessage) { in checkArgument() argument
81 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument()
134 public static void checkState(boolean expression, Object errorMessage) { in checkState() argument
136 throw new IllegalStateException(String.valueOf(errorMessage)); in checkState()
192 public static <T> T checkNotNull(T reference, Object errorMessage) { in checkNotNull() argument
194 throw new NullPointerException(String.valueOf(errorMessage)); in checkNotNull()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DExportProcessor.java220 private String translateComposerError(String errorMessage) { in translateComposerError() argument
222 if (VCardComposer.FAILURE_REASON_FAILED_TO_GET_DATABASE_INFO.equals(errorMessage)) { in translateComposerError()
224 } else if (VCardComposer.FAILURE_REASON_NO_ENTRY.equals(errorMessage)) { in translateComposerError()
226 } else if (VCardComposer.FAILURE_REASON_NOT_INITIALIZED.equals(errorMessage)) { in translateComposerError()
229 return errorMessage; in translateComposerError()
DImportVCardActivity.java111 public DialogDisplayer(String errorMessage) { in DialogDisplayer() argument
113 mErrorMessage = errorMessage; in DialogDisplayer()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java244 final String errorMessage = in reportProgress() local
246 getCallbackTarget().onCheckSettingsError(reason, errorMessage); in reportProgress()
412 final String errorMessage; in doInBackground() local
413 errorMessage = bundle.getString( in doInBackground()
415 return new MessagingException(resultCode, errorMessage); in doInBackground()
DAccountServerBaseFragment.java213 protected void makeTextViewUneditable(final TextView view, final String errorMessage) { in makeTextViewUneditable() argument
226 view.setError(errorMessage); in makeTextViewUneditable()
236 view.setError(errorMessage); in makeTextViewUneditable()
/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()