Home
last modified time | relevance | path

Searched refs:AutoThread (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/remoting/base/
Dauto_thread.cc25 AutoThread::ComInitType type) { in CreateComInitializer()
27 if (type == AutoThread::COM_INIT_MTA) { in CreateComInitializer()
30 } else if (type == AutoThread::COM_INIT_STA) { in CreateComInitializer()
41 struct AutoThread::StartupData {
56 scoped_refptr<AutoThreadTaskRunner> AutoThread::CreateWithType( in CreateWithType()
60 AutoThread* thread = new AutoThread(name, joiner.get()); in CreateWithType()
68 scoped_refptr<AutoThreadTaskRunner> AutoThread::Create( in Create()
75 scoped_refptr<AutoThreadTaskRunner> AutoThread::CreateWithLoopAndComInitTypes( in CreateWithLoopAndComInitTypes()
80 AutoThread* thread = new AutoThread(name, joiner); in CreateWithLoopAndComInitTypes()
90 AutoThread::AutoThread(const char* name) in AutoThread() function in remoting::AutoThread
[all …]
Dauto_thread.h30 class AutoThread : base::PlatformThread::Delegate {
55 explicit AutoThread(const char* name);
58 virtual ~AutoThread();
80 AutoThread(const char* name, AutoThreadTaskRunner* joiner);
110 DISALLOW_COPY_AND_ASSIGN(AutoThread);
Dauto_thread_unittest.cc101 AutoThread::Create(kThreadName, main_task_runner_); in TEST_F()
111 AutoThread::Create(kThreadName, main_task_runner_); in TEST_F()
127 AutoThread::Create(kThreadName, main_task_runner_); in TEST_F()
130 AutoThread::Create(kThreadName, main_task_runner_); in TEST_F()
148 AutoThread::CreateWithLoopAndComInitTypes(kThreadName, in TEST_F()
151 AutoThread::COM_INIT_MTA); in TEST_F()
174 AutoThread::CreateWithLoopAndComInitTypes(kThreadName, in TEST_F()
177 AutoThread::COM_INIT_STA); in TEST_F()
/external/chromium_org/remoting/host/
Dchromoting_host_context.cc22 AutoThread::CreateWithLoopAndComInitTypes("ChromotingAudioThread", in ChromotingHostContext()
25 AutoThread::COM_INIT_STA); in ChromotingHostContext()
27 audio_task_runner_ = AutoThread::CreateWithType( in ChromotingHostContext()
31 file_task_runner_ = AutoThread::CreateWithType( in ChromotingHostContext()
33 input_task_runner_ = AutoThread::CreateWithType( in ChromotingHostContext()
35 network_task_runner_ = AutoThread::CreateWithType( in ChromotingHostContext()
38 AutoThread::Create("ChromotingCaptureThread", ui_task_runner_); in ChromotingHostContext()
39 video_encode_task_runner_ = AutoThread::Create( in ChromotingHostContext()
Ddesktop_process.cc106 AutoThread::CreateWithLoopAndComInitTypes("ChromotingAudioThread", in Start()
109 AutoThread::COM_INIT_STA); in Start()
111 audio_task_runner = AutoThread::CreateWithType( in Start()
117 AutoThread::CreateWithType( in Start()
122 AutoThread::Create("Video capture thread", caller_task_runner_); in Start()
Ddesktop_process_main.cc41 AutoThread::CreateWithType( in DesktopProcessMain()
Dconfig_file_watcher_unittest.cc83 AutoThread::CreateWithType( in SetUp()
Ddesktop_process_unittest.cc246 io_task_runner_ = AutoThread::CreateWithType( in RunDesktopProcess()
Dipc_desktop_environment_unittest.cc234 io_task_runner_ = AutoThread::CreateWithType( in SetUp()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dthread.h286 class AutoThread : public Thread {
288 explicit AutoThread(SocketServer* ss = 0);
289 virtual ~AutoThread();
292 DISALLOW_COPY_AND_ASSIGN(AutoThread);
Dthread.cc394 AutoThread thread; in Send()
553 AutoThread::AutoThread(SocketServer* ss) : Thread(ss) { in AutoThread() function in talk_base::AutoThread
559 AutoThread::~AutoThread() { in ~AutoThread()
/external/chromium/third_party/libjingle/source/talk/base/
Dthread.h215 class AutoThread : public Thread {
217 AutoThread(SocketServer* ss = 0);
218 virtual ~AutoThread();
Dthread.cc388 AutoThread thread; in Send()
502 AutoThread::AutoThread(SocketServer* ss) : Thread(ss) { in AutoThread() function in talk_base::AutoThread
508 AutoThread::~AutoThread() { in ~AutoThread()
/external/chromium_org/remoting/host/setup/
Ddaemon_controller.h22 class AutoThread; variable
257 scoped_ptr<AutoThread> delegate_thread_;
Ddaemon_controller.cc24 delegate_thread_.reset(new AutoThread(kDaemonControllerThreadName)); in DaemonController()
26 delegate_thread_->SetComInitType(AutoThread::COM_INIT_STA); in DaemonController()
/external/chromium_org/base/threading/
Dthread_restrictions.h73 class AutoThread; variable
189 friend class remoting::AutoThread;
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/
Dmain.cc92 talk_base::AutoThread auto_thread; in main()
/external/chromium_org/remoting/client/jni/
Dchromoting_jni_runtime.cc156 network_task_runner_ = AutoThread::CreateWithType("native_net", in ChromotingJniRuntime()
159 display_task_runner_ = AutoThread::Create("native_disp", in ChromotingJniRuntime()
/external/chromium_org/remoting/host/win/
Dhost_service.cc207 AutoThread::CreateWithType( in CreateLauncher()
/external/chromium_org/remoting/host/plugin/
Dhost_script_object.cc122 worker_thread_ = AutoThread::Create("ChromotingWorkerThread", in HostNPScriptObject()
/external/chromium_org/third_party/libjingle/source/talk/examples/plus/
Dlibjingleplus.cc88 main_thread_.reset(new talk_base::AutoThread()); in LibjinglePlusWorker()