/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
H A D | audiotrackrenderer.cc | 39 void AudioTrackRenderer::AddChannel(int channel_id) { argument 40 ASSERT(channel_id_ == -1 || channel_id_ == channel_id); 41 channel_id_ = channel_id; 44 void AudioTrackRenderer::RemoveChannel(int channel_id) { argument 45 ASSERT(channel_id_ == -1 || channel_id_ == channel_id);
|
H A D | audiotrackrenderer.h | 50 virtual void AddChannel(int channel_id) OVERRIDE; 51 virtual void RemoveChannel(int channel_id) OVERRIDE;
|
/external/chromium_org/content/renderer/ |
H A D | in_process_renderer_thread.cc | 13 InProcessRendererThread::InProcessRendererThread(const std::string& channel_id) argument 14 : Thread("Chrome_InProcRendererThread"), channel_id_(channel_id) { 41 base::Thread* CreateInProcessRendererThread(const std::string& channel_id) { argument 42 return new InProcessRendererThread(channel_id);
|
H A D | in_process_renderer_thread.h | 20 explicit InProcessRendererThread(const std::string& channel_id); 35 const std::string& channel_id);
|
/external/chromium_org/content/gpu/ |
H A D | in_process_gpu_thread.cc | 12 InProcessGpuThread::InProcessGpuThread(const std::string& channel_id) argument 14 channel_id_(channel_id), 34 base::Thread* CreateInProcessGpuThread(const std::string& channel_id) { argument 35 return new InProcessGpuThread(channel_id);
|
H A D | in_process_gpu_thread.h | 19 explicit InProcessGpuThread(const std::string& channel_id); 35 const std::string& channel_id);
|
/external/chromium_org/third_party/webrtc/video_engine/ |
H A D | vie_channel_manager.h | 52 // Creates a new channel. 'channel_id' will be the id of the created channel. 53 int CreateChannel(int* channel_id, 59 int CreateChannel(int* channel_id, int original_channel, bool sender); 62 int DeleteChannel(int channel_id); 68 int ConnectVoiceChannel(int channel_id, int audio_channel_id); 71 int DisconnectVoiceChannel(int channel_id); 76 bool SetRembStatus(int channel_id, bool sender, bool receiver); 78 bool SetReservedTransmitBitrate(int channel_id, 83 void UpdateSsrcs(int channel_id, const std::list<unsigned int>& ssrcs); 86 bool SetBandwidthEstimationConfig(int channel_id, [all...] |
H A D | vie_channel_manager.cc | 77 int ViEChannelManager::CreateChannel(int* channel_id, argument 126 *channel_id = new_channel_id; 127 group->AddChannel(*channel_id); 135 int ViEChannelManager::CreateChannel(int* channel_id, argument 200 *channel_id = new_channel_id; 201 channel_group->AddChannel(*channel_id); 208 int ViEChannelManager::DeleteChannel(int channel_id) { argument 219 ChannelMap::iterator c_it = channel_map_.find(channel_id); 227 ReturnChannelId(channel_id); 230 EncoderMap::iterator e_it = vie_encoder_map_.find(channel_id); 312 ConnectVoiceChannel(int channel_id, int audio_channel_id) argument 326 DisconnectVoiceChannel(int channel_id) argument 341 SetRembStatus(int channel_id, bool sender, bool receiver) argument 354 SetReservedTransmitBitrate( int channel_id, uint32_t reserved_transmit_bitrate_bps) argument 367 UpdateSsrcs(int channel_id, const std::list<unsigned int>& ssrcs) argument 388 SetBandwidthEstimationConfig( int channel_id, const webrtc::Config& config) argument 399 GetEstimatedSendBandwidth( int channel_id, uint32_t* estimated_bandwidth) const argument 410 GetEstimatedReceiveBandwidth( int channel_id, uint32_t* estimated_bandwidth) const argument 425 CreateChannelObject( int channel_id, ViEEncoder* vie_encoder, RtcpBandwidthObserver* bandwidth_observer, RemoteBitrateEstimator* remote_bitrate_estimator, RtcpRttStats* rtcp_rtt_stats, RtcpIntraFrameObserver* intra_frame_observer, bool sender) argument 501 ReturnChannelId(int channel_id) argument 540 ChannelsUsingViEEncoder(int channel_id, ChannelList* channels) const argument 574 ChannelsUsingViEEncoder( int channel_id, ChannelList* channels) const argument [all...] |
/external/chromium_org/chrome/browser/net/ |
H A D | quota_policy_channel_id_store.cc | 55 const net::DefaultChannelIDStore::ChannelID& channel_id) { 56 server_identifiers_.insert(channel_id.server_identifier()); 57 persistent_store_->AddChannelID(channel_id); 61 const net::DefaultChannelIDStore::ChannelID& channel_id) { 62 server_identifiers_.erase(channel_id.server_identifier()); 63 persistent_store_->DeleteChannelID(channel_id); 73 for (ChannelIDVector::const_iterator channel_id = channel_ids->begin(); 74 channel_id != channel_ids->end(); 75 ++channel_id) { 76 server_identifiers_.insert((*channel_id) 54 AddChannelID( const net::DefaultChannelIDStore::ChannelID& channel_id) argument 60 DeleteChannelID( const net::DefaultChannelIDStore::ChannelID& channel_id) argument [all...] |
/external/chromium_org/chrome/browser/media/ |
H A D | cast_transport_host_filter.h | 31 int32 channel_id, 34 int32 channel_id, 37 void SendRtt(int32 channel_id, uint32 ssrc, base::TimeDelta rtt); 38 void SendCastMessage(int32 channel_id, 47 int32 channel_id, 50 int32 channel_id, 53 int32 channel_id, 57 int32 channel_id, 61 void OnCancelSendingFrames(int32 channel_id, uint32 ssrc, 63 void OnResendFrameForKickstart(int32 channel_id, uint3 [all...] |
H A D | cast_transport_host_filter.cc | 47 int32 channel_id, 49 Send(new CastMsg_NotifyStatusChange(channel_id, status)); 53 int32 channel_id, 57 Send(new CastMsg_RawEvents(channel_id, 62 void CastTransportHostFilter::SendRtt(int32 channel_id, argument 65 Send(new CastMsg_Rtt(channel_id, ssrc, rtt)); 69 int32 channel_id, 72 Send(new CastMsg_RtcpCastMessage(channel_id, ssrc, cast_message)); 76 int32 channel_id, 87 if (id_map_.Lookup(channel_id)) { 46 NotifyStatusChange( int32 channel_id, media::cast::CastTransportStatus status) argument 52 SendRawEvents( int32 channel_id, const std::vector<media::cast::PacketEvent>& packet_events, const std::vector<media::cast::FrameEvent>& frame_events) argument 68 SendCastMessage( int32 channel_id, uint32 ssrc, const media::cast::RtcpCastMessage& cast_message) argument 75 OnNew( int32 channel_id, const net::IPEndPoint& remote_end_point, const base::DictionaryValue& options) argument 108 OnDelete(int32 channel_id) argument 126 OnInitializeAudio( int32 channel_id, const media::cast::CastTransportRtpConfig& config) argument 146 OnInitializeVideo( int32 channel_id, const media::cast::CastTransportRtpConfig& config) argument 166 OnInsertFrame( int32 channel_id, uint32 ssrc, const media::cast::EncodedFrame& frame) argument 180 OnCancelSendingFrames( int32 channel_id, uint32 ssrc, const std::vector<uint32>& frame_ids) argument 194 OnResendFrameForKickstart( int32 channel_id, uint32 ssrc, uint32 frame_id) argument 207 OnSendSenderReport( int32 channel_id, uint32 ssrc, base::TimeTicks current_time, uint32 current_time_as_rtp_timestamp) argument [all...] |
/external/chromium_org/extensions/browser/api/cast_channel/ |
H A D | logger.h | 47 void LogSocketEvent(int channel_id, proto::EventType event_type); 48 void LogSocketEventWithDetails(int channel_id, 53 void LogSocketEventWithRv(int channel_id, 58 void LogSocketReadyState(int channel_id, proto::ReadyState new_state); 59 void LogSocketConnectState(int channel_id, proto::ConnectionState new_state); 60 void LogSocketReadState(int channel_id, proto::ReadState new_state); 61 void LogSocketWriteState(int channel_id, proto::WriteState new_state); 62 void LogSocketErrorState(int channel_id, proto::ErrorState new_state); 65 void LogSocketChallengeReplyEvent(int channel_id, 68 void LogSocketEventForMessage(int channel_id, [all...] |
H A D | logger.cc | 125 int channel_id = cast_socket.id(); local 128 LogSocketEvent(channel_id, event); 138 void Logger::LogSocketEvent(int channel_id, EventType event_type) { argument 141 LogSocketEventWithDetails(channel_id, event_type, std::string()); 144 void Logger::LogSocketEventWithDetails(int channel_id, argument 153 LogSocketEvent(channel_id, event); 156 void Logger::LogSocketEventWithRv(int channel_id, argument 165 LogSocketEvent(channel_id, event); 179 void Logger::LogSocketReadyState(int channel_id, proto::ReadyState new_state) { argument 185 LogSocketEvent(channel_id, even 188 LogSocketConnectState(int channel_id, proto::ConnectionState new_state) argument 198 LogSocketReadState(int channel_id, proto::ReadState new_state) argument 207 LogSocketWriteState(int channel_id, proto::WriteState new_state) argument 216 LogSocketErrorState(int channel_id, proto::ErrorState new_state) argument 225 LogSocketEventForMessage(int channel_id, EventType event_type, const std::string& message_namespace, const std::string& details) argument 239 LogSocketChallengeReplyEvent(int channel_id, const AuthResult& auth_result) argument 260 LogSocketEvent(int channel_id, const SocketEvent& socket_event) argument [all...] |
/external/chromium_org/content/utility/ |
H A D | in_process_utility_thread.cc | 16 InProcessUtilityThread::InProcessUtilityThread(const std::string& channel_id) argument 17 : Thread("Chrome_InProcUtilityThread"), channel_id_(channel_id) { 47 base::Thread* CreateInProcessUtilityThread(const std::string& channel_id) { argument 48 return new InProcessUtilityThread(channel_id);
|
H A D | in_process_utility_thread.h | 19 InProcessUtilityThread(const std::string& channel_id); 36 const std::string& channel_id);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | audiorenderer.h | 62 virtual void AddChannel(int channel_id) {} argument 68 virtual void RemoveChannel(int channel_id) {} argument
|
/external/chromium_org/chrome/renderer/media/ |
H A D | cast_ipc_dispatcher.h | 28 void RemoveSender(int32 channel_id); 41 int32 channel_id, 44 int32 channel_id, 49 void OnRawEvents(int32 channel_id, 52 void OnRtt(int32 channel_id, uint32 ssrc, base::TimeDelta rtt); 53 void OnRtcpCastMessage(int32 channel_id,
|
H A D | cast_ipc_dispatcher.cc | 43 void CastIPCDispatcher::RemoveSender(int32 channel_id) { argument 44 return id_map_.Remove(channel_id); 80 int32 channel_id, 82 CastTransportSenderIPC* sender = id_map_.Lookup(channel_id); 92 int32 channel_id, 95 CastTransportSenderIPC* sender = id_map_.Lookup(channel_id); 103 void CastIPCDispatcher::OnRtt(int32 channel_id, argument 106 CastTransportSenderIPC* sender = id_map_.Lookup(channel_id); 115 int32 channel_id, 118 CastTransportSenderIPC* sender = id_map_.Lookup(channel_id); 79 OnNotifyStatusChange( int32 channel_id, media::cast::CastTransportStatus status) argument 91 OnRawEvents( int32 channel_id, const std::vector<media::cast::PacketEvent>& packet_events, const std::vector<media::cast::FrameEvent>& frame_events) argument 114 OnRtcpCastMessage( int32 channel_id, uint32 ssrc, const media::cast::RtcpCastMessage& cast_message) argument [all...] |
/external/chromium_org/content/child/ |
H A D | websocket_dispatcher.cc | 28 void WebSocketDispatcher::RemoveBridge(int channel_id) { argument 29 std::map<int, WebSocketBridge*>::iterator iter = bridges_.find(channel_id); 31 DVLOG(1) << "Remove a non-existent bridge(" << channel_id << ")"; 58 WebSocketBridge* WebSocketDispatcher::GetBridge(int channel_id, uint32 type) { argument 59 std::map<int, WebSocketBridge*>::iterator iter = bridges_.find(channel_id); 61 DVLOG(1) << "No bridge for channel_id=" << channel_id
|
H A D | websocket_dispatcher.h | 32 void RemoveBridge(int channel_id); 38 WebSocketBridge* GetBridge(int channel_id, uint32 type);
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
H A D | 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, advanc [all...] |
H A D | 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] [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
H A D | 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 [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
H A D | webrtcvideoengine.cc | 183 WebRtcRenderAdapter(VideoRenderer* renderer, int channel_id) argument 185 channel_id_(channel_id), 516 explicit WebRtcVideoChannelRecvInfo(int channel_id) argument 517 : channel_id_(channel_id), 518 render_adapter_(NULL, channel_id), 519 decoder_observer_(channel_id) { 521 int channel_id() { return channel_id_; } function in class:cricket::WebRtcVideoChannelRecvInfo 595 WebRtcVideoChannelSendInfo(int channel_id, int capture_id, argument 598 : channel_id_(channel_id), 603 encoder_observer_(channel_id), 610 int channel_id() const { return channel_id_; } function in class:cricket::WebRtcVideoChannelSendInfo 1711 int channel_id = it->second->channel_id(); local 1731 int channel_id = iter->second->channel_id(); local 1795 const int channel_id = send_channel->channel_id(); local 1905 int channel_id = kChannelIdUnset; local 1963 int channel_id = send_channel->channel_id(); local 2020 int channel_id = kChannelIdUnset; local 2059 MaybeSetRtxSsrc(const StreamParams& sp, int channel_id) argument 2116 int channel_id = recv_channel->channel_id(); local 2144 << channel_id; local 2170 const int channel_id = send_channel->channel_id(); local 2194 const int channel_id = send_channel->channel_id(); local 2209 const int channel_id = send_channel->channel_id(); local 2333 int channel_id = send_channel->channel_id(); local 2425 const int channel_id = send_channel->channel_id(); local 2587 const int channel_id = send_channels_.begin()->second->channel_id(); local 2667 const int channel_id = recv_channels_.begin()->second->channel_id(); local 2805 int channel_id = send_channel->channel_id(); local 2841 int channel_id = channel_it->second->channel_id(); local 2872 int channel_id = channel_it->second->channel_id(); local 3249 CreateChannel(uint32 ssrc_key, MediaDirection direction, int* channel_id) argument 3315 ConfigureChannel(int channel_id, MediaDirection direction, uint32 ssrc_key) argument 3373 ConfigureReceiving(int channel_id, uint32 remote_ssrc) argument 3477 ConfigureSending(int channel_id, uint32 local_ssrc_key) argument 3592 SetNackFec(int channel_id, int red_payload_type, int fec_payload_type, bool nack_enabled) argument 3612 LOG(LS_INFO) << "NACK " << enabled << " for channel " << channel_id; local 3648 const int channel_id = send_channel->channel_id(); local 3789 int channel_id = info->channel_id(); local 3913 const int channel_id = send_channel->channel_id(); local 4002 SanitizeBitrates( int channel_id, webrtc::VideoCodec* codec) argument 4118 int channel_id = send_channel->channel_id(); local 4124 SetHeaderExtension(ExtensionSetterFunction setter, int channel_id, const RtpHeaderExtension* extension) argument 4139 SetHeaderExtension(ExtensionSetterFunction setter, int channel_id, const std::vector<RtpHeaderExtension>& extensions, const char header_extension_uri[]) argument 4147 SetPrimaryAndRtxSsrcs( int channel_id, int idx, uint32 primary_ssrc, const StreamParams& send_params) argument 4173 SetLimitedNumberOfSendSsrcs( int channel_id, const StreamParams& sp, size_t limit) argument 4189 SetSendSsrcs( int channel_id, const StreamParams& sp, const webrtc::VideoCodec& codec) argument 4212 int channel_id = it->second->channel_id(); local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
H A D | 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...] |