Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationTest.java92 assertEquals("different channel", new Notification.TvExtender(before).getChannelId()); in testStripsExtendersInLowRamModeNoWhitelistNoTv()
93 assertNull(new Notification.TvExtender(after).getChannelId()); in testStripsExtendersInLowRamModeNoWhitelistNoTv()
118 assertEquals("different channel", new Notification.TvExtender(before).getChannelId()); in testStripsExtendersInLowRamModeHasWhitelist()
119 assertEquals("different channel", new Notification.TvExtender(after).getChannelId()); in testStripsExtendersInLowRamModeHasWhitelist()
165 assertEquals("different channel", new Notification.TvExtender(before).getChannelId()); in testDoesNotStripsExtendersInNormalRamMode()
DNotificationRecordTest.java653 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PappProvided()
675 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_PuserOverridden()
691 when(n.getChannelId()).thenReturn(channel.getId()); in testCalculateGrantableUris_prePappProvided()
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
DPreviewProgram.java94 public long getChannelId() { in getChannelId() method in PreviewProgram
DProgram.java91 public long getChannelId() { in getChannelId() method in Program
/frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/
DProgramTest.java226 assertEquals(programA.getChannelId(), programB.getChannelId()); in compareProgram()
DPreviewProgramTest.java323 assertEquals(programA.getChannelId(), programB.getChannelId()); in compareProgram()
DPreviewChannelHelperTest.java120 assertEquals(programA.getChannelId(), programB.getChannelId()); in compareProgram()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerNotificationWarningsTest.java122 assertTrue(captor.getValue().getChannelId() == NotificationChannels.BATTERY); in testShowLowBatteryNotification_BatteryChannel()
/frameworks/support/compat/src/androidTest/java/androidx/core/app/
DNotificationCompatTest.java123 assertEquals(channelId, NotificationCompat.getChannelId(n)); in testNotificationChannel()
125 assertNull(NotificationCompat.getChannelId(n)); in testNotificationChannel()
135 assertEquals(channelId, NotificationCompat.getChannelId(n)); in testNotificationChannel_assignedFromBuilder()
137 assertNull(NotificationCompat.getChannelId(n)); in testNotificationChannel_assignedFromBuilder()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java136 ? "c:" + notification.getChannelId() in groupKey()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java618 localForegroundNoti.getChannelId()); in postNotification()
653 localForegroundNoti.getChannelId()) == null) { in postNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1047 if (notification.getChannelId() != null) { in calculateGrantableUris()
DNotificationManagerService.java4024 String channelId = notification.getChannelId();
4025 if (mIsTelevision && (new Notification.TvExtender(notification)).getChannelId() != null) {
4026 channelId = (new Notification.TvExtender(notification)).getChannelId();
/frameworks/support/tv-provider/api_legacy/
D26.1.0.txt79 method public long getChannelId();
98 method public long getChannelId();
D27.0.0.txt79 method public long getChannelId();
98 method public long getChannelId();
D27.1.0.txt82 method public long getChannelId();
99 method public long getChannelId();
D28.0.0-alpha1.txt82 method public long getChannelId();
99 method public long getChannelId();
D26.0.0.txt79 method public long getChannelId();
98 method public long getChannelId();
Dcurrent.txt139 method public long getChannelId();
157 method public long getChannelId();
/frameworks/support/compat/src/main/java/androidx/core/app/
DNotificationCompat.java5210 public static String getChannelId(Notification notification) { in getChannelId() method in NotificationCompat
5212 return notification.getChannelId(); in getChannelId()
/frameworks/support/tv-provider/api/
Dcurrent.txt139 method public long getChannelId();
157 method public long getChannelId();
/frameworks/base/core/java/android/app/
DNotification.java2850 proto.write(NotificationProto.CHANNEL_ID, getChannelId()); in writeToProto()
2873 sb.append(getChannelId()); in toString()
3004 public String getChannelId() { in getChannelId() method in Notification
9540 public String getChannelId() { in getChannelId() method in Notification.Builder.TvExtender
/frameworks/support/compat/api_legacy/
D26.0.0.txt113 method public static java.lang.String getChannelId(android.app.Notification);
D27.0.0.txt113 method public static java.lang.String getChannelId(android.app.Notification);
D26.1.0.txt113 method public static java.lang.String getChannelId(android.app.Notification);

12