Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A 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()
H A DPreferencesHelperTest.java398 assertEquals(expected.getConversationId(), actual.getConversationId()); in compareChannels()
417 assertEquals(conversationId, actual.getConversationId()); in compareChannelsParentChild()
H A DNotificationManagerServiceTest.java9873 assertEquals("friend", friendChannel.getConversationId());
9874 assertEquals(null, original.getConversationId());
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationHistoryTest.java167 if (n.getConversationId() != null) { in testPoolStringsFromNotifications()
168 expectedStrings.add(n.getConversationId()); in testPoolStringsFromNotifications()
197 if (n.getConversationId() != null) { in testAddPooledStrings()
198 expectedStrings.add(n.getConversationId()); in testAddPooledStrings()
232 if (n.getConversationId() != null) { in testRemoveNotificationsFromWrite()
233 postRemoveExpectedStrings.add(n.getConversationId()); in testRemoveNotificationsFromWrite()
269 if (n.getConversationId() != null) { in testRemoveNotificationFromWrite()
270 postRemoveExpectedStrings.add(n.getConversationId()); in testRemoveNotificationFromWrite()
306 if (n.getConversationId() != null) { in testRemoveConversationNotificationFromWrite()
307 postRemoveExpectedStrings.add(n.getConversationId()); in testRemoveConversationNotificationFromWrite()
[all …]
H A DNotificationChannelTest.java200 fromParcel.getConversationId().length()); in testLongStringFields()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationHistory.java98 public String getConversationId() { in getConversationId() method in NotificationHistory.HistoricalNotification
134 Objects.equals(getConversationId(), that.getConversationId()) && in equals()
142 getPostedTimeMs(), getTitle(), getText(), getIcon(), getConversationId()); in hashCode()
316 if (!TextUtils.isEmpty(notification.getConversationId())) { in poolStringsFromNotifications()
317 mStringsToWrite.add(notification.getConversationId()); in poolStringsFromNotifications()
393 && hn.getConversationId() != null in removeConversationsFromWrite()
394 && conversationIds.contains(hn.getConversationId())) { in removeConversationsFromWrite()
485 if (!TextUtils.isEmpty(notification.getConversationId())) { in writeNotificationToParcel()
486 conversationIdIndex = findStringIndex(notification.getConversationId()); in writeNotificationToParcel()
H A DNotificationChannel.java710 return !TextUtils.isEmpty(getConversationId()); in isConversation()
826 public @Nullable String getConversationId() { in getConversationId() method in NotificationChannel
1192 if (getConversationId() != null) { in writeXml()
1193 out.attribute(null, ATT_CONVERSATION_ID, getConversationId()); in writeXml()
1349 && Objects.equals(getConversationId(), that.getConversationId()) in equals()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationChannelLogger.java188 return channel.getConversationId() != null in getCreated()
194 return channel.getConversationId() != null in getDeleted()
221 return SmallHash.hash(channel.getConversationId()); in getConversationIdHash()
244 if (channel.getConversationId() == null || importance < IMPORTANCE_HIGH) { in getLoggingImportance()
H A 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()
H A DPreferencesHelper.java435 channel.getConversationId() != null && in isShortcutOk()
436 channel.getConversationId().contains( in isShortcutOk()
1277 if (conversationId.equals(nc.getConversationId()) in findConversationChannel()
1297 if (conversationId.equals(nc.getConversationId()) in getNotificationChannelsByConversationId()
1586 if (!TextUtils.isEmpty(nc.getConversationId()) && !nc.isDeleted() in getConversations()
1632 if (!TextUtils.isEmpty(nc.getConversationId()) in getConversations()
1673 if (nc.getConversationId() != null in deleteConversations()
1674 && conversationIds.contains(nc.getConversationId())) { in deleteConversations()
2311 event.writeBoolean(channel.getConversationId() != null); in pullPackageChannelPreferencesStats()
H A DNotificationManagerService.java4204 conversation.getNotificationChannel().getConversationId(),
4231 conversation.getNotificationChannel().getConversationId(),
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationChannelHelper.java43 if (!TextUtils.isEmpty(channel.getConversationId())) { in createConversationChannelIfNeeded()
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DDataManager.java1262 String shortcutId = channel.getConversationId(); in onNotificationChannelModified()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleController.java1551 if (Objects.equals(b.getShortcutId(), channel.getConversationId()) in onNotificationChannelModified()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DDataManagerTest.java770 mNotificationChannel.getConversationId()); in testOnNotificationChannelModified()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt2338 HSPLandroid/app/NotificationChannel;->getConversationId()Ljava/lang/String;
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt2338 HSPLandroid/app/NotificationChannel;->getConversationId()Ljava/lang/String;
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt6730 method @Nullable public String getConversationId();