Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryProtoHelperTest.java148 if (!TextUtils.isEmpty(n.getConversationId())) { in testReadNotificationsWithPkgFilter()
149 expectedStrings.add(n.getConversationId()); in testReadNotificationsWithPkgFilter()
190 if (!TextUtils.isEmpty(n.getConversationId())) { in testReadNotificationsWithNumberFilter()
191 expectedStrings.add(n.getConversationId()); in testReadNotificationsWithNumberFilter()
242 if (n.getConversationId() != null) { in testReadNotificationsWithNumberFilter_preExistingNotifs()
243 expectedStrings.add(n.getConversationId()); in testReadNotificationsWithNumberFilter_preExistingNotifs()
282 if (n.getConversationId() != null) { in testReadMergeIntoExistingHistory()
283 expectedStrings.add(n.getConversationId()); in testReadMergeIntoExistingHistory()
300 if (n.getConversationId() != null) { in testReadMergeIntoExistingHistory()
301 expectedStrings.add(n.getConversationId()); in testReadMergeIntoExistingHistory()
DPreferencesHelperTest.java269 assertEquals(expected.getConversationId(), actual.getConversationId()); in compareChannels()
288 assertEquals(conversationId, actual.getConversationId()); in compareChannelsParentChild()
DNotificationManagerServiceTest.java6514 assertEquals("friend", friendChannel.getConversationId()); in createConversationNotificationChannel()
6515 assertEquals(null, original.getConversationId()); in createConversationNotificationChannel()
6554 assertEquals(conversationId, messagesChild.getConversationId()); in deleteConversationNotificationChannels()
6557 assertEquals(conversationId, callsChild.getConversationId()); in deleteConversationNotificationChannels()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java107 assertThat(n.getConversationId()).isEqualTo(expectedConversationId); in testHistoricalNotificationBuilder()
165 if (n.getConversationId() != null) { in testPoolStringsFromNotifications()
166 expectedStrings.add(n.getConversationId()); in testPoolStringsFromNotifications()
195 if (n.getConversationId() != null) { in testAddPooledStrings()
196 expectedStrings.add(n.getConversationId()); in testAddPooledStrings()
230 if (n.getConversationId() != null) { in testRemoveNotificationsFromWrite()
231 postRemoveExpectedStrings.add(n.getConversationId()); in testRemoveNotificationsFromWrite()
267 if (n.getConversationId() != null) { in testRemoveNotificationFromWrite()
268 postRemoveExpectedStrings.add(n.getConversationId()); in testRemoveNotificationFromWrite()
304 if (n.getConversationId() != null) { in testRemoveConversationNotificationFromWrite()
[all …]
/frameworks/base/core/java/android/app/
DNotificationHistory.java100 public String getConversationId() { in getConversationId() method in NotificationHistory.HistoricalNotification
136 Objects.equals(getConversationId(), that.getConversationId()) && in equals()
144 getPostedTimeMs(), getTitle(), getText(), getIcon(), getConversationId()); in hashCode()
318 if (!TextUtils.isEmpty(notification.getConversationId())) { in poolStringsFromNotifications()
319 mStringsToWrite.add(notification.getConversationId()); in poolStringsFromNotifications()
395 && conversationId.equals(hn.getConversationId())) { in removeConversationFromWrite()
466 if (!TextUtils.isEmpty(notification.getConversationId())) { in writeNotificationToParcel()
467 conversationIdIndex = findStringIndex(notification.getConversationId()); in writeNotificationToParcel()
DNotificationChannel.java745 public @Nullable String getConversationId() { in getConversationId() method in NotificationChannel
1034 if (getConversationId() != null) { in writeXml()
1035 out.attribute(null, ATT_CONVERSATION_ID, getConversationId()); in writeXml()
1202 && Objects.equals(getConversationId(), that.getConversationId()) in equals()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelLogger.java188 return channel.getConversationId() != null in getCreated()
194 return channel.getConversationId() != null in getDeleted()
237 if (channel.getConversationId() == null || importance < IMPORTANCE_HIGH) { in getLoggingImportance()
DNotificationHistoryProtoHelper.java285 if (!TextUtils.isEmpty(notification.getConversationId())) { in writeNotification()
287 stringPool, notification.getConversationId()); in writeNotification()
291 Slog.w(TAG, "notification conversation id (" + notification.getConversationId() in writeNotification()
293 proto.write(Notification.CONVERSATION_ID, notification.getConversationId()); in writeNotification()
DPreferencesHelper.java318 channel.getConversationId() != null && in readXml()
319 channel.getConversationId().contains( in readXml()
1043 if (conversationId.equals(nc.getConversationId()) in findConversationChannel()
1063 if (conversationId.equals(nc.getConversationId()) in getNotificationChannelsByConversationId()
1332 if (!TextUtils.isEmpty(nc.getConversationId()) && !nc.isDeleted() in getConversations()
1374 if (!TextUtils.isEmpty(nc.getConversationId()) in getConversations()
1414 if (conversationId.equals(nc.getConversationId())) { in deleteConversation()
1949 event.writeBoolean(channel.getConversationId() != null); in pullPackageChannelPreferencesStats()
DNotificationManagerService.java3520 conversation.getNotificationChannel().getConversationId(),
3547 conversation.getNotificationChannel().getConversationId(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationChannelHelper.java43 if (!TextUtils.isEmpty(channel.getConversationId())) { in createConversationChannelIfNeeded()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java852 String shortcutId = channel.getConversationId(); in onNotificationChannelModified()
/frameworks/base/config/
Dboot-image-profile.txt2741 HSPLandroid/app/NotificationChannel;->getConversationId()Ljava/lang/String;
/frameworks/base/api/
Dcurrent.txt5940 method @Nullable public String getConversationId();