/external/webrtc/webrtc/libjingle/xmpp/ |
D | util_unittest.cc | 34 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 …]
|
D | xmpplogintask.cc | 113 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 …]
|
D | xmppclient.cc | 36 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 …]
|
D | moduleimpl.h | 31 XmppReturnStatus RegisterEngine(XmppEngine* engine); 34 XmppEngine* engine(); 62 XmppEngine* engine_; 70 XmppReturnStatus RegisterEngine(XmppEngine* engine) { \
|
D | xmppclient.h | 70 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);
|
D | xmpppump.cc | 18 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()
|
D | xmpppump.h | 29 virtual void OnStateChange(buzz::XmppEngine::State state) = 0; 43 void OnStateChange(buzz::XmppEngine::State state); 55 buzz::XmppEngine::State state_;
|
D | util_unittest.h | 24 explicit XmppTestHandler(XmppEngine* engine) : engine_(engine) {} in XmppTestHandler() 27 void SetEngine(XmppEngine* engine); 45 XmppEngine* engine_;
|
D | xmpptask.h | 59 virtual XmppEngine::State GetState() const = 0; 66 virtual void AddXmppTask(XmppTask* task, XmppEngine::HandlerLevel level) = 0; 116 XmppEngine::HandlerLevel level = XmppEngine::HL_NONE);
|
D | xmppengine_unittest.cc | 26 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()
|
D | rostermodule_unittest.cc | 242 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()
|
D | fakexmppclient.h | 42 virtual XmppEngine::State GetState() const { in GetState() 43 return XmppEngine::STATE_OPEN; in GetState() 73 XmppEngine::HandlerLevel level) { in AddXmppTask()
|
D | xmppengine.h | 22 class XmppEngine; variable 136 class XmppEngine { 138 static XmppEngine * Create(); 139 virtual ~XmppEngine() {} in ~XmppEngine()
|
D | module.h | 18 class XmppEngine; variable 31 virtual XmppReturnStatus RegisterEngine(XmppEngine* engine) = 0;
|
D | moduleimpl.cc | 30 XmppModuleImpl::RegisterEngine(XmppEngine* engine) in RegisterEngine() 41 XmppEngine*
|
D | xmppengineimpl.h | 22 class XmppEngine; variable 35 class XmppEngineImpl : public XmppEngine { 130 XmppEngine::HandlerLevel level);
|
D | xmppengineimpl.cc | 26 XmppEngine* XmppEngine::Create() { in Create() 171 XmppEngine::HandlerLevel level) { in AddStanzaHandler()
|
D | chatroommodule_unittest.cc | 164 rtc::scoped_ptr<XmppEngine> engine(XmppEngine::Create()); in TestEnterExitChatroom()
|
D | xmpplogintask_unittest.cc | 27 using buzz::XmppEngine; 46 XmppEngine* engine() { return engine_.get(); } in engine() 49 engine_.reset(XmppEngine::Create()); in SetUp() 70 rtc::scoped_ptr<XmppEngine> engine_;
|
D | receivetask.h | 27 XmppTask(parent, XmppEngine::HL_TYPE) {} in ReceiveTask()
|
D | xmppthread.h | 38 void OnStateChange(buzz::XmppEngine::State state);
|
D | jingleinfotask.h | 26 XmppTask(parent, XmppEngine::HL_TYPE) {} in JingleInfoTask()
|
D | xmppengineimpl_iq.cc | 21 XmppEngine * pxce, XmppIqHandler * iq_handler) : in XmppIqEntry() 33 XmppEngine * const engine_;
|
D | xmppthread.cc | 52 void XmppThread::OnStateChange(buzz::XmppEngine::State state) { in OnStateChange()
|
D | iqtask.cc | 24 : buzz::XmppTask(parent, buzz::XmppEngine::HL_SINGLE), in IqTask()
|