/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 | 3778 proto.write(NotificationProto.CHANNEL_ID, getChannelId()); in dumpDebug() 3801 sb.append(getChannelId()); in toString() 4054 public String getChannelId() { in getChannelId() method in Notification 13177 public String getChannelId() { in getChannelId() method in Notification.Builder.TvExtender
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationHistoryTest.java | 109 assertThat(n.getChannelId()).isEqualTo(expectedChannelId); in testHistoricalNotificationBuilder() 173 expectedStrings.add(n.getChannelId()); in testPoolStringsFromNotifications() 203 expectedStrings.add(n.getChannelId()); in testAddPooledStrings() 238 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveNotificationsFromWrite() 275 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveNotificationFromWrite() 312 postRemoveExpectedStrings.add(n.getChannelId()); in testRemoveConversationNotificationFromWrite() 351 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 | 1050 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PappProvided_invalidSound() 1069 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PuserOverridden() 1086 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_prePappProvided()
|
D | PreferencesHelperTest.java | 5667 String eventChannelId = p.getChannelId(); in testPullPackageChannelPreferencesStats() 5703 String id = p.getChannelId(); in testPullPackageChannelPreferencesStats_one_to_one() 5738 if (channelId.equals(p.getChannelId())) { in testPullPackageChannelPreferencesStats_conversation() 5769 if (channelId.equals(p.getChannelId())) { in testPullPackageChannelPreferencesStats_conversation_demoted() 5800 if (channelId.equals(p.getChannelId())) { in testPullPackageChannelPreferencesStats_conversation_priority()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 141 getChannelId(), in onStartCommand() 283 Notification.Builder builder = new Notification.Builder(this, getChannelId()) in createErrorNotification() 313 Notification.Builder builder = new Notification.Builder(this, getChannelId()) in createRecordingNotification() 335 Notification.Builder builder = new Notification.Builder(this, getChannelId()) in createProcessingNotification() 366 Notification.Builder builder = new Notification.Builder(this, getChannelId()) in createSaveNotification() 399 Notification groupNotif = new Notification.Builder(this, getChannelId()) in postGroupNotification() 479 protected String getChannelId() { in getChannelId() method in RecordingService
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
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()
|
/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 | 457 return SmallHash.hash(r.getSbn().getNotification().getChannelId()); in getChannelIdHash()
|
D | NotificationRecord.java | 1454 if (notification.getChannelId() != null) { in calculateGrantableUris()
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 189 ? "c:" + notification.getChannelId() in groupKey() 547 if (notification.getChannelId() == null) { in getChannelIdLogTag() 550 return shortenTag(notification.getChannelId()); in getChannelIdLogTag()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleLogger.java | 148 bubble.getChannelId() /* notification channel */, in logBubbleUiChanged()
|
D | Bubble.java | 622 mChannelId = entry.getStatusBarNotification().getNotification().getChannelId(); in setEntry() 707 public String getChannelId() { in getChannelId() method in Bubble
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationTestHelper.java | 478 n.getChannelId(), in createBubble() 479 n.getChannelId(), in createBubble() 605 notification.getChannelId(), in generateRow() 606 notification.getChannelId(), in generateRow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/ |
D | IssueRecordingService.kt | 69 override fun getChannelId(): String = CHANNEL_ID in getTag() method
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/notifications/ |
D | DisplayNotificationManagerTest.java | 185 assertThat(notification.getChannelId()).isEqualTo("ALERTS"); in assertExpectedNotification()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerNotificationWarningsTest.java | 195 assertTrue(captor.getValue().getChannelId() == NotificationChannels.BATTERY); in testShowLowBatteryNotification_BatteryChannel()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/net/ |
D | LockdownVpnTrackerTest.java | 185 if (!NOTIFICATION_CHANNEL_VPN.equals(notification.getChannelId())) { in isExpectedNotification()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobNotificationCoordinatorTest.java | 117 doReturn(null).when(notification).getChannelId(); in testParameterValidation() 557 doReturn(NOTIFICATION_CHANNEL_ID).when(notification).getChannelId(); in createValidNotification()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 1630 localForegroundNoti.getChannelId()); in postNotification() 1665 localForegroundNoti.getChannelId()) == null) { in postNotification()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 1735 when(mNotification.getChannelId()).thenReturn(PARENT_NOTIFICATION_CHANNEL_ID); in sendGenericNotificationWithKey() 1779 when(mNotification.getChannelId()).thenReturn(NOTIFICATION_CHANNEL_ID); in sendConvoNotification()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataManager.java | 1205 updated.setParentNotificationChannelId(sbn.getNotification().getChannelId()); in onNotificationPosted()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 1389 doReturn("").when(notification).getChannelId(); in testStartForegroundServiceDelegate()
|