Home
last modified time | relevance | path

Searched refs:getChannelId (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/app/
DNotificationHistory.java66 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()
DNotification.java3350 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/
DNotificationHistoryTest.java102 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/
DNotificationHistoryProtoHelperTest.java147 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()
DNotificationRecordTest.java819 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()
DNotificationTest.java82 assertEquals("different channel", new Notification.TvExtender(before).getChannelId()); in testDoesNotStripsExtenders()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationTestHelper.java302 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/
DStatusBarNotification.java162 ? "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/
DNotificationHistoryFilter.java63 && !getChannel().equals(notification.getChannelId())) { in matchesPackageAndChannelFilter()
DNotificationHistoryProtoHelper.java277 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()
DNotificationRecordLogger.java407 return SmallHash.hash(r.getSbn().getNotification().getChannelId()); in getChannelIdHash()
DNotificationRecord.java1294 if (notification.getChannelId() != null) { in calculateGrantableUris()
DNotificationManagerService.java710 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/
DBubbleLogger.java148 bubble.getChannelId() /* notification channel */, in logBubbleUiChanged()
DBubble.java458 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/
DPowerNotificationWarningsTest.java127 assertTrue(captor.getValue().getChannelId() == NotificationChannels.BATTERY); in testShowLowBatteryNotification_BatteryChannel()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java974 localForegroundNoti.getChannelId()); in postNotification()
1009 localForegroundNoti.getChannelId()) == null) { in postNotification()
DActiveServices.java560 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/
DDataManagerTest.java1597 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/
DDataManager.java1173 updated.setParentNotificationChannelId(sbn.getNotification().getChannelId()); in onNotificationPosted()
/frameworks/base/core/api/
Dsystem-current.txt749 method public String getChannelId();
Dcurrent.txt5631 method public String getChannelId();
/frameworks/base/boot/
Dboot-image-profile.txt2216 HSPLandroid/app/Notification;->getChannelId()Ljava/lang/String;
/frameworks/base/config/
Dboot-image-profile.txt2216 HSPLandroid/app/Notification;->getChannelId()Ljava/lang/String;