Home
last modified time | relevance | path

Searched refs:conversations (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/people/java/com/android/server/people/data/
DConversationStore.java118 List<ConversationInfo> conversations; in saveConversationsToDisk() local
120 conversations = new ArrayList<>(mConversationInfoMap.values()); in saveConversationsToDisk()
122 conversationInfosProtoDiskReadWriter.saveConversationsImmediately(conversations); in saveConversationsToDisk()
167 List<ConversationInfo> conversations; in forAllConversations() local
169 conversations = new ArrayList<>(mConversationInfoMap.values()); in forAllConversations()
171 for (ConversationInfo ci : conversations) { in forAllConversations()
291 List<ConversationInfo> conversations; in scheduleUpdateConversationsOnDisk() local
293 conversations = new ArrayList<>(mConversationInfoMap.values()); in scheduleUpdateConversationsOnDisk()
295 conversationInfosProtoDiskReadWriter.scheduleConversationsSave(conversations); in scheduleUpdateConversationsOnDisk()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java319 List<ConversationInfo> conversations = getConversationsInPrimary(); in testAccessConversationFromTheSameProfileGroup() local
322 assertEquals(2, conversations.size()); in testAccessConversationFromTheSameProfileGroup()
324 assertEquals("sc_1", conversations.get(0).getShortcutId()); in testAccessConversationFromTheSameProfileGroup()
325 assertTrue(conversations.get(0).isPersonImportant()); in testAccessConversationFromTheSameProfileGroup()
326 assertFalse(conversations.get(0).isPersonBot()); in testAccessConversationFromTheSameProfileGroup()
327 assertFalse(conversations.get(0).isContactStarred()); in testAccessConversationFromTheSameProfileGroup()
328 assertEquals(PHONE_NUMBER, conversations.get(0).getContactPhoneNumber()); in testAccessConversationFromTheSameProfileGroup()
330 assertEquals("sc_2", conversations.get(1).getShortcutId()); in testAccessConversationFromTheSameProfileGroup()
331 assertFalse(conversations.get(1).isPersonImportant()); in testAccessConversationFromTheSameProfileGroup()
332 assertTrue(conversations.get(1).isPersonBot()); in testAccessConversationFromTheSameProfileGroup()
[all …]
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java284 default void onConversationsUpdate(@NonNull List<ConversationChannel> conversations) { in onConversationsUpdate() argument
316 public void onConversationsUpdate(List<ConversationChannel> conversations) { in onConversationsUpdate() argument
323 for (ConversationChannel conversation : conversations) { in onConversationsUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java993 List<ConversationChannelWrapper> conversations = in getPriorityTiles() local
996 Stream<ShortcutInfo> priorityConversations = conversations.stream() in getPriorityTiles()
1011 List<ConversationChannelWrapper> conversations = in getRecentTiles() local
1013 Stream<ShortcutInfo> nonPriorityConversations = conversations.stream() in getRecentTiles()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1415 ArrayList<ConversationChannelWrapper> conversations = new ArrayList<>(); in getConversations() local
1445 conversations.add(conversation); in getConversations()
1452 return conversations; in getConversations()
1463 ArrayList<ConversationChannelWrapper> conversations = new ArrayList<>(); in getConversations() local
1488 conversations.add(conversation); in getConversations()
1493 return conversations; in getConversations()
DNotificationManagerService.java3943 ArrayList<ConversationChannelWrapper> conversations =
3945 for (ConversationChannelWrapper conversation : conversations) {
3955 return new ParceledListSlice<>(conversations);
3970 ArrayList<ConversationChannelWrapper> conversations =
3972 for (ConversationChannelWrapper conversation : conversations) {
3982 return new ParceledListSlice<>(conversations);
/frameworks/base/core/proto/android/service/
Dnotification.proto314 optional State conversations = 4; field
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java598 assertEquals(policy.getPriorityCategoryConversations(), proto.conversations); in assertProtoMatches()
DNotificationManagerServiceTest.java7560 List<ConversationChannelWrapper> conversations = in testGetConversationsForPackage_hasShortcut() local
7562 assertEquals(si, conversations.get(0).getShortcutInfo()); in testGetConversationsForPackage_hasShortcut()
7563 assertEquals(si, conversations.get(1).getShortcutInfo()); in testGetConversationsForPackage_hasShortcut()
7567 conversations = in testGetConversationsForPackage_hasShortcut()
7569 assertThat(conversations.get(0).getShortcutInfo()).isNull(); in testGetConversationsForPackage_hasShortcut()
7570 assertThat(conversations.get(1).getShortcutInfo()).isNull(); in testGetConversationsForPackage_hasShortcut()
7598 List<ConversationChannelWrapper> conversations = in testGetConversationsForPackage_shortcut_notLongLived() local
7600 assertNull(conversations.get(0).getShortcutInfo()); in testGetConversationsForPackage_shortcut_notLongLived()
7601 assertNull(conversations.get(1).getShortcutInfo()); in testGetConversationsForPackage_shortcut_notLongLived()
7622 List<ConversationChannelWrapper> conversations = in testGetConversationsForPackage_doesNotHaveShortcut() local
[all …]
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto2853 // OPEN: Settings > Notifications > (app or conversations) > conversation
2873 // OPEN: Settings > apps & notifications > notifications > conversations
/frameworks/proto_logging/stats/
Datoms.proto7346 optional State conversations = 4; field