HomeSort by relevance Sort by last modified time
    Searched refs:signal_strategy_ (Results 1 - 25 of 35) sorted by null

1 2

  /external/chromium_org/remoting/host/
log_to_server_unittest.cc 129 EXPECT_CALL(signal_strategy_, AddListener(_));
133 &signal_strategy_,
135 EXPECT_CALL(signal_strategy_, RemoveListener(_));
141 MockSignalStrategy signal_strategy_; member in class:remoting::LogToServerTest
149 EXPECT_CALL(signal_strategy_, GetLocalJid())
151 EXPECT_CALL(signal_strategy_, AddListener(_));
152 EXPECT_CALL(signal_strategy_, GetNextId());
153 EXPECT_CALL(signal_strategy_, SendStanzaPtr(IsClientConnected("direct")))
155 EXPECT_CALL(signal_strategy_, RemoveListener(_))
177 EXPECT_CALL(signal_strategy_, GetLocalJid()
    [all...]
host_change_notification_listener.cc 30 signal_strategy_(signal_strategy),
33 DCHECK(signal_strategy_);
35 signal_strategy_->AddListener(this);
39 signal_strategy_->RemoveListener(this);
61 to == signal_strategy_->GetLocalJid()) {
65 // OnHostDeleted() may want delete |signal_strategy_|, but SignalStrategy
heartbeat_sender_unittest.cc 71 EXPECT_CALL(signal_strategy_, GetState())
73 EXPECT_CALL(signal_strategy_, AddListener(NotNull()))
75 EXPECT_CALL(signal_strategy_, RemoveListener(NotNull()))
77 EXPECT_CALL(signal_strategy_, GetLocalJid())
81 &mock_listener_, kHostId, &signal_strategy_, key_pair_, kTestBotJid));
93 MockSignalStrategy signal_strategy_; member in class:remoting::HeartbeatSenderTest
103 EXPECT_CALL(signal_strategy_, GetLocalJid())
105 EXPECT_CALL(signal_strategy_, GetNextId())
107 EXPECT_CALL(signal_strategy_, SendStanzaPtr(NotNull()))
125 EXPECT_CALL(signal_strategy_, GetLocalJid()
    [all...]
host_status_sender_unittest.cc 49 kHostId, &signal_strategy_, key_pair_, kTestBotJid));
62 MockSignalStrategy signal_strategy_; member in class:remoting::HostStatusSenderTest
69 EXPECT_CALL(signal_strategy_, GetState())
72 EXPECT_CALL(signal_strategy_, GetLocalJid())
74 EXPECT_CALL(signal_strategy_, GetNextId())
76 EXPECT_CALL(signal_strategy_, SendStanzaPtr(NotNull()))
80 // no-op because |signal_strategy_| is diconnected.
97 EXPECT_CALL(signal_strategy_, GetState())
100 EXPECT_CALL(signal_strategy_, GetLocalJid())
102 EXPECT_CALL(signal_strategy_, GetNextId()
    [all...]
register_support_host_request.cc 42 : signal_strategy_(signal_strategy),
46 DCHECK(signal_strategy_);
48 signal_strategy_->AddListener(this);
49 iq_sender_.reset(new IqSender(signal_strategy_));
53 if (signal_strategy_)
54 signal_strategy_->RemoveListener(this);
64 CreateRegistrationRequest(signal_strategy_->GetLocalJid()).Pass(),
178 signal_strategy_->RemoveListener(this);
179 signal_strategy_ = NULL;
signaling_connector.cc 43 : signal_strategy_(signal_strategy),
53 signal_strategy_->AddListener(this);
58 signal_strategy_->RemoveListener(this);
83 if (signal_strategy_->GetError() == SignalStrategy::AUTHENTICATION_FAILED) {
100 signal_strategy_->GetState() == SignalStrategy::DISCONNECTED) {
108 if (signal_strategy_->GetState() == SignalStrategy::DISCONNECTED) {
147 signal_strategy_->SetAuthInfo(oauth_credentials_->login,
153 DCHECK_EQ(signal_strategy_->GetState(), SignalStrategy::DISCONNECTED);
154 signal_strategy_->Connect();
186 signal_strategy_->Disconnect()
    [all...]
host_status_sender.cc 44 signal_strategy_(signal_strategy),
47 DCHECK(signal_strategy_);
50 signal_strategy_->AddListener(this);
54 signal_strategy_->RemoveListener(this);
60 iq_sender_.reset(new IqSender(signal_strategy_));
80 SignalStrategy::State state = signal_strategy_->GetState();
147 signal_strategy_->GetLocalJid() +
register_support_host_request_unittest.cc 63 EXPECT_CALL(signal_strategy_, AddListener(NotNull()))
65 EXPECT_CALL(signal_strategy_, RemoveListener(NotNull()))
67 EXPECT_CALL(signal_strategy_, GetLocalJid())
72 MockSignalStrategy signal_strategy_; member in class:remoting::RegisterSupportHostRequestTest
83 new RegisterSupportHostRequest(&signal_strategy_, key_pair_,
89 EXPECT_CALL(signal_strategy_, GetNextId())
91 EXPECT_CALL(signal_strategy_, SendStanzaPtr(NotNull()))
host_change_notification_listener.h 53 SignalStrategy* signal_strategy_; member in class:remoting::HostChangeNotificationListener
log_to_server.cc 29 signal_strategy_(signal_strategy),
32 signal_strategy_->AddListener(this);
36 signal_strategy_->RemoveListener(this);
61 iq_sender_.reset(new IqSender(signal_strategy_));
host_change_notification_listener_unittest.cc 52 EXPECT_CALL(signal_strategy_, AddListener(NotNull()))
54 EXPECT_CALL(signal_strategy_, RemoveListener(NotNull()))
56 EXPECT_CALL(signal_strategy_, GetLocalJid())
60 &mock_listener_, kHostId, &signal_strategy_, kTestBotJid));
85 MockSignalStrategy signal_strategy_; member in class:remoting::HostChangeNotificationListenerTest
heartbeat_sender.cc 58 signal_strategy_(signal_strategy),
67 DCHECK(signal_strategy_);
70 signal_strategy_->AddListener(this);
72 // Start heartbeats if the |signal_strategy_| is already connected.
73 OnSignalStrategyStateChange(signal_strategy_->GetState());
77 signal_strategy_->RemoveListener(this);
82 iq_sender_.reset(new IqSender(signal_strategy_));
269 std::string message = signal_strategy_->GetLocalJid() + ' ' +
heartbeat_sender.h 131 SignalStrategy* signal_strategy_; member in class:remoting::HeartbeatSender
host_status_sender.h 92 SignalStrategy* signal_strategy_; member in class:remoting::HostStatusSender
log_to_server.h 70 SignalStrategy* signal_strategy_; member in class:remoting::LogToServer
register_support_host_request.h 75 SignalStrategy* signal_strategy_; member in class:remoting::RegisterSupportHostRequest
signaling_connector.h 99 XmppSignalStrategy* signal_strategy_; member in class:remoting::SignalingConnector
  /external/chromium_org/remoting/protocol/
jingle_session_manager.cc 26 signal_strategy_(NULL),
39 signal_strategy_ = signal_strategy;
40 iq_sender_.reset(new IqSender(signal_strategy_));
42 signal_strategy_->AddListener(this);
44 OnSignalStrategyStateChange(signal_strategy_->GetState());
68 if (signal_strategy_) {
69 signal_strategy_->RemoveListener(this);
70 signal_strategy_ = NULL;
111 signal_strategy_->GetLocalJid(), message.from,
164 signal_strategy_->SendStanza
    [all...]
connection_to_host.cc 38 signal_strategy_(NULL),
52 if (signal_strategy_)
53 signal_strategy_->RemoveListener(this);
79 signal_strategy_ = signal_strategy;
88 // |signal_strategy_| is connected.
92 signal_strategy_->AddListener(this);
93 signal_strategy_->Connect();
96 session_manager_->Init(signal_strategy_, this);
111 VLOG(1) << "Connected as: " << signal_strategy_->GetLocalJid();
libjingle_transport_factory.h 59 SignalStrategy* signal_strategy_; member in class:remoting::protocol::LibjingleTransportFactory
jingle_session_manager.h 86 SignalStrategy* signal_strategy_; member in class:remoting::protocol::JingleSessionManager
  /external/chromium_org/remoting/jingle_glue/
iq_sender_unittest.cc 51 EXPECT_CALL(signal_strategy_, AddListener(NotNull()));
52 sender_.reset(new IqSender(&signal_strategy_));
53 EXPECT_CALL(signal_strategy_, RemoveListener(
62 EXPECT_CALL(signal_strategy_, GetNextId())
64 EXPECT_CALL(signal_strategy_, SendStanzaPtr(_))
82 MockSignalStrategy signal_strategy_; member in class:remoting::IqSenderTest
iq_sender.cc 35 : signal_strategy_(signal_strategy) {
36 signal_strategy_->AddListener(this);
40 signal_strategy_->RemoveListener(this);
46 std::string id = signal_strategy_->GetNextId();
48 if (!signal_strategy_->SendStanza(stanza.Pass())) {
iq_sender.h 76 SignalStrategy* signal_strategy_; member in class:remoting::IqSender
  /external/chromium_org/remoting/host/it2me/
it2me_host.cc 180 signal_strategy_ = signal_strategy.Pass();
196 signal_strategy_.get(),
198 CreateHostSessionManager(signal_strategy_.get(), network_settings,
209 signal_strategy_.get(), directory_bot_jid_));
228 signal_strategy_->Connect();
246 signal_strategy_.reset();

Completed in 177 milliseconds

1 2