/frameworks/base/core/java/android/app/ |
D | NotificationHistory.java | 66 public String getChannelId() { in getChannelId() method in NotificationHistory.HistoricalNotification 131 Objects.equals(getChannelId(), that.getChannelId()) && in equals() 140 return Objects.hash(getPackage(), getChannelName(), getChannelId(), getUid(), in hashCode() 315 mStringsToWrite.add(notification.getChannelId()); in poolStringsFromNotifications() 414 && Objects.equals(channelId, hn.getChannelId())) { in removeChannelFromWrite() 478 if (notification.getChannelId() != null) { in writeNotificationToParcel() 479 channelIdIndex = findStringIndex(notification.getChannelId()); in writeNotificationToParcel()
|
D | Notification.java | 3350 proto.write(NotificationProto.CHANNEL_ID, getChannelId()); in dumpDebug() 3373 sb.append(getChannelId()); in toString() 3508 public String getChannelId() { in getChannelId() method in Notification 11857 public String getChannelId() { in getChannelId() method in Notification.Builder.TvExtender
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationHistoryTest.java | 102 assertThat(n.getChannelId()).isEqualTo(expectedChannelId); in testHistoricalNotificationBuilder() 166 expectedStrings.add(n.getChannelId()); in testPoolStringsFromNotifications() 196 expectedStrings.add(n.getChannelId()); in testAddPooledStrings() 231 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveNotificationsFromWrite() 268 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveNotificationFromWrite() 305 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveConversationNotificationFromWrite() 344 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveChannelFromWrite()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryProtoHelperTest.java | 147 expectedStrings.add(n.getChannelId()); in testReadNotificationsWithPkgFilter() 189 expectedStrings.add(n.getChannelId()); in testReadNotificationsWithNumberFilter() 241 expectedStrings.add(n.getChannelId()); in testReadNotificationsWithNumberFilter_preExistingNotifs() 281 expectedStrings.add(n.getChannelId()); in testReadMergeIntoExistingHistory() 299 expectedStrings.add(n.getChannelId()); in testReadMergeIntoExistingHistory()
|
D | NotificationRecordTest.java | 819 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PappProvided() 843 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PuserOverridden() 860 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_prePappProvided()
|
D | NotificationTest.java | 82 assertEquals("different channel", new Notification.TvExtender(before).getChannelId()); in testDoesNotStripsExtenders()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationTestHelper.java | 302 n.getChannelId(), in createBubble() 303 n.getChannelId(), in createBubble() 433 notification.getChannelId(), in generateRow() 434 notification.getChannelId(), in generateRow()
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 162 ? "c:" + notification.getChannelId() in groupKey() 508 if (notification.getChannelId() == null) { in getChannelIdLogTag() 511 return shortenTag(notification.getChannelId()); in getChannelIdLogTag()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryFilter.java | 63 && !getChannel().equals(notification.getChannelId())) { in matchesPackageAndChannelFilter()
|
D | NotificationHistoryProtoHelper.java | 277 final int channelIdIndex = Arrays.binarySearch(stringPool, notification.getChannelId()); in writeNotification() 281 Slog.w(TAG, "notification channel id (" + notification.getChannelId() in writeNotification() 283 proto.write(Notification.CHANNEL_ID, notification.getChannelId()); in writeNotification()
|
D | NotificationRecordLogger.java | 407 return SmallHash.hash(r.getSbn().getNotification().getChannelId()); in getChannelIdHash()
|
D | NotificationRecord.java | 1294 if (notification.getChannelId() != null) { in calculateGrantableUris()
|
D | NotificationManagerService.java | 710 pair.first.getNotification().getChannelId())) { in removeChannelNotifications() 6229 String channelId = notification.getChannelId(); 6230 if (mIsTelevision && (new Notification.TvExtender(notification)).getChannelId() != null) { 6231 channelId = (new Notification.TvExtender(notification)).getChannelId();
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleLogger.java | 148 bubble.getChannelId() /* notification channel */, in logBubbleUiChanged()
|
D | Bubble.java | 458 mChannelId = entry.getStatusBarNotification().getNotification().getChannelId(); in setEntry() 534 public String getChannelId() { in getChannelId() method in Bubble
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerNotificationWarningsTest.java | 127 assertTrue(captor.getValue().getChannelId() == NotificationChannels.BATTERY); in testShowLowBatteryNotification_BatteryChannel()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 974 localForegroundNoti.getChannelId()); in postNotification() 1009 localForegroundNoti.getChannelId()) == null) { in postNotification()
|
D | ActiveServices.java | 560 if (Objects.equals(sr.foregroundNoti.getChannelId(), channelId)) { in hasForegroundServiceNotificationLocked() 580 if (Objects.equals(sr.foregroundNoti.getChannelId(), channelId)) { in stopForegroundServicesForChannelLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 1597 when(mNotification.getChannelId()).thenReturn(PARENT_NOTIFICATION_CHANNEL_ID); in sendGenericNotification() 1623 when(mNotification.getChannelId()).thenReturn(NOTIFICATION_CHANNEL_ID); in sendConvoNotification()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataManager.java | 1173 updated.setParentNotificationChannelId(sbn.getNotification().getChannelId()); in onNotificationPosted()
|
/frameworks/base/core/api/ |
D | system-current.txt | 749 method public String getChannelId();
|
D | current.txt | 5631 method public String getChannelId();
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2216 HSPLandroid/app/Notification;->getChannelId()Ljava/lang/String;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2216 HSPLandroid/app/Notification;->getChannelId()Ljava/lang/String;
|