Home
last modified time | relevance | path

Searched refs:XmppEngine (Results 1 – 25 of 31) sorted by relevance

12

/external/webrtc/webrtc/libjingle/xmpp/
Dutil_unittest.cc34 switch (static_cast<XmppEngine::State>(state)) { in OnStateChange()
35 case XmppEngine::STATE_START: in OnStateChange()
38 case XmppEngine::STATE_OPENING: in OnStateChange()
41 case XmppEngine::STATE_OPEN: in OnStateChange()
44 case XmppEngine::STATE_CLOSED: in OnStateChange()
47 case XmppEngine::ERROR_NONE: in OnStateChange()
50 case XmppEngine::ERROR_XML: in OnStateChange()
53 case XmppEngine::ERROR_STREAM: in OnStateChange()
56 case XmppEngine::ERROR_VERSION: in OnStateChange()
59 case XmppEngine::ERROR_UNAUTHORIZED: in OnStateChange()
[all …]
Dxmpplogintask.cc113 return Failure(XmppEngine::ERROR_VERSION); in Advance()
124 return Failure(XmppEngine::ERROR_VERSION); in Advance()
129 return Failure(XmppEngine::ERROR_TLS); in Advance()
150 return Failure(XmppEngine::ERROR_TLS); in Advance()
162 return Failure(XmppEngine::ERROR_TLS); in Advance()
178 return Failure(XmppEngine::ERROR_AUTH); in Advance()
194 return Failure(XmppEngine::ERROR_AUTH); in Advance()
200 return Failure(XmppEngine::ERROR_AUTH); in Advance()
206 return Failure(XmppEngine::ERROR_AUTH); in Advance()
229 return Failure(XmppEngine::ERROR_AUTH); in Advance()
[all …]
Dxmppclient.cc36 pre_engine_error_(XmppEngine::ERROR_NONE), in Private()
52 rtc::scoped_ptr<XmppEngine> engine_;
60 XmppEngine::Error pre_engine_error_;
108 d_->engine_.reset(XmppEngine::Create()); in Connect()
154 XmppEngine::State XmppClient::GetState() const { in GetState()
156 return XmppEngine::STATE_NONE; in GetState()
160 XmppEngine::Error XmppClient::GetError(int* subcode) { in GetError()
165 return XmppEngine::ERROR_NONE; in GetError()
166 if (d_->pre_engine_error_ != XmppEngine::ERROR_NONE) { in GetError()
236 d_->pre_engine_error_ = XmppEngine::ERROR_AUTH; in ProcessTokenLogin()
[all …]
Dmoduleimpl.h31 XmppReturnStatus RegisterEngine(XmppEngine* engine);
34 XmppEngine* engine();
62 XmppEngine* engine_;
70 XmppReturnStatus RegisterEngine(XmppEngine* engine) { \
Dxmppclient.h70 sigslot::signal1<XmppEngine::State> SignalStateChange;
71 XmppEngine::Error GetError(int *subcode);
88 XmppEngine* engine();
97 virtual XmppEngine::State GetState() const;
104 virtual void AddXmppTask(XmppTask *, XmppEngine::HandlerLevel);
Dxmpppump.cc18 state_ = buzz::XmppEngine::STATE_NONE; in XmppPump()
26 OnStateChange(buzz::XmppEngine::STATE_START); in DoLogin()
37 OnStateChange(buzz::XmppEngine::STATE_CLOSED); in DoDisconnect()
40 void XmppPump::OnStateChange(buzz::XmppEngine::State state) { in OnStateChange()
Dxmpppump.h29 virtual void OnStateChange(buzz::XmppEngine::State state) = 0;
43 void OnStateChange(buzz::XmppEngine::State state);
55 buzz::XmppEngine::State state_;
Dutil_unittest.h24 explicit XmppTestHandler(XmppEngine* engine) : engine_(engine) {} in XmppTestHandler()
27 void SetEngine(XmppEngine* engine);
45 XmppEngine* engine_;
Dxmpptask.h59 virtual XmppEngine::State GetState() const = 0;
66 virtual void AddXmppTask(XmppTask* task, XmppEngine::HandlerLevel level) = 0;
116 XmppEngine::HandlerLevel level = XmppEngine::HL_NONE);
Dxmppengine_unittest.cc26 using buzz::XmppEngine;
57 XmppEngine* engine() { return engine_.get(); } in engine()
60 engine_.reset(XmppEngine::Create()); in SetUp()
80 rtc::scoped_ptr<XmppEngine> engine_;
86 EXPECT_EQ(XmppEngine::STATE_START, engine()->GetState()); in RunLogin()
88 EXPECT_EQ(XmppEngine::STATE_OPENING, engine()->GetState()); in RunLogin()
Drostermodule_unittest.cc242 static void RunLogin(RosterModuleTest* obj, XmppEngine* engine, in RunLogin()
261 rtc::scoped_ptr<XmppEngine> engine(XmppEngine::Create()); in TEST_F()
384 rtc::scoped_ptr<XmppEngine> engine(XmppEngine::Create()); in TEST_F()
516 rtc::scoped_ptr<XmppEngine> engine(XmppEngine::Create()); in TEST_F()
579 rtc::scoped_ptr<XmppEngine> engine(XmppEngine::Create()); in TEST_F()
Dfakexmppclient.h42 virtual XmppEngine::State GetState() const { in GetState()
43 return XmppEngine::STATE_OPEN; in GetState()
73 XmppEngine::HandlerLevel level) { in AddXmppTask()
Dxmppengine.h22 class XmppEngine; variable
136 class XmppEngine {
138 static XmppEngine * Create();
139 virtual ~XmppEngine() {} in ~XmppEngine()
Dmodule.h18 class XmppEngine; variable
31 virtual XmppReturnStatus RegisterEngine(XmppEngine* engine) = 0;
Dmoduleimpl.cc30 XmppModuleImpl::RegisterEngine(XmppEngine* engine) in RegisterEngine()
41 XmppEngine*
Dxmppengineimpl.h22 class XmppEngine; variable
35 class XmppEngineImpl : public XmppEngine {
130 XmppEngine::HandlerLevel level);
Dxmppengineimpl.cc26 XmppEngine* XmppEngine::Create() { in Create()
171 XmppEngine::HandlerLevel level) { in AddStanzaHandler()
Dchatroommodule_unittest.cc164 rtc::scoped_ptr<XmppEngine> engine(XmppEngine::Create()); in TestEnterExitChatroom()
Dxmpplogintask_unittest.cc27 using buzz::XmppEngine;
46 XmppEngine* engine() { return engine_.get(); } in engine()
49 engine_.reset(XmppEngine::Create()); in SetUp()
70 rtc::scoped_ptr<XmppEngine> engine_;
Dreceivetask.h27 XmppTask(parent, XmppEngine::HL_TYPE) {} in ReceiveTask()
Dxmppthread.h38 void OnStateChange(buzz::XmppEngine::State state);
Djingleinfotask.h26 XmppTask(parent, XmppEngine::HL_TYPE) {} in JingleInfoTask()
Dxmppengineimpl_iq.cc21 XmppEngine * pxce, XmppIqHandler * iq_handler) : in XmppIqEntry()
33 XmppEngine * const engine_;
Dxmppthread.cc52 void XmppThread::OnStateChange(buzz::XmppEngine::State state) { in OnStateChange()
Diqtask.cc24 : buzz::XmppTask(parent, buzz::XmppEngine::HL_SINGLE), in IqTask()

12