Home
last modified time | relevance | path

Searched refs:getOrCreateThreadId (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsSmsUtils.java164 public static long getOrCreateThreadId(final Context context, final String recipient) { in getOrCreateThreadId() method in MmsSmsUtils.Threads
168 return getOrCreateThreadId(context, recipients); in getOrCreateThreadId()
181 public static long getOrCreateThreadId( in getOrCreateThreadId() method in MmsSmsUtils.Threads
DMmsUtils.java822 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateSmsThreadId()
830 public static long getOrCreateThreadId(final Context context, final List<String> dests) { in getOrCreateThreadId() method in MmsUtils
837 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateThreadId()
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyThreadsCompat.java49 public static long getOrCreateThreadId(Context context, String recipient) { in getOrCreateThreadId() method in TelephonyThreadsCompat
51 return Telephony.Threads.getOrCreateThreadId(context, recipient); in getOrCreateThreadId()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java137 mThreadProvider.getOrCreateThreadId(new String[]{"+123 (213) 2214124"})); in setUp()
152 mThreadProvider.getOrCreateThreadId(new String[]{"+1232221412433", "+1232221412444"}); in setUp()
189 mThreadProvider.getOrCreateThreadId(new String[]{"+11121212", "example@example.com", in setUp()
208 mThreadProvider.getOrCreateThreadId(new String[]{"example@example.com", "+999999999"}); in setUp()
894 public int getOrCreateThreadId(final String[] recipients) { in getOrCreateThreadId() method in TelephonyBackupAgentTest.ThreadProvider
971 getOrCreateThreadId(recipients.toArray(new String[recipients.size()])); in query()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java347 mUnknownSenderThreadId = getOrCreateThreadId(null); in initUnknownSender()
811 threadId = getOrCreateThreadId(getRecipients(jsonReader));
939 threadId = getOrCreateThreadId(getRecipients(jsonReader));
1286 private long getOrCreateThreadId(Set<String> recipients) {
1302 threadId = Telephony.Threads.getOrCreateThreadId(this, recipients);
DMmsProvider.java399 finalValues.put(Mms.THREAD_ID, Threads.getOrCreateThreadId(getContext(), address)); in insert()
DSmsProvider.java700 values.put(Sms.THREAD_ID, Threads.getOrCreateThreadId( in insertInner()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DGetOrCreateConversationAction.java102 final long threadId = MmsUtils.getOrCreateThreadId(Factory.get().getApplicationContext(), in executeAction()
DReceiveSmsMessageAction.java84 final long threadId = MmsSmsUtils.Threads.getOrCreateThreadId(context, address); in executeAction()
DInsertNewMessageAction.java266 final long threadId = MmsUtils.getOrCreateThreadId(Factory.get().getApplicationContext(), in createMessage()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DGetOrCreateConversationActionTest.java67 final long threadId = MmsUtils.getOrCreateThreadId(mContext, recipients); in testGetOrCreateConversation()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java1171 final long threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients); in updateHeaders()
1433 threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients); in persist()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java848 cv.put(Telephony.Sms.Inbox.THREAD_ID, Telephony.Threads.getOrCreateThreadId(mContext, in writeMessageToSmsInbox()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java2299 Long oldThreadId = Telephony.Threads.getOrCreateThreadId(mContext, recipients); in unDeleteMessageMms()
2374 Long oldThreadId = Telephony.Threads.getOrCreateThreadId(mContext, recipients); in unDeleteMessageSms()
2953 values.put(Mms.THREAD_ID, Telephony.Threads.getOrCreateThreadId(mContext, recipients)); in pushMmsToFolder()