Home
last modified time | relevance | path

Searched refs:channelId (Results 1 – 10 of 10) sorted by relevance

/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDownloadNotificationUtil.java50 String channelId, in buildProgressNotification() argument
54 return new DownloadNotificationHelper(context, channelId) in buildProgressNotification()
71 String channelId, in buildDownloadCompletedNotification() argument
74 return new DownloadNotificationHelper(context, channelId) in buildDownloadCompletedNotification()
91 String channelId, in buildDownloadFailedNotification() argument
94 return new DownloadNotificationHelper(context, channelId) in buildDownloadFailedNotification()
DPlayerNotificationManager.java359 private final String channelId; field in PlayerNotificationManager
403 String channelId, in createWithNotificationChannel() argument
409 channelId, in createWithNotificationChannel()
439 String channelId, in createWithNotificationChannel() argument
445 context, channelId, channelName, channelDescription, NotificationUtil.IMPORTANCE_LOW); in createWithNotificationChannel()
447 context, channelId, notificationId, mediaDescriptionAdapter); in createWithNotificationChannel()
457 String channelId, in createWithNotificationChannel() argument
464 channelId, in createWithNotificationChannel()
489 String channelId, in createWithNotificationChannel() argument
496 context, channelId, channelName, channelDescription, NotificationUtil.IMPORTANCE_LOW); in createWithNotificationChannel()
[all …]
DDownloadNotificationHelper.java41 public DownloadNotificationHelper(Context context, String channelId) { in DownloadNotificationHelper() argument
44 this.notificationBuilder = new NotificationCompat.Builder(context, channelId); in DownloadNotificationHelper()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNotificationManager.java99 protected Object /*NotificationChannel*/ getNotificationChannel(String channelId) { in getNotificationChannel() argument
100 return notificationChannels.get(channelId); in getNotificationChannel()
141 protected void deleteNotificationChannel(String channelId) { in deleteNotificationChannel() argument
142 if (getNotificationChannel(channelId) != null) { in deleteNotificationChannel()
143 Object /*NotificationChannel*/ channel = notificationChannels.remove(channelId); in deleteNotificationChannel()
144 deletedNotificationChannels.put(channelId, channel); in deleteNotificationChannel()
162 String channelId = ReflectionHelpers.callInstanceMethod(channel, "getId"); in deleteNotificationChannelGroup() local
163 deleteNotificationChannel(channelId); in deleteNotificationChannelGroup()
316 public boolean isChannelDeleted(String channelId) { in isChannelDeleted() argument
317 return deletedNotificationChannels.containsKey(channelId); in isChannelDeleted()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNotificationManagerTest.java109 final String channelId = "channelId"; in deleteNotificationChannel() local
110 assertThat(shadowOf(notificationManager).isChannelDeleted(channelId)).isFalse(); in deleteNotificationChannel()
111 notificationManager.createNotificationChannel(new NotificationChannel(channelId, "name", 1)); in deleteNotificationChannel()
112 assertThat(shadowOf(notificationManager).isChannelDeleted(channelId)).isFalse(); in deleteNotificationChannel()
113 notificationManager.deleteNotificationChannel(channelId); in deleteNotificationChannel()
114 assertThat(shadowOf(notificationManager).isChannelDeleted(channelId)).isTrue(); in deleteNotificationChannel()
115 assertThat(notificationManager.getNotificationChannel(channelId)).isNull(); in deleteNotificationChannel()
119 new NotificationChannel(channelId, "otherName", 2)); in deleteNotificationChannel()
120 assertThat(shadowOf(notificationManager).isChannelDeleted(channelId)).isFalse(); in deleteNotificationChannel()
121 NotificationChannel channel = notificationManager.getNotificationChannel(channelId); in deleteNotificationChannel()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadService.java177 @Nullable private final String channelId; field in DownloadService
230 @Nullable String channelId, in DownloadService() argument
235 channelId, in DownloadService()
265 @Nullable String channelId, in DownloadService() argument
270 this.channelId = null; in DownloadService()
277 this.channelId = channelId; in DownloadService()
572 if (channelId != null) { in onCreate()
575 channelId, in onCreate()
/external/webrtc/webrtc/voice_engine/
Dchannel.cc721 int32_t channelId, in CreateChannel() argument
725 WEBRTC_TRACE(kTraceMemory, kTraceVoice, VoEId(instanceId,channelId), in CreateChannel()
727 channelId, instanceId); in CreateChannel()
729 channel = new Channel(channelId, instanceId, event_log, config); in CreateChannel()
733 VoEId(instanceId,channelId), in CreateChannel()
802 Channel::Channel(int32_t channelId, in Channel() argument
811 _channelId(channelId), in Channel()
832 _inputFilePlayerId(VoEModuleId(instanceId, channelId) + 1024), in Channel()
833 _outputFilePlayerId(VoEModuleId(instanceId, channelId) + 1025), in Channel()
834 _outputFileRecorderId(VoEModuleId(instanceId, channelId) + 1026), in Channel()
[all …]
Dchannel.h177 int32_t channelId,
181 Channel(int32_t channelId,
/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_agl.cc1488 int channelId = rIt->second; in RenderOffScreenBuffers() local
1489 std::map<int, VideoChannelAGL*>::iterator it = _aglChannels.find(channelId); in RenderOffScreenBuffers()
Dvideo_render_nsopengl.mm1104 int channelId = rIt->second;
1105 std::map<int, VideoChannelNSOpenGL*>::iterator it = _nsglChannels.find(channelId);