Searched refs:getChannelName (Results 1 – 4 of 4) sorted by relevance
101 assertThat(n.getChannelName()).isEqualTo(expectedChannelName); in testHistoricalNotificationBuilder()153 assertThat(history.getPooledStringsToWrite()).asList().contains(n2.getChannelName()); in testAddNotificationsToWrite()165 expectedStrings.add(n.getChannelName()); in testPoolStringsFromNotifications()195 expectedStrings.add(n.getChannelName()); in testAddPooledStrings()230 postRemoveExpectedStrings.add(n.getChannelName()); in testRemoveNotificationsFromWrite()267 postRemoveExpectedStrings.add(n.getChannelName()); in testRemoveNotificationFromWrite()304 postRemoveExpectedStrings.add(n.getChannelName()); in testRemoveConversationNotificationFromWrite()343 postRemoveExpectedStrings.add(n.getChannelName()); in testRemoveChannelFromWrite()
62 public String getChannelName() { in getChannelName() method in NotificationHistory.HistoricalNotification130 Objects.equals(getChannelName(), that.getChannelName()) && in equals()140 return Objects.hash(getPackage(), getChannelName(), getChannelId(), getUid(), in hashCode()314 mStringsToWrite.add(notification.getChannelName()); in poolStringsFromNotifications()471 if (notification.getChannelName() != null) { in writeNotificationToParcel()472 channelNameIndex = findStringIndex(notification.getChannelName()); in writeNotificationToParcel()
146 expectedStrings.add(n.getChannelName()); in testReadNotificationsWithPkgFilter()188 expectedStrings.add(n.getChannelName()); in testReadNotificationsWithNumberFilter()240 expectedStrings.add(n.getChannelName()); in testReadNotificationsWithNumberFilter_preExistingNotifs()280 expectedStrings.add(n.getChannelName()); in testReadMergeIntoExistingHistory()298 expectedStrings.add(n.getChannelName()); in testReadMergeIntoExistingHistory()
269 final int channelNameIndex = Arrays.binarySearch(stringPool, notification.getChannelName()); in writeNotification()273 Slog.w(TAG, "notification channel name (" + notification.getChannelName() in writeNotification()275 proto.write(Notification.CHANNEL_NAME, notification.getChannelName()); in writeNotification()