Home
last modified time | relevance | path

Searched refs:Conversation (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Car/Messenger/src/com/android/car/messenger/core/util/
DConversationUtil.java28 import com.android.car.messenger.common.Conversation;
29 import com.android.car.messenger.common.Conversation.Message;
30 import com.android.car.messenger.common.Conversation.Message.MessageStatus;
40 public static long getConversationTimestamp(@Nullable Conversation conversation) { in getConversationTimestamp()
51 public static boolean isReplied(@Nullable Conversation conversation) { in isReplied()
69 public static Message getLastMessage(@Nullable Conversation conversation) { in getLastMessage()
82 public static int getConversationStatus(@Nullable Conversation conversation) { in getConversationStatus()
97 @NonNull Conversation.Builder conversationBuilder, in setReplyTimestampAsAnExtra()
110 private static long getReplyTimestamp(@Nullable Conversation conversation) { in getReplyTimestamp()
DVoiceUtil.java52 import com.android.car.messenger.common.Conversation;
53 import com.android.car.messenger.common.Conversation.ConversationAction;
54 import com.android.car.messenger.common.Conversation.ConversationAction.ActionType;
76 @NonNull Conversation conversation) { in voiceRequestReadConversation()
93 @NonNull Conversation conversation) { in voiceRequestReplyConversation()
104 @NonNull Conversation conversation, in voiceRequestHelper()
109 Conversation tapToReadConversation = in voiceRequestHelper()
158 public static Conversation createTapToReadConversation( in createTapToReadConversation()
159 Conversation conversation, int userAccountId) { in createTapToReadConversation()
162 Conversation.Builder builder = conversation.toBuilder(); in createTapToReadConversation()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DMessageUtils.java19 import static com.android.car.messenger.common.Conversation.Message.MessageStatus.MESSAGE_STATUS_NO…
20 import static com.android.car.messenger.common.Conversation.Message.MessageStatus.MESSAGE_STATUS_RE…
21 import static com.android.car.messenger.common.Conversation.Message.MessageStatus.MESSAGE_STATUS_UN…
34 import com.android.car.messenger.common.Conversation;
35 import com.android.car.messenger.common.Conversation.Message;
36 import com.android.car.messenger.common.Conversation.Message.MessageStatus;
37 import com.android.car.messenger.common.Conversation.Message.MessageType;
164 private static Conversation.Message parseMessageAtPoint( in parseMessageAtPoint()
172 Conversation.Message message = in parseMessageAtPoint()
173 new Conversation.Message(msg.mBody, msg.mDate.toEpochMilli(), person); in parseMessageAtPoint()
DConversationFetchUtil.java30 import com.android.car.messenger.common.Conversation;
51 public static Conversation fetchConversation(@NonNull String conversationId) { in fetchConversation()
53 Conversation.Builder conversationBuilder = initConversationBuilder(conversationId); in fetchConversation()
57 List<Conversation.Message> messagesToRead = MessageUtils.getUnreadMessages(messagesCursor); in fetchConversation()
63 Pair<List<Conversation.Message>, Long> readMessagesAndReplyTimestamp = in fetchConversation()
76 private static Conversation.Builder initConversationBuilder(@NonNull String conversationId) { in initConversationBuilder()
79 Conversation.Builder builder = in initConversationBuilder()
80 new Conversation.Builder( in initConversationBuilder()
/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/
DConversationPayloadHandler.java37 import com.android.car.messenger.common.Conversation;
38 import com.android.car.messenger.common.Conversation.ConversationAction.ActionType;
65 @NonNull Conversation conversation, in createNotificationFromConversation()
91 @NonNull Conversation conversation, in getNotificationAction()
93 Conversation.ConversationAction conversationAction = in getNotificationAction()
130 @NonNull Conversation conversation) { in getMessagingStyle()
135 for (Conversation.Message message : conversation.getMessages()) { in getMessagingStyle()
156 private static boolean isGroupConversation(Conversation conversation) { in isGroupConversation()
165 private static Conversation.ConversationAction getConversationAction( in getConversationAction()
166 Conversation conversation, @ActionType int action) { in getConversationAction()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/
DConversationListLiveData.java33 import com.android.car.messenger.common.Conversation;
48 class ConversationListLiveData extends ContentProviderLiveData<Collection<Conversation>> {
52 private static final Comparator<Conversation> sConversationComparator =
84 ArrayList<Conversation> conversations = new ArrayList<>(); in onDataChange()
87 Conversation conversation = null; in onDataChange()
103 Collection<Conversation> conversations = getValue(); in onSharedPreferenceChanged()
108 ArrayList<Conversation> finalConversations = new ArrayList<>(); in onSharedPreferenceChanged()
110 for (Conversation conversation : conversations) { in onSharedPreferenceChanged()
118 Conversation.Builder builder = conversation.toBuilder(); in onSharedPreferenceChanged()
DTelephonyDataModel.java32 import com.android.car.messenger.common.Conversation;
61 public LiveData<Collection<Conversation>> getConversations(@NonNull UserAccount userAccount) { in getConversations()
67 public LiveData<Conversation> getUnreadMessages() { in getUnreadMessages()
DNewMessageLiveData.java31 import com.android.car.messenger.common.Conversation;
50 public class NewMessageLiveData extends ContentProviderLiveData<Conversation> {
126 Conversation conversation; in postNewMessageIfFound()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/shared/
DNotificationHandler.java31 import com.android.car.messenger.common.Conversation;
48 public static void postOrRemoveNotification(@NonNull Conversation conversation) { in postOrRemoveNotification()
57 private static void postNotification(Conversation conversation) { in postNotification()
64 Conversation tapToReadConversation = in postNotification()
90 @NonNull Conversation tapToReadConversation) { in postNotificationForLegacyTapToRead()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/
DUIConversationItem.java24 import com.android.car.messenger.common.Conversation;
39 @NonNull Conversation mConversation;
52 @NonNull Conversation conversation) { in UIConversationItem()
127 public Conversation getConversation() { in getConversation()
DConversationItemAdapter.java28 import com.android.car.messenger.common.Conversation;
38 void onConversationItemClicked(@NonNull Conversation conversation); in onConversationItemClicked()
40 void onReplyIconClicked(@NonNull Conversation conversation); in onReplyIconClicked()
DUIConversationItemConverter.java27 import com.android.car.messenger.common.Conversation;
39 public static UIConversationItem convertToUIConversationItem(Conversation conversation) { in convertToUIConversationItem()
89 @NonNull Context context, @NonNull Conversation conversation) { in getConversationAvatar()
DConversationListFragment.java28 import com.android.car.messenger.common.Conversation;
140 public void onConversationItemClicked(@NonNull Conversation conversation) { in onConversationItemClicked()
148 public void onReplyIconClicked(@NonNull Conversation conversation) { in onReplyIconClicked()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DConversation.java45 public final class Conversation { class
79 public Conversation( in Conversation() method in Conversation
136 public static Conversation fromBundle(@Nullable Bundle bundle) { in fromBundle()
160 return new Conversation( in fromBundle()
274 public Conversation.Builder toBuilder() { in toBuilder()
275 return new Conversation.Builder(this); in toBuilder()
306 private Builder(@NonNull Conversation conversation) { in Builder()
442 public Conversation build() { in build()
443 return new Conversation( in build()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/interfaces/
DDataModel.java23 import com.android.car.messenger.common.Conversation;
57 LiveData<Collection<Conversation>> getConversations(@NonNull UserAccount userAccount); in getConversations()
74 LiveData<Conversation> getUnreadMessages(); in getUnreadMessages()
/packages/apps/Car/libs/car-messenger-common/
DAndroid.bp49 "src/com/android/car/messenger/common/Conversation.java",
/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/
DCarVoiceInteractionSession.java29 import com.android.car.messenger.common.Conversation;
/packages/apps/Car/libs/car-messenger-common/proto/
Dnotification_msg.proto117 // The Conversation title of this conversation.