/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockHandler.java | 20 import android.os.Message; 28 public boolean sendMessageAtTime(Message msg, long uptimeMillis) {
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
H A D | MessageDateComparator.java | 21 public class MessageDateComparator implements Comparator<Message> { 23 public int compare(Message o1, Message o2) {
|
H A D | Folder.java | 52 public void messageRetrieved(Message message); 112 public abstract Message getMessage(String uid) throws MessagingException; 120 public abstract Message[] getMessages(int start, int end, MessageRetrievalListener listener) 123 public abstract Message[] getMessages(long startDate, long endDate, MessageRetrievalListener listener) 126 public abstract Message[] getMessages(SearchParams params,MessageRetrievalListener listener) 129 public abstract Message[] getMessages(String[] uids, MessageRetrievalListener listener) 142 public Message[] getMessages(Flag[] setFlags, Flag[] clearFlags, 147 public abstract void appendMessages(Message[] messages) throws MessagingException; 152 public abstract void copyMessages(Message[] msgs, Folder folder, 155 public abstract void setFlags(Message[] message [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
H A D | MockFolder.java | 25 public void appendMessages(Message[] messages) { 33 public void copyMessages(Message[] msgs, Folder folder, 57 public Message[] expunge() { 62 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) { 66 public Message getMessage(String uid) { 76 public Message[] getMessages(int start, int end, MessageRetrievalListener listener) { 81 public Message[] getMessages(String[] uids, MessageRetrievalListener listener) { 115 public void setFlags(Message[] messages, Flag[] flags, boolean value) { 119 public Message createMessage(String uid) { 124 public Message[] getMessage [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SynchronizedHandler.java | 20 import android.os.Message; 33 public void dispatchMessage(Message message) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
H A D | UserPresetsManager.java | 5 import android.os.Message; 32 public void handleMessage(Message msg) { 42 public boolean handleMessage(Message msg) { 75 Message msg = mProcessingHandler.obtainMessage(LOAD); 90 Message msg = mProcessingHandler.obtainMessage(SAVE); 99 Message msg = mProcessingHandler.obtainMessage(DELETE); 110 Message msg = mProcessingHandler.obtainMessage(UPDATE); 120 Message msg = mResultHandler.obtainMessage(LOAD_RESULT); 125 private void resultLoad(Message msg) { 131 private void processSave(Message ms [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | DelayedTaskHandler.java | 21 import android.os.Message; 61 public void dispatchMessage(Message msg) {
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
H A D | EmailSyncAdapterTests.java | 26 import com.android.emailcommon.provider.EmailContent.Message; 44 private static final String WHERE_ACCOUNT_KEY = Message.ACCOUNT_KEY + "=?"; 113 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId, 116 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId, 119 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId, 122 assertEquals(3, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 127 mResolver.delete(ContentUris.withAppendedId(Message.SYNCED_CONTENT_URI, id), 132 assertEquals(0, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 134 assertEquals(3, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI, 146 Message msg [all...] |
/packages/apps/Email/src/com/android/email/service/ |
H A D | ImapService.java | 49 import com.android.emailcommon.mail.Message; 220 Folder remoteFolder, ArrayList<Message> messages, final Mailbox toMailbox) 225 remoteFolder.fetch(messages.toArray(new Message[messages.size()]), fp, null); 226 Message [] oneMessageArray = new Message[1]; 227 for (Message message : messages) { 242 EmailContent.Message.FLAG_LOADED_COMPLETE); 247 final Mailbox mailbox, Folder remoteFolder, ArrayList<Message> unsyncedMessages, 261 remoteFolder.fetch(unsyncedMessages.toArray(new Message[unsyncedMessages.size()]), fp, 264 public void messageRetrieved(Message messag [all...] |
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
H A D | SendTestBroadcastActivity.java | 22 import android.os.Message; 46 public void handleMessage(Message msg) { 107 Message msg = mDelayHandler.obtainMessage(0, this); 121 Message msg = mDelayHandler.obtainMessage(0, this); 135 Message msg = mDelayHandler.obtainMessage(0, this); 149 Message msg = mDelayHandler.obtainMessage(0, this); 163 Message msg = mDelayHandler.obtainMessage(0, this); 177 Message msg = mDelayHandler.obtainMessage(0, this); 191 Message msg = mDelayHandler.obtainMessage(0, this); 205 Message ms [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
H A D | Rfc822OutputTests.java | 29 import com.android.emailcommon.provider.EmailContent.Message; 102 private Message createTestMessage(String text, boolean save) { 103 Message message = new Message(); 106 message.mFlags = Message.FLAG_TYPE_REPLY; 116 private Body createTestBody(Message message) { 128 Message message1 = createTestMessage("", true); 162 Message message2 = createTestMessage("", true); 201 Message msg = new Message(); [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
H A D | EmailContentSetupUtils.java | 20 import com.android.emailcommon.provider.EmailContent.Message; 86 public static Message setupMessage(String name, long accountId, long mailboxId, 95 public static Message setupMessage(String name, long accountId, long mailboxId, 97 Message message = new Message(); 103 message.mFlagLoaded = Message.FLAG_LOADED_UNLOADED;
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | Utilities.java | 28 import com.android.emailcommon.mail.Message; 46 * into a newly created EmailProvider Message, given the account and mailbox 52 * EmailContent.Message.LOADED) 54 public static void copyOneMessageToProvider(Context context, Message message, Account account, 56 EmailContent.Message localMessage = null; 60 EmailContent.Message.CONTENT_URI, 61 EmailContent.Message.CONTENT_PROJECTION, 74 localMessage = EmailContent.getContent(c, EmailContent.Message.class); 76 localMessage = new EmailContent.Message(); 90 * into an already-created EmailProvider Message [all...] |
H A D | DBHelper.java | 43 import com.android.emailcommon.provider.EmailContent.Message; 77 " delete from " + Message.TABLE_NAME + 79 "; delete from " + Message.UPDATED_TABLE_NAME + 81 "; delete from " + Message.DELETED_TABLE_NAME + 101 // Version 6: Adding Message.mServerTimeStamp column 110 // Version 14: Add snippet to Message table 125 // Version 27: Add protocolSearchInfo to Message table 142 // Version 104&105: add syncData to Message 183 * + " on " + Message.TABLE_NAME + " (" + MessageColumns.FLAG_READ + ");" 194 Message [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | ProcessingTask.java | 21 import android.os.Message; 35 Message msg = mProcessingHandler.obtainMessage(mType); 54 Message msg = mResultHandler.obtainMessage(mType); 62 Message msg = mResultHandler.obtainMessage(mType);
|
/packages/apps/Music/src/com/android/music/ |
H A D | ScanningProgress.java | 25 import android.os.Message; 35 public void handleMessage(Message msg) 56 Message next = obtainMessage(CHECK); 77 Message msg = mHandler.obtainMessage(CHECK);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapAuthenticator.java | 18 import android.os.Message; 59 Message msg = Message.obtain(mCallback);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapAuthenticator.java | 36 import android.os.Message; 77 Message msg = Message.obtain(mCallback);
|
/packages/services/Telephony/tests/src/com/android/phone/tests/ |
H A D | SendInstantTextTestService.java | 23 import android.os.Message; 36 public void handleMessage(Message msg) { 54 mHandler.sendMessageDelayed(Message.obtain(mHandler, 0, intent), 5 * 1000);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
H A D | ProviderTests.java | 46 import com.android.emailcommon.provider.EmailContent.Message; 167 private static Message createMessage( 169 Message message = ProviderTestUtils.setupMessage("1", 442 Message message1 = ProviderTestUtils.setupMessage("message1", 449 Message message1get = EmailContent.Message.restoreMessageWithId(mMockContext, message1Id); 455 Message message2 = ProviderTestUtils.setupMessage("message1", 471 Message message2get = EmailContent.Message.restoreMessageWithId(mMockContext, message2Id); 488 // Message wit [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
H A D | TestWebViewClient.java | 21 import android.os.Message; 70 public void onTooManyRedirects(WebView view, Message cancelMsg, 71 Message continueMsg) { 84 public void onFormResubmission(WebView view, Message dontResend, 85 Message resend) {
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
H A D | Message.java | 38 * <code>Message</code> object.
41 * Message msg = new Message(new BufferedInputStream(
47 * @version $Id: Message.java,v 1.3 2004/10/02 12:41:11 ntherning Exp $
49 public class Message extends Entity implements Body {
class in inherits:Entity,Body 52 * Creates a new empty <code>Message</code>.
54 public Message() {
method in class:Message 58 * Parses the specified MIME message stream into a <code>Message</code>
64 public Message(InputStream is) throws IOException {
method in class:Message 118 stack.push(Message [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
H A D | LegacyConversionsTests.java | 36 import com.android.emailcommon.mail.Message; 37 import com.android.emailcommon.mail.Message.RecipientType; 72 private static final String MESSAGE_ID = "Test-Message-ID"; 73 private static final String MESSAGE_ID_2 = "Test-Message-ID-Second"; 92 * TODO: basic Legacy -> Provider Message conversions 107 EmailContent.Message localMessage = new EmailContent.Message(); 121 EmailContent.Message localMessage = new EmailContent.Message(); 125 message.removeHeader("Message [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | EmailSyncParser.java | 61 private final ArrayList<EmailContent.Message> 62 newEmails = new ArrayList<EmailContent.Message>(); 63 private final ArrayList<EmailContent.Message> fetchedEmails = 64 new ArrayList<EmailContent.Message>(); 71 new String[] { EmailContent.Message.RECORD_ID, EmailContent.MessageColumns.SUBJECT }; 130 public void addData(EmailContent.Message msg, int endingTag) throws IOException { 185 msg.mFlagLoaded = EmailContent.Message.FLAG_LOADED_PARTIAL; 198 msg.mFlags |= EmailContent.Message.FLAG_INCOMING_MEETING_INVITE; 200 msg.mFlags |= EmailContent.Message.FLAG_INCOMING_MEETING_CANCEL; 224 msg.mFlags |= EmailContent.Message [all...] |
H A D | EmailSyncAdapter.java | 52 import com.android.emailcommon.provider.EmailContent.Message; 103 new String[] { Message.RECORD_ID, MessageColumns.SUBJECT }; 138 mContentResolver.delete(Message.CONTENT_URI, 139 Message.MAILBOX_KEY + "=" + mMailbox.mId, null); 140 mContentResolver.delete(Message.DELETED_CONTENT_URI, 141 Message.MAILBOX_KEY + "=" + mMailbox.mId, null); 142 mContentResolver.delete(Message.UPDATED_CONTENT_URI, 143 Message.MAILBOX_KEY + "=" + mMailbox.mId, null); 195 Cursor c = mContext.getContentResolver().query(Message.CONTENT_URI, 197 MessageColumns.FLAG_LOADED + "=" + Message [all...] |