Searched refs:message (Results 1 - 25 of 136) sorted by relevance

123456

/packages/apps/Email/src/com/android/email/mail/
H A DCertificateValidationException.java22 public CertificateValidationException(String message) { argument
23 super(message);
26 public CertificateValidationException(String message, Throwable throwable) { argument
27 super(message, throwable);
H A DNoSuchProviderException.java22 public NoSuchProviderException(String message) { argument
23 super(message);
26 public NoSuchProviderException(String message, Throwable throwable) { argument
27 super(message, throwable);
H A DAuthenticationFailedException.java22 public AuthenticationFailedException(String message) { argument
23 super(MessagingException.AUTHENTICATION_FAILED, message);
26 public AuthenticationFailedException(String message, Throwable throwable) { argument
27 super(message, throwable);
H A DMessagingException.java55 public MessagingException(String message) { argument
56 super(message);
60 public MessagingException(String message, Throwable throwable) { argument
61 super(message, throwable);
66 * Constructs a MessagingException with an exceptionType and a null message.
75 * Constructs a MessagingException with an exceptionType and a message.
78 public MessagingException(int exceptionType, String message) { argument
79 super(message);
H A DMessageRetrievalListener.java22 public void messageFinished(Message message, int number, int ofTotal); argument
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DDateException.java21 public DateException(String message) argument
23 super(message);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DMockTask.java58 public void assertRunCount(String message, int count) { argument
59 assertEquals(message + ": " + toString() + " bad run count", count, getRunCount());
62 public void assertRanNever(String message) { argument
63 assertRunCount(message, 0);
66 public void assertRanOnce(String message) { argument
67 assertRunCount(message, 1);
70 public static void assertRanNever(String message, MockTask... tasks) { argument
72 task.assertRanNever(message);
76 public static void assertRanOnce(String message, MockTask... tasks) { argument
78 task.assertRanOnce(message);
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/
H A DLog.java52 public void trace(Object message) { argument
54 android.util.Log.v(Email.LOG_TAG, toString(message, null));
57 public void trace(Object message, Throwable t) { argument
59 android.util.Log.v(Email.LOG_TAG, toString(message, t));
62 public void debug(Object message) { argument
64 android.util.Log.d(Email.LOG_TAG, toString(message, null));
67 public void debug(Object message, Throwable t) { argument
69 android.util.Log.d(Email.LOG_TAG, toString(message, t));
72 public void info(Object message) { argument
74 android.util.Log.i(Email.LOG_TAG, toString(message, nul
77 info(Object message, Throwable t) argument
82 warn(Object message) argument
86 warn(Object message, Throwable t) argument
90 error(Object message) argument
94 error(Object message, Throwable t) argument
98 fatal(Object message) argument
102 fatal(Object message, Throwable t) argument
[all...]
/packages/apps/Email/tests/src/com/android/email/mail/internet/
H A DMimeMessageTest.java65 * Confirms that setSentDate() correctly set the "Date" header of a Mime message.
87 MimeMessage message = new MimeMessage();
88 message.setSentDate(date);
89 String[] headers = message.getHeader("Date");
104 // Test 1. Every message gets a default and unique message-id
114 final String testId1 = "test-message-id-one";
118 // Test 3. Should only be one Message-ID per message
119 final String testId2 = "test-message-id-two";
129 MimeMessage message
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DSuggestionCursorUtil.java30 public static void assertNoSuggestions(String message, SuggestionCursor suggestions) { argument
32 assertEquals(message, 0, suggestions.getCount());
35 public static void assertSameSuggestion(String message, int position, argument
37 assertSameSuggestion(message, expected, position, observed, position);
40 public static void assertSameSuggestion(String message, argument
43 message += " at positions " + positionExpected + "(expected) "
47 assertSuggestionEquals(message, expected, observed);
60 String message, SuggestionCursor expected, SuggestionCursor observed) {
61 assertSameSuggestions(message, expected, observed, false);
65 String message, SuggestionCurso
59 assertSameSuggestions( String message, SuggestionCursor expected, SuggestionCursor observed) argument
64 assertSameSuggestions( String message, SuggestionCursor expected, SuggestionCursor observed, boolean allowExtras) argument
93 assertSuggestionEquals(String message, Suggestion expected, Suggestion observed) argument
125 assertFieldEquals(String message, String field, Object expected, Object observed) argument
[all...]
/packages/apps/IM/src/com/android/im/imps/
H A DParserException.java28 public ParserException(String message){ argument
29 super(message);
H A DSerializerException.java28 public SerializerException(String message){ argument
29 super(message);
/packages/apps/Mms/src/org/w3c/dom/events/
H A DEventException.java22 public EventException(short code, String message) { argument
23 super(message);
/packages/apps/IM/src/com/android/im/engine/
H A DImException.java29 * Creates a new ImException with the specified detail message.
31 * @param message the detail message.
33 public ImException(String message) { argument
34 super(message);
58 * Creates a new ImException with the specified detail message and cause.
60 * @param message the detail message.
63 public ImException(String message, Throwable cause) { argument
64 super(message, caus
[all...]
/packages/apps/Email/src/com/android/email/activity/
H A DProgressListener.java28 * @param message
33 void showProgress(Context context, String title, String message, long currentProgress, argument
39 * @param message
44 void updateProgress(Context context, String title, String message, long currentProgress, argument
/packages/apps/Email/src/org/apache/commons/io/
H A DIOExceptionWithCause.java38 * Constructs a new instance with the given message and cause.
40 * As specified in {@link Throwable}, the message in the given <code>cause</code> is not used in this instance's
41 * message.
44 * @param message
45 * the message (see {@link #getMessage()})
49 public IOExceptionWithCause(String message, Throwable cause) { argument
50 super(message);
57 * The message is set to <code>cause==null ? null : cause.toString()</code>, which by default contains the class
58 * and message of <code>cause</code>. This constructor is useful for call sites that just wrap another throwable.
/packages/apps/Email/src/org/apache/james/mime4j/message/
H A DAbstractBody.java20 package org.apache.james.mime4j.message;
34 * @see org.apache.james.mime4j.message.Body#getParent()
41 * @see org.apache.james.mime4j.message.Body#setParent(org.apache.james.mime4j.message.Entity)
H A DBinaryBody.java20 package org.apache.james.mime4j.message;
H A DTextBody.java20 package org.apache.james.mime4j.message;
H A DBody.java20 package org.apache.james.mime4j.message;
48 * Writes this body to the given stream in MIME message format.
H A DBodyPart.java20 package org.apache.james.mime4j.message;
36 * @see org.apache.james.mime4j.message.Entity#writeTo(java.io.OutputStream)
/packages/apps/Settings/src/com/android/settings/
H A DChooseLockSettingsHelper.java40 * @param message optional message to display about the action about to be done
41 * @param details optional detail message to display
46 CharSequence message, CharSequence details) {
50 launched = confirmPattern(request, message, details);
55 // TODO: update UI layout for ConfirmPassword to show message and details
64 * @param message shown in header of ConfirmLockPattern if not null
69 private boolean confirmPattern(int request, CharSequence message, CharSequence details) { argument
75 intent.putExtra(ConfirmLockPattern.HEADER_TEXT, message);
45 launchConfirmationActivity(int request, CharSequence message, CharSequence details) argument
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DSmtpSenderUnitTests.java163 * Test: Open and send a single message (sunny day)
172 Message message = setupSimpleMessage();
173 message.save(mProviderContext);
176 body.mMessageKey = message.mId;
180 // prepare for the message traffic we'll see
190 mSender.sendMessage(message.mId);
194 * Test: Open and send a single message with an empty attachment (no file) (sunny day)
203 Message message = setupSimpleMessage();
204 message.save(mProviderContext);
207 Attachment attachment = setupSimpleAttachment(mProviderContext, message
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessageStatusReceiver.java61 // message's status in the database.
70 SmsMessage message = SmsMessage.createFromPdu(pdu);
71 int status = message.getStatus();
72 isStatusReport = message.isStatusReportMessage();
84 error("Can't find message for status update: " + messageUri);
92 private void error(String message) { argument
93 Log.e(LOG_TAG, "[MessageStatusReceiver] " + message);
96 private void log(String message) { argument
97 Log.d(LOG_TAG, "[MessageStatusReceiver] " + message);
/packages/apps/Browser/tests/src/com/android/browser/
H A DTestWebChromeClient.java104 public boolean onJsAlert(WebView view, String url, String message, argument
106 return mWrappedClient.onJsAlert(view, url, message, result);
111 public boolean onJsConfirm(WebView view, String url, String message, argument
113 return mWrappedClient.onJsConfirm(view, url, message, result);
118 public boolean onJsPrompt(WebView view, String url, String message, argument
120 return mWrappedClient.onJsPrompt(view, url, message, defaultValue, result);
125 public boolean onJsBeforeUnload(WebView view, String url, String message, argument
127 return mWrappedClient.onJsBeforeUnload(view, url, message, result);
168 public void onConsoleMessage(String message, int lineNumber, String sourceID) { argument
169 mWrappedClient.onConsoleMessage(message, lineNumbe
[all...]

Completed in 431 milliseconds

123456