/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | SmsSingleRecipientSender.java | 28 public SmsSingleRecipientSender(Context context, String dest, String msgText, long threadId, argument 30 super(context, null, msgText, threadId); 123 log("sendMessage: address=" + mDest + ", threadId=" + mThreadId +
|
H A D | SmsMessageSender.java | 57 public SmsMessageSender(Context context, String[] dests, String msgText, long threadId) { argument 69 mThreadId = threadId; 129 private String getOutgoingServiceCenter(long threadId) { argument 135 "thread_id = " + threadId, null, "date DESC");
|
H A D | MessagingNotification.java | 200 * @param threadId The ID of the thread that the user is currently viewing. Pass THREAD_NONE 204 public static void setCurrentlyDisplayedThreadId(long threadId) { argument 206 sCurrentlyDisplayedThreadId = threadId; 279 " but playing soft sound. threadId: " + newMsgThreadId); 319 public static void blockingUpdateAllNotifications(final Context context, long threadId) { argument 322 threadId); 324 nonBlockingUpdateNewMessageIndicator(context, threadId, false); 370 * @param threadId thread this message belongs to 376 int attachmentType, long threadId) { 387 mThreadId = threadId; 372 NotificationInfo(boolean isSms, Intent clickIntent, String message, String subject, CharSequence ticker, long timeMillis, String title, Bitmap attachmentBitmap, Contact sender, int attachmentType, long threadId) argument 738 getNewMessageNotificationInfo( Context context, boolean isSms, String address, String message, String subject, long threadId, long timeMillis, Bitmap attachmentBitmap, Contact contact, int attachmentType) argument 1066 notifyDownloadFailed(Context context, long threadId) argument 1078 notifyFailed(Context context, boolean isDownload, long threadId, boolean noisy) argument 1225 updateSendFailedNotificationForThread(Context context, long threadId) argument [all...] |
/packages/apps/Mms/src/com/android/mms/data/ |
H A D | RecipientIdCache.java | 138 public static void updateNumbers(long threadId, ContactList contacts) { argument
|
H A D | Conversation.java | 106 private Conversation(Context context, long threadId, boolean allowQuery) { argument 108 Log.v(TAG, "Conversation constructor threadId: " + threadId); 111 if (!loadFromThreadId(threadId, allowQuery)) { 137 public static Conversation get(Context context, long threadId, boolean allowQuery) { argument 139 Log.v(TAG, "Conversation get by threadId: " + threadId); 141 Conversation conv = Cache.get(threadId); 145 conv = new Conversation(context, threadId, allowQuery); 149 LogTag.error("Tried to add duplicate Conversation to Cache (from threadId) 404 getUri(long threadId) argument 846 startQueryHaveLockedMessages(AsyncQueryHandler handler, long threadId, int token) argument 910 get(long threadId) argument 1002 remove(long threadId) argument 1235 loadFromThreadId(long threadId, boolean allowQuery) argument 1351 verifySingleRecipient(final Context context, final long threadId, final String recipientStr) argument [all...] |
H A D | WorkingMessage.java | 785 mConversation.setRecipients(recipients); // resets the threadId to zero 1296 long threadId = conv.ensureThreadId(); 1301 if (LogTag.SEVERE_WARNING && ((origThreadId != 0 && origThreadId != threadId) || 1303 String msg = origThreadId != 0 && origThreadId != threadId ? 1304 "WorkingMessage.preSendSmsWorker threadId changed or " + 1306 origThreadId + " new threadId: " + threadId + 1319 sendSmsWorker(msgText, semiSepRecipients, threadId); 1322 deleteDraftSmsMessage(threadId); 1325 private void sendSmsWorker(String msgText, String semiSepRecipients, long threadId) { argument 1794 deleteDraftSmsMessage(long threadId) argument [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | DraftCache.java | 52 void onDraftChanged(long threadId, boolean hasDraft); argument 107 long threadId = cursor.getLong(COLUMN_DRAFT_THREAD_ID); 108 newDraftSet.add(threadId); 110 log("rebuildCache: add tid=" + threadId); 147 for (long threadId : added) { 148 l.onDraftChanged(threadId, true); 150 for (long threadId : removed) { 151 l.onDraftChanged(threadId, false); 161 public void setDraftState(long threadId, boolean hasDraft) { argument 162 if (threadId < 196 hasDraft(long threadId) argument [all...] |
H A D | Recycler.java | 84 long threadId = getThreadId(cursor); 85 deleteMessagesForThread(context, threadId, limit); 92 public void deleteOldMessagesByThreadId(Context context, long threadId) { argument 95 " threadId: " + threadId); 101 deleteMessagesForThread(context, threadId, getMessageLimit(context)); 126 abstract protected void deleteMessagesForThread(Context context, long threadId, int keep); argument 191 protected void deleteMessagesForThread(Context context, long threadId, int keep) { argument 199 ContentUris.withAppendedId(Sms.Conversations.CONTENT_URI, threadId), 222 ContentUris.withAppendedId(Sms.Conversations.CONTENT_URI, threadId), 380 deleteMessagesForThread(Context context, long threadId, int keep) argument 422 deleteMessagesOlderThanDate(Context context, long threadId, long latestDate) argument [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | ConversationList.java | 335 public void onDraftChanged(final long threadId, final boolean hasDraft) { argument 341 log("onDraftChanged: threadId=" + threadId + ", hasDraft=" + hasDraft); 447 // The invalid threadId of -1 means all threads here. 499 private void openThread(long threadId) { argument 500 startActivity(ComposeMessageActivity.createIntent(this, threadId)); 554 long threadId = conv.getThreadId(); 557 confirmDeleteThread(threadId, mQueryHandler); 561 openThread(threadId); 601 * @param threadId i 604 confirmDeleteThread(long threadId, AsyncQueryHandler handler) argument [all...] |
H A D | ComposeMessageActivity.java | 307 private long mTempThreadId; // Only used as a temporary to hold a threadId 1920 " threadId didn't change from: " + originalThreadId, this); 2001 // the thread will get a threadId behind the UI thread's back. 2003 long threadId = intent.getLongExtra(THREAD_ID, 0); 2007 if (threadId > 0) { 2008 conversation = Conversation.get(this, threadId, false); 2017 // the conversation by a phone number or by a thread id. We'll typically get a threadId 2019 // we end up here in onNewIntent. mConversation can have a threadId of zero when we're 2023 // use the real conversation as soon as it can rather than finding out the threadId 2029 log("onNewIntent: data=" + intentUri + ", thread_id extra is " + threadId 2775 confirmDeleteThread(long threadId) argument 4337 createIntent(Context context, long threadId) argument [all...] |