/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
audiorenderer.h | 40 virtual void AddChannel(int channel_id) = 0; 44 virtual void RemoveChannel(int channel_id) = 0;
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
audiotrackrenderer.cc | 39 void AudioTrackRenderer::AddChannel(int channel_id) { 40 ASSERT(channel_id_ == -1 || channel_id_ == channel_id); 41 channel_id_ = channel_id; 44 void AudioTrackRenderer::RemoveChannel(int channel_id) { 45 ASSERT(channel_id_ == -1 || channel_id_ == channel_id);
|
audiotrackrenderer.h | 50 virtual void AddChannel(int channel_id) OVERRIDE; 51 virtual void RemoveChannel(int channel_id) OVERRIDE;
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
mux_client_for_testing.py | 99 channel_id = ord(data[offset]) 101 if channel_id & 0xe0 == 0xe0: 104 channel_id = struct.unpack('!L', 107 elif channel_id & 0xc0 == 0xc0: 110 channel_id = (((channel_id & 0x1f) << 16) + 113 elif channel_id & 0x80 == 0x80: 116 channel_id = struct.unpack('!H', data[offset:offset+2])[0] & 0x3fff 119 return channel_id, channel_id_length 167 channel_id, advance = _parse_channel_id(data, pos [all...] |
test_mux.py | 110 channel_id = parser.read_channel_id() 111 if channel_id == mux._CONTROL_CHANNEL_ID: 115 if not channel_id in self._channel_data: 116 self._channel_data[channel_id] = _OutgoingChannelData() 117 channel_data = self._channel_data[channel_id] 148 def get_written_messages(self, channel_id): 149 return self._channel_data[channel_id].messages 151 def get_written_control_messages(self, channel_id): 152 return self._channel_data[channel_id].control_messages 189 self.channel_events[request.channel_id] = _ChannelEvent( [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
mux.py | 109 def _encode_channel_id(channel_id): 110 if channel_id < 0: 111 raise ValueError('Channel id %d must not be negative' % channel_id) 113 if channel_id < 2 ** 7: 114 return chr(channel_id) 115 if channel_id < 2 ** 14: 116 return struct.pack('!H', 0x8000 + channel_id) 117 if channel_id < 2 ** 21: 118 first = chr(0xc0 + (channel_id >> 16)) 119 return first + struct.pack('!H', channel_id & 0xffff [all...] |
/external/chromium_org/content/renderer/ |
render_thread_impl_browsertest.cc | 43 std::string channel_id = IPC::Channel::GenerateVerifiedChannelID( local 46 IPC::Channel channel(channel_id, IPC::Channel::MODE_SERVER, &dummy_listener); 51 RenderThreadImpl* thread = new RenderThreadImpl(channel_id);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
mux.py | 133 def __init__(self, channel_id, drop_code, message=''): 135 'channel_id=%d, code=%d, message=%r' % ( 136 channel_id, drop_code, message)) 137 self.channel_id = channel_id 142 def _encode_channel_id(channel_id): 143 if channel_id < 0: 144 raise ValueError('Channel id %d must not be negative' % channel_id) 146 if channel_id < 2 ** 7: 147 return chr(channel_id) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvideoengine.cc | 435 explicit WebRtcVideoChannelRecvInfo(int channel_id) 436 : channel_id_(channel_id), 438 decoder_observer_(channel_id) { 440 int channel_id() { return channel_id_; } function in class:cricket::WebRtcVideoChannelRecvInfo 471 WebRtcVideoChannelSendInfo(int channel_id, int capture_id, 474 : channel_id_(channel_id), 479 encoder_observer_(channel_id), 491 int channel_id() const { return channel_id_; } function in class:cricket::WebRtcVideoChannelSendInfo 1468 int channel_id = it->second->channel_id(); local 1484 int channel_id = iter->second->channel_id(); local 1613 int channel_id = -1; local 1648 int channel_id = info->channel_id(); local 1682 int channel_id = send_channel->channel_id(); local 1748 int channel_id = -1; local 1801 int channel_id = info->channel_id(); local 1829 << channel_id; local 1857 const int channel_id = send_channel->channel_id(); local 1881 const int channel_id = send_channel->channel_id(); local 1896 const int channel_id = send_channel->channel_id(); local 2008 int channel_id = send_channel->channel_id(); local 2087 const int channel_id = send_channel->channel_id(); local 2349 int channel_id = send_channel->channel_id(); local 2386 int channel_id = channel_it->second->channel_id(); local 2413 int channel_id = channel_it->second->channel_id(); local 3095 const int channel_id = send_channel->channel_id(); local 3227 int channel_id = info->channel_id(); local 3304 const int channel_id = send_channel->channel_id(); local 3457 int channel_id = send_channel->channel_id(); local [all...] |
webrtcvideoengine.h | 312 // Creates and initializes a ViE channel. When successful |channel_id| will 321 int* channel_id); 322 bool ConfigureChannel(int channel_id, MediaDirection direction, 324 bool ConfigureReceiving(int channel_id, uint32 remote_ssrc_key); 325 bool ConfigureSending(int channel_id, uint32 local_ssrc_key); 326 bool SetNackFec(int channel_id, int red_payload_type, int fec_payload_type, 334 // Prepares the channel with channel id |info->channel_id()| to receive all 347 void MaybeChangeStartBitrate(int channel_id, webrtc::VideoCodec* video_codec); 349 // |channel_id|. Note that these two function do not change |sending_|. 353 // |channel_id|. Note that these two function do not change |sending_| [all...] |
/external/chromium/chrome/browser/nacl_host/ |
nacl_broker_service_win.h | 31 void OnLoaderLaunched(const std::wstring& channel_id,
|
nacl_broker_service_win.cc | 42 void NaClBrokerService::OnLoaderLaunched(const std::wstring& channel_id, 45 PendingLaunchesMap::iterator it = pending_launches_.find(channel_id);
|
/hardware/libhardware/include/hardware/ |
bt_hl.h | 81 typedef void (* bthl_channel_state_callback)(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int channel_id, bthl_channel_state_t state, int fd); 110 bt_status_t (*connect_channel)(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int *channel_id); 113 bt_status_t (*destroy_channel)(int channel_id);
|
/external/chromium_org/net/quic/ |
quic_crypto_server_stream.cc | 99 crypto_negotiated_params_.channel_id.empty()) { 103 const string& channel_id(crypto_negotiated_params_.channel_id); 106 hash->Update(channel_id.data(), channel_id.size());
|
/external/chromium_org/content/renderer/media/ |
webrtc_local_audio_track.cc | 97 void WebRtcLocalAudioTrack::AddChannel(int channel_id) { 98 DVLOG(1) << "WebRtcLocalAudioTrack::AddChannel(channel_id=" 99 << channel_id << ")"; 101 if (std::find(voe_channels_.begin(), voe_channels_.end(), channel_id) != 108 voe_channels_.push_back(channel_id); 111 void WebRtcLocalAudioTrack::RemoveChannel(int channel_id) { 112 DVLOG(1) << "WebRtcLocalAudioTrack::RemoveChannel(channel_id=" 113 << channel_id << ")"; 116 std::find(voe_channels_.begin(), voe_channels_.end(), channel_id);
|
webrtc_local_audio_track.h | 81 virtual void AddChannel(int channel_id) OVERRIDE; 82 virtual void RemoveChannel(int channel_id) OVERRIDE;
|
/external/chromium_org/chrome/browser/nacl_host/ |
nacl_broker_host_win.cc | 50 std::string channel_id = process_->GetHost()->CreateChannel(); local 51 if (channel_id.empty()) 64 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id);
|
nacl_broker_service_win.h | 31 void OnLoaderLaunched(const std::string& channel_id,
|
nacl_broker_service_win.cc | 47 void NaClBrokerService::OnLoaderLaunched(const std::string& channel_id, 49 PendingLaunchesMap::iterator it = pending_launches_.find(channel_id);
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
message_service.cc | 49 #define GET_CHANNEL_OPENER_ID(channel_id) ((channel_id) * 2) 50 #define GET_CHANNEL_RECEIVERS_ID(channel_id) ((channel_id) * 2 + 1) 135 unsigned channel_id = local 138 if (channel_id == 0) { 144 unsigned port1_id = channel_id * 2; 145 unsigned port2_id = channel_id * 2 + 1; 152 DCHECK(GET_CHANNEL_ID(port1_id) == channel_id); 153 DCHECK(GET_CHANNEL_OPENER_ID(channel_id) == port1_id) 440 int channel_id = GET_CHANNEL_ID(receiver_port_id); local 449 int channel_id = GET_CHANNEL_ID(port_id); local 489 int channel_id = GET_CHANNEL_ID(source_port_id); local [all...] |
/external/chromium_org/ipc/ |
ipc_channel_win.h | 34 static bool IsNamedServerInitialized(const std::string& channel_id); 46 static const string16 PipeName(const std::string& channel_id,
|
ipc_logging.h | 68 void OnSendMessage(Message* message, const std::string& channel_id); 71 const std::string& channel_id);
|
/external/chromium_org/chrome/test/security_tests/ |
ipc_security_tests.cc | 75 std::wstring* channel_id) { 81 *channel_id = pipe_name.substr(pos + 1); 176 std::wstring channel_id; local 177 if (!InfoFromPipeName(pipe_name, &parent_id, &channel_id)) {
|
/external/chromium_org/content/browser/ |
utility_process_host_impl.cc | 64 UtilityMainThread(const std::string& channel_id) 66 channel_id_(channel_id) { 194 std::string channel_id = process_->GetHost()->CreateChannel(); local 195 if (channel_id.empty()) 203 in_process_thread_.reset(new UtilityMainThread(channel_id)); 233 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id);
|
/external/chromium/chrome/browser/extensions/ |
extension_message_service.cc | 27 #define GET_CHANNEL_OPENER_ID(channel_id) ((channel_id) * 2) 28 #define GET_CHANNEL_RECEIVERS_ID(channel_id) ((channel_id) * 2 + 1) 100 int channel_id = g_next_channel_id.GetNext(); local 101 int port1_id = channel_id * 2; 102 int port2_id = channel_id * 2 + 1; 109 DCHECK(GET_CHANNEL_ID(port1_id) == channel_id); 110 DCHECK(GET_CHANNEL_OPENER_ID(channel_id) == port1_id); 111 DCHECK(GET_CHANNEL_RECEIVERS_ID(channel_id) == port2_id) [all...] |