Searched refs:getChannelName (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationHistoryTest.java | 108 assertThat(n.getChannelName()).isEqualTo(expectedChannelName); in testHistoricalNotificationBuilder() 160 assertThat(history.getPooledStringsToWrite()).asList().contains(n2.getChannelName()); in testAddNotificationsToWrite() 172 expectedStrings.add(n.getChannelName()); in testPoolStringsFromNotifications() 202 expectedStrings.add(n.getChannelName()); in testAddPooledStrings() 237 postRemoveExpectedStrings.add(n.getChannelName()); in testRemoveNotificationsFromWrite() 274 postRemoveExpectedStrings.add(n.getChannelName()); in testRemoveNotificationFromWrite() 311 postRemoveExpectedStrings.add(n.getChannelName()); in testRemoveConversationNotificationFromWrite() 350 postRemoveExpectedStrings.add(n.getChannelName()); in testRemoveChannelFromWrite()
|
/frameworks/base/core/java/android/app/ |
D | NotificationHistory.java | 62 public String getChannelName() { in getChannelName() method in NotificationHistory.HistoricalNotification 130 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()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryProtoHelperTest.java | 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()
|
D | PreferencesHelperTest.java | 5669 assertEquals("channel name", name, p.getChannelName()); in testPullPackageChannelPreferencesStats() 5673 assertEquals("channel name", "a", p.getChannelName()); in testPullPackageChannelPreferencesStats() 5676 assertEquals("channel name", "b", p.getChannelName()); in testPullPackageChannelPreferencesStats()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryProtoHelper.java | 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()
|
/frameworks/base/services/core/java/com/android/server/powerstats/ |
D | PowerStatsService.java | 575 getChannelName(channel)); in ensurePowerMonitors() 596 private String getChannelName(Channel c) { in getChannelName() method in PowerStatsService
|