Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A 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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DDataManagerTest.java323 assertEquals(2, conversations.size()); in testAccessConversationFromTheSameProfileGroup()
327 assertFalse(conversations.get(0).isPersonBot()); in testAccessConversationFromTheSameProfileGroup()
333 assertTrue(conversations.get(1).isPersonBot()); in testAccessConversationFromTheSameProfileGroup()
349 assertEquals(1, conversations.size()); in testAccessConversationForUnlockedUsersOnly()
353 conversations = getConversationsInPrimary(); in testAccessConversationForUnlockedUsersOnly()
354 assertTrue(conversations.isEmpty()); in testAccessConversationForUnlockedUsersOnly()
452 assertEquals(1, conversations.size()); in testContactsChanged()
455 assertTrue(conversations.get(0).isContactStarred()); in testContactsChanged()
956 assertEquals(1, conversations.size()); in testShortcutAddedOrUpdated()
982 assertEquals(1, conversations.size()); in testShortcutsDeleted()
[all …]
/aosp14/frameworks/base/services/people/java/com/android/server/people/
H A DPeopleService.java285 default void onConversationsUpdate(@NonNull List<ConversationChannel> conversations) { in onConversationsUpdate() argument
317 public void onConversationsUpdate(List<ConversationChannel> conversations) { in onConversationsUpdate() argument
324 for (ConversationChannel conversation : conversations) { in onConversationsUpdate()
/aosp14/frameworks/base/core/proto/android/app/
H A Dnotificationmanager.proto48 // Priority conversations are prioritized
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManager.java994 List<ConversationChannelWrapper> conversations = in getPriorityTiles() local
997 Stream<ShortcutInfo> priorityConversations = conversations.stream() in getPriorityTiles()
1012 List<ConversationChannelWrapper> conversations = in getRecentTiles() local
1014 Stream<ShortcutInfo> nonPriorityConversations = conversations.stream() in getRecentTiles()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DPreferencesHelper.java1580 ArrayList<ConversationChannelWrapper> conversations = new ArrayList<>(); in getConversations() local
1610 conversations.add(conversation); in getConversations()
1617 return conversations; in getConversations()
1628 ArrayList<ConversationChannelWrapper> conversations = new ArrayList<>(); in getConversations() local
1653 conversations.add(conversation); in getConversations()
1658 return conversations; in getConversations()
H A DNotificationManagerService.java4197 ArrayList<ConversationChannelWrapper> conversations =
4199 for (ConversationChannelWrapper conversation : conversations) {
4209 return new ParceledListSlice<>(conversations);
4224 ArrayList<ConversationChannelWrapper> conversations =
4226 for (ConversationChannelWrapper conversation : conversations) {
4236 return new ParceledListSlice<>(conversations);
/aosp14/frameworks/base/core/proto/android/service/
H A Dnotification.proto344 optional State conversations = 4; field
/aosp14/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java698 final int conversations = safeInt(parser, ALLOW_ATT_CONV_FROM, in readZenPolicyXml() local
718 if (conversations != ZenPolicy.CONVERSATION_SENDERS_UNSET) { in readZenPolicyXml()
719 builder.allowConversations(conversations); in readZenPolicyXml()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenPolicyTest.java663 assertEquals(policy.getPriorityCategoryConversations(), proto.conversations); in assertProtoMatches()
H A DNotificationManagerServiceTest.java9953 List<ConversationChannelWrapper> conversations =
9955 assertEquals(si, conversations.get(0).getShortcutInfo());
9956 assertEquals(si, conversations.get(1).getShortcutInfo());
9960 conversations =
9962 assertThat(conversations.get(0).getShortcutInfo()).isNull();
9991 List<ConversationChannelWrapper> conversations =
9993 assertNull(conversations.get(0).getShortcutInfo());
9994 assertNull(conversations.get(1).getShortcutInfo());
10015 List<ConversationChannelWrapper> conversations =
10017 assertNull(conversations.get(0).getShortcutInfo());
[all …]