/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
httpportallocator.h | 39 namespace talk_base { namespace 54 HttpPortAllocatorBase(talk_base::NetworkManager* network_manager, 56 HttpPortAllocatorBase(talk_base::NetworkManager* network_manager, 57 talk_base::PacketSocketFactory* socket_factory, 69 void SetStunHosts(const std::vector<talk_base::SocketAddress>& hosts) { 81 const std::vector<talk_base::SocketAddress>& stun_hosts() const { 98 std::vector<talk_base::SocketAddress> stun_hosts_; 114 const std::vector<talk_base::SocketAddress>& stun_hosts, 144 std::vector<talk_base::SocketAddress> stun_hosts_; 152 HttpPortAllocator(talk_base::NetworkManager* network_manager [all...] |
httpportallocator.cc | 101 talk_base::NetworkManager* network_manager, 102 talk_base::PacketSocketFactory* socket_factory, 107 talk_base::SocketAddress("stun.l.google.com", 19302)); 111 talk_base::NetworkManager* network_manager, 116 talk_base::SocketAddress("stun.l.google.com", 19302)); 130 const std::vector<talk_base::SocketAddress>& stun_hosts, 180 SendSessionRequest(host, talk_base::HTTP_SECURE_PORT); 188 url = url + "?username=" + talk_base::s_url_encode(username()) + 189 "&password=" + talk_base::s_url_encode(password()); 218 talk_base::SocketAddress address(relay_ip, atoi(relay_udp_port.c_str())) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
mediarecorder_unittest.cc | 42 talk_base::StreamInterface* Open(const std::string& path) { 43 return talk_base::Filesystem::OpenFile( 44 talk_base::Pathname(path), "wb"); 53 EXPECT_TRUE(talk_base::Filesystem::GetTemporaryFolder(path_, true, NULL)); 65 EXPECT_TRUE(talk_base::Filesystem::DeleteFile(path_)); 70 talk_base::ByteBuffer buf; 75 talk_base::StreamResult ReadPacket(RtpDumpPacket* packet) { 78 stream_.reset(talk_base::Filesystem::OpenFile(path_, "rb")); 84 talk_base::Pathname path_; 85 talk_base::scoped_ptr<RtpDumpSink> sink_ [all...] |
channel.h | 77 : public talk_base::MessageHandler, public sigslot::has_slots<>, 80 BaseChannel(talk_base::Thread* thread, MediaEngineInterface* media_engine, 90 talk_base::Thread* worker_thread() const { return worker_thread_; } 154 talk_base::CritScope cs(&signal_send_packet_cs_); 166 talk_base::CritScope cs(&signal_send_packet_cs_); 175 talk_base::CritScope cs(&signal_send_packet_cs_); 187 talk_base::CritScope cs(&signal_recv_packet_cs_); 199 talk_base::CritScope cs(&signal_recv_packet_cs_); 208 talk_base::CritScope cs(&signal_recv_packet_cs_); 247 talk_base::Thread* signaling_thread() { return session_->signaling_thread(); [all...] |
typingmonitor.cc | 37 talk_base::Thread* worker_thread, 55 talk_base::MessageList messages; 78 muted_at_ = talk_base::Time(); 92 talk_base::MessageList removed; 105 void TypingMonitor::OnMessage(talk_base::Message* msg) { 111 << "ms ago, unmuting after " << talk_base::TimeSince(muted_at_) 119 talk_base::Thread::Current()->PostDelayed(expiry_time, this, 0);
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
devicemanager.h | 41 namespace talk_base { namespace 57 id(talk_base::ToString(second)) { 111 std::vector<talk_base::WindowDescription>* descriptions) = 0; 112 virtual VideoCapturer* CreateWindowCapturer(talk_base::WindowId window) = 0; 115 std::vector<talk_base::DesktopDescription>* descriptions) = 0; 117 talk_base::DesktopId desktop) = 0; 174 std::vector<talk_base::WindowDescription>* descriptions); 175 virtual VideoCapturer* CreateWindowCapturer(talk_base::WindowId window); 178 std::vector<talk_base::DesktopDescription>* descriptions); 179 virtual VideoCapturer* CreateDesktopCapturer(talk_base::DesktopId desktop) [all...] |
filevideocapturer.h | 44 namespace talk_base { namespace 68 talk_base::FileStream video_file_; 83 return talk_base::starts_with(device.id.c_str(), kVideoFileDevicePrefix); 94 // parameter is talk_base::kForever(-1); no repeat if the parameter is 0 or 123 talk_base::StreamResult ReadFrameHeader(CapturedFrame* frame); 141 talk_base::FileStream video_file_;
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
mediastreaminterface.h | 76 class MediaSourceInterface : public talk_base::RefCountInterface, 93 class MediaStreamTrackInterface : public talk_base::RefCountInterface, 165 typedef std::vector<talk_base::scoped_refptr<AudioTrackInterface> > 167 typedef std::vector<talk_base::scoped_refptr<VideoTrackInterface> > 170 class MediaStreamInterface : public talk_base::RefCountInterface, 177 virtual talk_base::scoped_refptr<AudioTrackInterface> 179 virtual talk_base::scoped_refptr<VideoTrackInterface>
|
streamcollection.h | 41 static talk_base::scoped_refptr<StreamCollection> Create() { 42 talk_base::RefCountedObject<StreamCollection>* implementation = 43 new talk_base::RefCountedObject<StreamCollection>(); 47 static talk_base::scoped_refptr<StreamCollection> Create( 49 talk_base::RefCountedObject<StreamCollection>* implementation = 50 new talk_base::RefCountedObject<StreamCollection>(streams); 118 typedef std::vector<talk_base::scoped_refptr<MediaStreamInterface> >
|
webrtcsessiondescriptionfactory.h | 80 talk_base::scoped_refptr<CreateSessionDescriptionObserver> observer; 89 class WebRtcSessionDescriptionFactory : public talk_base::MessageHandler, 93 talk_base::Thread* signaling_thread, 118 sigslot::signal1<talk_base::SSLIdentity*> SignalIdentityReady; 134 virtual void OnMessage(talk_base::Message* msg); 148 void SetIdentity(talk_base::SSLIdentity* identity); 152 talk_base::Thread* signaling_thread_; 157 talk_base::scoped_ptr<DTLSIdentityServiceInterface> identity_service_; 158 talk_base::scoped_refptr<WebRtcIdentityRequestObserver>
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
autodetectproxy_unittest.cc | 33 namespace talk_base { namespace 106 void OnWorkDone(talk_base::SignalThread *thread) { 108 static_cast<talk_base::AutoDetectProxy *>(thread); 120 TestCopesWithProxy(talk_base::SocketAddress("localhost", 9999)); 124 TestCopesWithProxy(talk_base::SocketAddress("invalid", 9999)); 128 TestCopesWithProxy(talk_base::SocketAddress("::1", 9999)); 132 TestCopesWithProxy(talk_base::SocketAddress("127.0.0.1", 9999)); 148 } // namespace talk_base
|
sslfingerprint.h | 41 namespace talk_base { namespace 45 const talk_base::SSLIdentity* identity) { 54 const talk_base::SSLCertificate* cert) { 75 char value[talk_base::MessageDigest::kMaxSize]; 76 value_len = talk_base::hex_decode_with_delimiter(value, sizeof(value), 101 talk_base::hex_encode_with_delimiter( 109 talk_base::Buffer digest; 112 } // namespace talk_base
|
multipart_unittest.cc | 37 namespace talk_base { namespace 51 EXPECT_EQ(talk_base::SS_OPENING, multipart.GetState()); 56 EXPECT_EQ(talk_base::SS_OPEN, multipart.GetState()); 62 EXPECT_EQ(talk_base::SR_ERROR, 66 EXPECT_EQ(talk_base::SS_CLOSED, multipart.GetState()); 81 talk_base::scoped_ptr<talk_base::MemoryStream> stream( 82 new talk_base::MemoryStream(kTestStreamContent)); 90 new talk_base::MemoryStream(kTestStreamContent), 98 EXPECT_EQ(talk_base::SR_BLOCK [all...] |
logging.h | 77 namespace talk_base { namespace 298 !(talk_base::LogMessage::Loggable(sev)) \ 300 : talk_base::LogMessageVoidify() & 303 LOG_SEVERITY_PRECONDITION(talk_base::sev) \ 304 talk_base::LogMessage(__FILE__, __LINE__, talk_base::sev).stream() 310 talk_base::LogMessage(__FILE__, __LINE__, sev).stream() 322 talk_base::LogCheckLevel(talk_base::sev) 324 talk_base::LogCheckLevel(sev [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
turnserver.cc | 77 class TurnServer::Allocation : public talk_base::MessageHandler, 81 talk_base::Thread* thread, const Connection& conn, 82 talk_base::AsyncPacketSocket* server_socket, 110 void OnExternalPacket(talk_base::AsyncPacketSocket* socket, 112 const talk_base::SocketAddress& addr, 113 const talk_base::PacketTime& packet_time); 116 bool HasPermission(const talk_base::IPAddress& addr); 117 void AddPermission(const talk_base::IPAddress& addr); 118 Permission* FindPermission(const talk_base::IPAddress& addr) const; 120 Channel* FindChannel(const talk_base::SocketAddress& addr) const [all...] |
dtlstransportchannel.cc | 56 talk_base::StreamResult StreamInterfaceChannel::Read(void* buffer, 60 if (state_ == talk_base::SS_CLOSED) 61 return talk_base::SR_EOS; 62 if (state_ == talk_base::SS_OPENING) 63 return talk_base::SR_BLOCK; 68 talk_base::StreamResult StreamInterfaceChannel::Write(const void* data, 75 static_cast<const char*>(data), data_len, talk_base::DSCP_NO_CHANGE); 79 return talk_base::SR_SUCCESS; 86 bool ret = (fifo_.WriteAll(data, size, NULL, NULL) == talk_base::SR_SUCCESS); 88 SignalEvent(this, talk_base::SE_READ, 0) [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
channel.h | 80 : public talk_base::MessageHandler, public sigslot::has_slots<>, 83 BaseChannel(talk_base::Thread* thread, MediaEngine* media_engine, 89 talk_base::Thread* worker_thread() const { return worker_thread_; } 121 talk_base::CritScope cs(&sink_critical_section_); 125 talk_base::CritScope cs(&sink_critical_section_); 129 talk_base::CritScope cs(&sink_critical_section_); 133 talk_base::CritScope cs(&sink_critical_section_); 145 talk_base::Thread* signaling_thread() { return session_->signaling_thread(); } 147 void Send(uint32 id, talk_base::MessageData *pdata = NULL); 148 void Post(uint32 id, talk_base::MessageData *pdata = NULL) [all...] |
channelmanager.h | 55 class ChannelManager : public talk_base::MessageHandler, 59 explicit ChannelManager(talk_base::Thread* worker); 62 ChannelManager(MediaEngine* me, DeviceManager* dm, talk_base::Thread* worker); 67 talk_base::Thread* worker_thread() const { return worker_thread_; } 68 bool set_worker_thread(talk_base::Thread* thread) { 96 bool Init(talk_base::Thread* thread) { 165 bool Send(uint32 id, talk_base::MessageData* pdata); 186 void OnMessage(talk_base::Message *message); 188 talk_base::CriticalSection crit_; 189 talk_base::scoped_ptr<MediaEngine> media_engine_ [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
relayport.cc | 47 talk_base::AsyncPacketSocket* socket, 48 talk_base::Thread* thread); 50 talk_base::AsyncPacketSocket* socket() const { return socket_; } 56 talk_base::SocketAddress GetAddress() const { 64 int SetSocketOption(talk_base::Socket::Option opt, int value); 83 talk_base::AsyncPacketSocket* socket_; 92 class RelayEntry : public talk_base::MessageHandler, 95 RelayEntry(RelayPort* port, const talk_base::SocketAddress& ext_addr); 100 const talk_base::SocketAddress& address() const { return ext_addr_; } 101 void set_address(const talk_base::SocketAddress& addr) { ext_addr_ = addr; [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
filemediaengine_unittest.cc | 52 FileNetworkInterface(talk_base::StreamInterface* output, MediaChannel* ch) 61 virtual bool SendPacket(talk_base::Buffer* packet, 62 talk_base::DiffServCodePoint dscp) { 66 media_channel_->OnPacketReceived(packet, talk_base::PacketTime()); 69 talk_base::SR_SUCCESS != dump_writer_->WriteRtpPacket( 78 virtual bool SendRtcp(talk_base::Buffer* packet, 79 talk_base::DiffServCodePoint dscp) { return false; } 81 talk_base::Socket::Option opt, int option) { 84 virtual void SetDefaultDSCPCode(talk_base::DiffServCodePoint dscp) {} 90 talk_base::scoped_ptr<RtpDumpWriter> dump_writer_ [all...] |
filemediaengine.h | 38 namespace talk_base { namespace 81 virtual bool Init(talk_base::Thread* worker_thread) { 162 void set_rtp_sender_thread(talk_base::Thread* thread) { 177 talk_base::Thread* rtp_sender_thread_; 186 FileVoiceChannel(talk_base::StreamInterface* input_file_stream, 187 talk_base::StreamInterface* output_file_stream, 188 talk_base::Thread* rtp_sender_thread); 235 virtual void OnPacketReceived(talk_base::Buffer* packet, 236 const talk_base::PacketTime& packet_time); 237 virtual void OnRtcpReceived(talk_base::Buffer* packet [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
xmppclientsettings.h | 46 void set_pass(const talk_base::CryptString& pass) { pass_ = pass; } 64 const talk_base::CryptString& pass() const { return pass_; } 76 talk_base::CryptString pass_; 90 proxy_(talk_base::PROXY_NONE), 95 void set_server(const talk_base::SocketAddress& server) { 99 void set_proxy(talk_base::ProxyType f) { proxy_ = f; } 104 void set_proxy_pass(const talk_base::CryptString& pass) { proxy_pass_ = pass; } 106 const talk_base::SocketAddress& server() const { return server_; } 108 talk_base::ProxyType proxy() const { return proxy_; } 113 const talk_base::CryptString& proxy_pass() const { return proxy_pass_; [all...] |
/external/chromium/third_party/libjingle/overrides/talk/base/ |
logging.h | 75 namespace talk_base { namespace 292 !(talk_base::LogMessage::Loggable(sev)) \ 294 : talk_base::LogMessageVoidify() & 297 LOG_SEVERITY_PRECONDITION(talk_base::sev) \ 298 talk_base::LogMessage(__FILE__, __LINE__, talk_base::sev).stream() 304 talk_base::LogMessage(__FILE__, __LINE__, sev).stream() 314 talk_base::LogCheckLevel(talk_base::sev) 316 talk_base::LogCheckLevel(sev [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
logging.h | 75 namespace talk_base { namespace 288 !(talk_base::LogMessage::Loggable(sev)) \ 290 : talk_base::LogMessageVoidify() & 293 LOG_SEVERITY_PRECONDITION(talk_base::sev) \ 294 talk_base::LogMessage(__FILE__, __LINE__, talk_base::sev).stream() 300 talk_base::LogMessage(__FILE__, __LINE__, sev).stream() 310 talk_base::LogCheckLevel(talk_base::sev) 312 talk_base::LogCheckLevel(sev [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/ |
fakeperiodicvideocapturer.h | 59 talk_base::Thread::Current()->Post(this, MSG_CREATEFRAME); 64 talk_base::Thread::Current()->Clear(this); 67 virtual void OnMessage(talk_base::Message* msg) { 71 talk_base::Thread::Current()->PostDelayed(static_cast<int>( 72 GetCaptureFormat()->interval / talk_base::kNumNanosecsPerMillisec),
|