Home
last modified time | relevance | path

Searched refs:conversationId (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessageReadReceiver.java33 int conversationId = intent.getIntExtra(CONVERSATION_ID, -1); in onReceive() local
34 if (conversationId != -1) { in onReceive()
35 Log.d(TAG, "Conversation " + conversationId + " was read"); in onReceive()
36 MessageLogger.logMessage(context, "Conversation " + conversationId + " was read."); in onReceive()
38 .cancel(conversationId); in onReceive()
DConversations.java55 private final int conversationId; field in Conversations.Conversation
67 public Conversation(int conversationId, String participantName, in Conversation() argument
69 this.conversationId = conversationId; in Conversation()
76 return conversationId; in getConversationId()
92 return "[Conversation: conversationId=" + conversationId + in toString()
DMessageReplyReceiver.java42 int conversationId = intent.getIntExtra(MessagingService.CONVERSATION_ID, -1); in onReceive() local
44 if (conversationId != -1) { in onReceive()
45 Log.d(TAG, "Got reply (" + reply + ") for ConversationId " + conversationId); in onReceive()
46 MessageLogger.logMessage(context, "ConversationId: " + conversationId + in onReceive()
58 notificationManager.notify(conversationId, repliedNotification); in onReceive()
DMessagingService.java73 private Intent getMessageReplyIntent(int conversationId) { in getMessageReplyIntent() argument
77 .putExtra(CONVERSATION_ID, conversationId); in getMessageReplyIntent()