Home | History | Annotate | Download | only in telephony

Lines Matching refs:THREAD_ID

120             { BaseColumns._ID, Mms.DATE, Mms.DATE_SENT, Mms.READ, Mms.THREAD_ID, Mms.LOCKED };
189 "SELECT sms._id AS _id,thread_id,address,body,date,date_sent,index_text,words._id " +
195 "SELECT pdu._id,thread_id,addr.address,part.text " +
212 " GROUP BY thread_id ORDER BY thread_id ASC, date DESC";
388 new String[] { "thread_id" },
397 "SELECT thread_id FROM pdu,part WHERE ((part.mid=pdu._id) AND " +
463 cursor = getFirstLockedMessage(projection, "thread_id=" + Long.toString(threadId),
609 Log.d(LOG_TAG, "insertThread: created new thread_id " + result +
659 Log.d(LOG_TAG, "getThreadId: create new thread_id for recipients " +
731 * FROM (SELECT _id, thread_id, ...
735 * SELECT _id, thread_id, ...
743 String[] innerProjection = new String[] {BaseColumns._ID, Conversations.THREAD_ID};
784 * FROM (SELECT thread_id AS tid, date * 1000 AS normalized_date, ...
787 * GROUP BY thread_id
790 thread_id AS tid, date AS normalized_date, ...
793 * GROUP BY thread_id
818 "thread_id", "date = MAX(date)");
823 "thread_id", "date = MAX(date)");
905 * Add normalized date and thread_id to the list of columns for an
915 result[0] = "thread_id AS tid";
937 selection, "thread_id = " + threadIdString);
1199 "_id NOT IN (SELECT DISTINCT thread_id FROM sms where thread_id NOT NULL " +
1200 "UNION SELECT DISTINCT thread_id FROM pdu where thread_id NOT NULL)", null);
1219 String finalSelection = concatSelections(selection, "thread_id = " + threadId);
1283 String finalSelection = concatSelections(selection, "thread_id=" + threadIdString);