Home
last modified time | relevance | path

Searched refs:engine_ (Results 1 – 25 of 39) sorted by relevance

12

/external/webrtc/webrtc/libjingle/xmpp/
Dxmppclient.cc34 engine_(), in Private()
52 rtc::scoped_ptr<XmppEngine> engine_; member in buzz::XmppClient::Private
108 d_->engine_.reset(XmppEngine::Create()); in Connect()
109 d_->engine_->SetSessionHandler(d_.get()); in Connect()
110 d_->engine_->SetOutputHandler(d_.get()); in Connect()
112 d_->engine_->SetRequestedResource(settings.resource()); in Connect()
114 d_->engine_->SetTls(settings.use_tls()); in Connect()
133 d_->engine_->SetTlsServer("", STR_TALK_GOOGLE_COM); in Connect()
138 d_->engine_->SetLanguage(lang); in Connect()
140 d_->engine_->SetUser(buzz::Jid(settings.user(), settings.host(), STR_EMPTY)); in Connect()
[all …]
Dmoduleimpl.cc17 engine_(NULL), in XmppModuleImpl()
23 if (engine_ != NULL) { in ~XmppModuleImpl()
24 engine_->RemoveStanzaHandler(&stanza_handler_); in ~XmppModuleImpl()
25 engine_ = NULL; in ~XmppModuleImpl()
32 if (NULL == engine || NULL != engine_) in RegisterEngine()
36 engine_ = engine; in RegisterEngine()
43 ASSERT(NULL != engine_); in engine()
44 return engine_; in engine()
Dxmpplogintask_unittest.cc46 XmppEngine* engine() { return engine_.get(); } in engine()
49 engine_.reset(XmppEngine::Create()); in SetUp()
50 handler_.reset(new XmppTestHandler(engine_.get())); in SetUp()
55 engine_->SetSessionHandler(handler_.get()); in SetUp()
56 engine_->SetOutputHandler(handler_.get()); in SetUp()
57 engine_->AddStanzaHandler(handler_.get()); in SetUp()
58 engine_->SetUser(jid); in SetUp()
59 engine_->SetSaslHandler( in SetUp()
64 engine_.reset(); in TearDown()
70 rtc::scoped_ptr<XmppEngine> engine_; member in XmppLoginTaskTest
[all …]
Dxmppengine_unittest.cc57 XmppEngine* engine() { return engine_.get(); } in engine()
60 engine_.reset(XmppEngine::Create()); in SetUp()
61 handler_.reset(new XmppTestHandler(engine_.get())); in SetUp()
66 engine_->SetSessionHandler(handler_.get()); in SetUp()
67 engine_->SetOutputHandler(handler_.get()); in SetUp()
68 engine_->AddStanzaHandler(handler_.get()); in SetUp()
69 engine_->SetUser(jid); in SetUp()
70 engine_->SetSaslHandler( in SetUp()
75 engine_.reset(); in TearDown()
80 rtc::scoped_ptr<XmppEngine> engine_; member in XmppEngineTest
Dutil_unittest.h24 explicit XmppTestHandler(XmppEngine* engine) : engine_(engine) {} in XmppTestHandler()
45 XmppEngine* engine_;
Dmoduleimpl.h62 XmppEngine* engine_; variable
Dxmppengineimpl_iq.cc24 engine_(pxce), in XmppIqEntry()
33 XmppEngine * const engine_; member in buzz::XmppIqEntry
Dutil_unittest.cc46 switch (engine_->GetError(NULL)) { in OnStateChange()
Dxmppengineimpl.cc403 : engine_(engine), in EnterExit()
409 XmppEngineImpl* engine = engine_; in ~EnterExit()
Dxmppengineimpl.h218 XmppEngineImpl* engine_;
/external/webrtc/talk/media/webrtc/
Dwebrtcvoe.h92 : engine_(webrtc::VoiceEngine::Create()), processing_(engine_), in VoEWrapper()
93 base_(engine_), codec_(engine_), in VoEWrapper()
94 hw_(engine_), network_(engine_), in VoEWrapper()
95 rtp_(engine_), volume_(engine_) { in VoEWrapper()
104 : engine_(NULL), in VoEWrapper()
114 webrtc::VoiceEngine* engine() const { return engine_.get(); } in engine()
125 scoped_voe_engine engine_;
Dwebrtcvideoengine2_unittest.cc121 engine_() { in WebRtcVideoEngine2Test()
122 std::vector<VideoCodec> engine_codecs = engine_.codecs(); in WebRtcVideoEngine2Test()
159 WebRtcVideoEngine2 engine_; member in cricket::WebRtcVideoEngine2Test
167 const std::vector<cricket::VideoCodec>& c = engine_.codecs(); in TEST_F()
171 EXPECT_TRUE(engine_.FindCodec(vp8)); in TEST_F()
174 EXPECT_TRUE(engine_.FindCodec(vp8)); in TEST_F()
177 EXPECT_TRUE(engine_.FindCodec(vp8_diff_fr_diff_pref)); in TEST_F()
180 EXPECT_FALSE(engine_.FindCodec(vp8_diff_id)); in TEST_F()
182 EXPECT_TRUE(engine_.FindCodec(vp8_diff_id)); in TEST_F()
187 EXPECT_TRUE(engine_.FindCodec(vp8_diff_res)); in TEST_F()
[all …]
Dwebrtcvoiceengine_unittest.cc79 engine_(new FakeVoEWrapper(&voe_)), in WebRtcVoiceEngineTestFake()
85 if (!engine_.Init(rtc::Thread::Current())) { in SetupEngine()
88 channel_ = engine_.CreateChannel(&call_, cricket::AudioOptions()); in SetupEngine()
119 engine_.Terminate(); in TearDown()
141 EXPECT_TRUE(engine_.Init(rtc::Thread::Current())); in TestInsertDtmf()
142 channel_ = engine_.CreateChannel(&call_, cricket::AudioOptions()); in TestInsertDtmf()
398 cricket::WebRtcVoiceEngine engine_; member in WebRtcVoiceEngineTestFake
407 EXPECT_TRUE(engine_.Init(rtc::Thread::Current())); in TEST_F()
409 engine_.Terminate(); in TEST_F()
415 EXPECT_TRUE(engine_.Init(rtc::Thread::Current())); in TEST_F()
[all …]
Dwebrtcvoiceengine.h231 WebRtcVoiceEngine* engine() { return engine_; } in engine()
253 WebRtcVoiceEngine* const engine_ = nullptr; variable
/external/webrtc/webrtc/modules/audio_device/android/
Dopensles_player.cc47 engine_(nullptr), in OpenSLESPlayer()
71 RTC_DCHECK(!engine_); in ~OpenSLESPlayer()
271 RTC_DCHECK(!engine_); in CreateEngine()
280 SL_IID_ENGINE, &engine_), in CreateEngine()
290 engine_ = nullptr; in DestroyEngine()
297 RTC_DCHECK(engine_); in CreateMix()
302 RETURN_ON_ERROR((*engine_)->CreateOutputMix(engine_, output_mix_.Receive(), 0, in CreateMix()
348 (*engine_)->CreateAudioPlayer( in CreateAudioPlayer()
349 engine_, player_object_.Receive(), &audio_source, &audio_sink, in CreateAudioPlayer()
Dopensles_player.h177 SLEngineItf engine_; variable
/external/grpc-grpc/src/cpp/client/
Dcronet_credentials.cc30 CronetChannelCredentialsImpl(void* engine) : engine_(engine) {} in CronetChannelCredentialsImpl()
37 "", grpc_cronet_secure_channel_create(engine_, target.c_str(), in CreateChannel()
44 void* engine_; member in grpc::CronetChannelCredentialsImpl
/external/pdfium/fxjs/
Dcfxjs_engine_unittest.cpp22 engine_ = pdfium::MakeUnique<CFXJS_Engine>(isolate()); in SetUp()
27 CFXJS_Engine* engine() const { return engine_.get(); } in engine()
30 std::unique_ptr<CFXJS_Engine> engine_; member in FXJSEngineUnitTest
/external/pdfium/xfa/fde/
Dcfde_texteditengine.cpp30 : engine_(engine), start_idx_(start_idx), added_text_(added_text) {} in InsertOperation()
35 engine_->Insert(start_idx_, added_text_, in Redo()
40 engine_->Delete(start_idx_, added_text_.GetLength(), in Undo()
45 UnownedPtr<CFDE_TextEditEngine> engine_; member in __anon32ab221f0111::InsertOperation
55 : engine_(engine), start_idx_(start_idx), removed_text_(removed_text) {} in DeleteOperation()
60 engine_->Delete(start_idx_, removed_text_.GetLength(), in Redo()
65 engine_->Insert(start_idx_, removed_text_, in Undo()
70 UnownedPtr<CFDE_TextEditEngine> engine_; member in __anon32ab221f0111::DeleteOperation
1221 : engine_(engine), current_position_(-1) {} in Iterator()
1229 static_cast<size_t>(current_position_) == engine_->GetLength()) { in Next()
[all …]
Dcfde_texteditengine_unittest.cpp45 engine_ = pdfium::MakeUnique<CFDE_TextEditEngine>(); in SetUp()
46 engine_->SetFont(font_); in SetUp()
47 engine_->SetFontSize(12.0f); in SetUp()
50 void TearDown() override { engine_.reset(); } in TearDown()
52 CFDE_TextEditEngine* engine() const { return engine_.get(); } in engine()
56 std::unique_ptr<CFDE_TextEditEngine> engine_; member in CFDE_TextEditEngineTest
/external/bcc/src/cc/
Dbpf_module.cc136 engine_.reset(); in ~BPFModule()
231 engine_ = unique_ptr<ExecutionEngine>(builder.create()); in finalize()
232 if (!engine_) { in finalize()
238 engine_->setProcessAllSections(true); in finalize()
243 engine_->finalizeObject(); in finalize()
265 engine_.reset(); in finalize()
/external/webrtc/talk/media/base/
Dfakemediaengine.h243 : engine_(engine), in FakeVoiceMediaChannel()
420 FakeVoiceEngine* engine_; variable
444 : engine_(engine), in FakeVideoMediaChannel()
603 FakeVideoEngine* engine_; variable
902 if (engine_) { in ~FakeVoiceMediaChannel()
903 engine_->UnregisterChannel(this); in ~FakeVoiceMediaChannel()
908 if (engine_) { in ~FakeVideoMediaChannel()
909 engine_->UnregisterChannel(this); in ~FakeVideoMediaChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dlog_quantized_test.cc40 double scale = static_cast<double>(max_val + 1 - min_val) / engine_.max(); in RandomIntVector()
42 it = min_val + std::floor(engine_() * scale); in RandomIntVector()
47 std::mt19937 engine_; member in tflite::NumberGenerator
/external/webrtc/talk/media/sctp/
Dsctpdataengine_unittest.cc222 engine_.reset(new cricket::SctpDataEngine()); in SetUp()
286 static_cast<cricket::SctpDataMediaChannel*>(engine_->CreateChannel( in CreateChannel()
333 rtc::scoped_ptr<cricket::SctpDataEngine> engine_; member in SctpDataMediaChannelTest
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_lru_cache.h147 TrtUniquePtrType<nvinfer1::ICudaEngine> engine_; variable

12