/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryProtoHelperTest.java | 148 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()
|
D | PreferencesHelperTest.java | 269 assertEquals(expected.getConversationId(), actual.getConversationId()); in compareChannels() 288 assertEquals(conversationId, actual.getConversationId()); in compareChannelsParentChild()
|
D | NotificationManagerServiceTest.java | 6514 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/ |
D | NotificationHistoryTest.java | 107 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/ |
D | NotificationHistory.java | 100 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()
|
D | NotificationChannel.java | 745 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/ |
D | NotificationChannelLogger.java | 188 return channel.getConversationId() != null in getCreated() 194 return channel.getConversationId() != null in getDeleted() 237 if (channel.getConversationId() == null || importance < IMPORTANCE_HIGH) { in getLoggingImportance()
|
D | NotificationHistoryProtoHelper.java | 285 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()
|
D | PreferencesHelper.java | 318 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()
|
D | NotificationManagerService.java | 3520 conversation.getNotificationChannel().getConversationId(), 3547 conversation.getNotificationChannel().getConversationId(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationChannelHelper.java | 43 if (!TextUtils.isEmpty(channel.getConversationId())) { in createConversationChannelIfNeeded()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataManager.java | 852 String shortcutId = channel.getConversationId(); in onNotificationChannelModified()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2741 HSPLandroid/app/NotificationChannel;->getConversationId()Ljava/lang/String;
|
/frameworks/base/api/ |
D | current.txt | 5940 method @Nullable public String getConversationId();
|