Home
last modified time | relevance | path

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

/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/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);