/aosp14/frameworks/base/core/java/android/app/ |
H A 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()
|
H A D | Notification.java | 3505 proto.write(NotificationProto.CHANNEL_ID, getChannelId()); in dumpDebug() 3528 sb.append(getChannelId()); in toString() 3663 public String getChannelId() { in getChannelId() method in Notification 12268 public String getChannelId() { in getChannelId() method in Notification.Builder.TvExtender
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/ |
H A 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()
|
H A D | NotificationTest.java | 1001 new Notification.TvExtender(before).getChannelId()); in testDoesNotStripsExtenders()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A 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()
|
H A D | NotificationRecordTest.java | 884 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PappProvided_invalidSound() 903 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PuserOverridden() 920 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_prePappProvided()
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
H A D | JobNotificationCoordinator.java | 161 mUijNotificationChannels.get(userId, packageName).add(notification.getChannelId()); in enqueueNotification() 166 userPackage, callingPid, callingUid, notificationId, notification.getChannelId(), in enqueueNotification() 342 packageName, callingUid, notification.getChannelId())) { in validateNotification()
|
/aosp14/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 189 ? "c:" + notification.getChannelId() in groupKey() 545 if (notification.getChannelId() == null) { in getChannelIdLogTag() 548 return shortenTag(notification.getChannelId()); in getChannelIdLogTag()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationHistoryFilter.java | 63 && !getChannel().equals(notification.getChannelId())) { in matchesPackageAndChannelFilter()
|
H A 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()
|
H A D | NotificationRecordLogger.java | 457 return SmallHash.hash(r.getSbn().getNotification().getChannelId()); in getChannelIdHash()
|
H A D | NotificationRecord.java | 1399 if (notification.getChannelId() != null) { in calculateGrantableUris()
|
H A D | NotificationManagerService.java | 796 pair.first.getNotification().getChannelId())) { in removeChannelNotifications() 6784 String channelId = notification.getChannelId(); 6785 if (mIsTelevision && (new Notification.TvExtender(notification)).getChannelId() != null) { 6786 channelId = (new Notification.TvExtender(notification)).getChannelId();
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationTestHelper.java | 421 n.getChannelId(), in createBubble() 422 n.getChannelId(), in createBubble() 548 notification.getChannelId(), in generateRow() 549 notification.getChannelId(), in generateRow()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleLogger.java | 148 bubble.getChannelId() /* notification channel */, in logBubbleUiChanged()
|
H A D | Bubble.java | 575 mChannelId = entry.getStatusBarNotification().getNotification().getChannelId(); in setEntry() 660 public String getChannelId() { in getChannelId() method in Bubble
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
H A D | PowerNotificationWarningsTest.java | 183 assertTrue(captor.getValue().getChannelId() == NotificationChannels.BATTERY); in testShowLowBatteryNotification_BatteryChannel()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
H A D | JobNotificationCoordinatorTest.java | 117 doReturn(null).when(notification).getChannelId(); in testParameterValidation() 557 doReturn(NOTIFICATION_CHANNEL_ID).when(notification).getChannelId(); in createValidNotification()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ServiceRecord.java | 1382 localForegroundNoti.getChannelId()); in postNotification() 1417 localForegroundNoti.getChannelId()) == null) { in postNotification()
|
H A D | ActiveServices.java | 714 if (Objects.equals(sr.foregroundNoti.getChannelId(), channelId)) { in hasForegroundServiceNotificationLocked()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | DataManagerTest.java | 1735 when(mNotification.getChannelId()).thenReturn(PARENT_NOTIFICATION_CHANNEL_ID); in sendGenericNotificationWithKey() 1779 when(mNotification.getChannelId()).thenReturn(NOTIFICATION_CHANNEL_ID); in sendConvoNotification()
|
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/ |
H A D | DataManager.java | 1205 updated.setParentNotificationChannelId(sbn.getNotification().getChannelId()); in onNotificationPosted()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | BackgroundRestrictionTest.java | 2614 assertEquals(ABUSIVE_BACKGROUND_APPS, n.getChannelId()); in checkNotificationShown()
|
/aosp14/frameworks/base/core/api/ |
H A D | system-current.txt | 975 method public String getChannelId();
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |