Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotificationHistory.java68 public String getChannelId() { in getChannelId() method in NotificationHistory.HistoricalNotification
133 Objects.equals(getChannelId(), that.getChannelId()) && in equals()
142 return Objects.hash(getPackage(), getChannelName(), getChannelId(), getUid(), in hashCode()
317 mStringsToWrite.add(notification.getChannelId()); in poolStringsFromNotifications()
459 if (notification.getChannelId() != null) { in writeNotificationToParcel()
460 channelIdIndex = findStringIndex(notification.getChannelId()); in writeNotificationToParcel()
DNotification.java3050 proto.write(NotificationProto.CHANNEL_ID, getChannelId()); in dumpDebug()
3073 sb.append(getChannelId()); in toString()
3208 public String getChannelId() { in getChannelId() method in Notification
10779 public String getChannelId() { in getChannelId() method in Notification.Builder.TvExtender
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java100 assertThat(n.getChannelId()).isEqualTo(expectedChannelId); in testHistoricalNotificationBuilder()
164 expectedStrings.add(n.getChannelId()); in testPoolStringsFromNotifications()
194 expectedStrings.add(n.getChannelId()); in testAddPooledStrings()
229 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveNotificationsFromWrite()
266 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveNotificationFromWrite()
303 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveConversationNotificationFromWrite()
/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.java781 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PappProvided()
805 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PuserOverridden()
822 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_prePappProvided()
DNotificationTest.java82 assertEquals("different channel", new Notification.TvExtender(before).getChannelId()); in testDoesNotStripsExtenders()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java164 ? "c:" + notification.getChannelId() in groupKey()
510 if (notification.getChannelId() == null) { in getChannelIdLogTag()
513 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.java1267 if (notification.getChannelId() != null) { in calculateGrantableUris()
DNotificationManagerService.java5674 String channelId = notification.getChannelId();
5675 if (mIsTelevision && (new Notification.TvExtender(notification)).getChannelId() != null) {
5676 channelId = (new Notification.TvExtender(notification)).getChannelId();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationTestHelper.java388 notification.getChannelId(), in generateRow()
389 notification.getChannelId(), in generateRow()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerNotificationWarningsTest.java127 assertTrue(captor.getValue().getChannelId() == NotificationChannels.BATTERY); in testShowLowBatteryNotification_BatteryChannel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubble.java386 mChannelId = entry.getSbn().getNotification().getChannelId(); in setEntry()
463 public String getChannelId() { in getChannelId() method in Bubble
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java851 localForegroundNoti.getChannelId()); in postNotification()
886 localForegroundNoti.getChannelId()) == null) { in postNotification()
/frameworks/base/non-updatable-api/
Dsystem-current.txt640 method public String getChannelId();
/frameworks/base/api/
Dsystem-current.txt640 method public String getChannelId();
Dcurrent.txt5451 method public String getChannelId();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt2695 HSPLandroid/app/Notification;->getChannelId()Ljava/lang/String;