Searched refs:thread_ (Results 1 - 25 of 155) sorted by relevance

1234567

/external/chromium_org/device/bluetooth/
H A Dbluetooth_socket_thread.cc34 if (thread_) {
35 thread_->Stop();
36 thread_.reset(NULL);
50 if (active_socket_count_ == 0 && thread_) {
51 thread_->Stop();
52 thread_.reset(NULL);
59 if (thread_)
64 thread_.reset(new base::Thread("BluetoothSocketThread"));
65 thread_->StartWithOptions(thread_options);
66 task_runner_ = thread_
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dthread_win.cc33 thread_(NULL),
50 if (thread_) {
51 CloseHandle(thread_);
77 thread_ = (HANDLE)_beginthreadex(NULL, 1024 * 1024, StartThread, (void*)this,
79 if (thread_ == NULL) {
87 SetThreadPriority(thread_, THREAD_PRIORITY_BELOW_NORMAL);
90 SetThreadPriority(thread_, THREAD_PRIORITY_NORMAL);
93 SetThreadPriority(thread_, THREAD_PRIORITY_ABOVE_NORMAL);
96 SetThreadPriority(thread_, THREAD_PRIORITY_HIGHEST);
99 SetThreadPriority(thread_, THREAD_PRIORITY_TIME_CRITICA
[all...]
H A Dcondition_variable_unittest.cc147 thread_ = ThreadWrapper::CreateThread(&WaitingRunFunction,
150 ASSERT_TRUE(thread_->Start(id));
160 thread_->SetNotAlive();
162 ASSERT_TRUE(thread_->Stop());
163 delete thread_;
170 ThreadWrapper* thread_; member in class:webrtc::__anon16155::CondVarTest
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dthread_track.js32 return this.thread_;
36 this.thread_ = thread;
47 if (!this.thread_)
50 this.heading = this.thread_.userFriendlyName + ': ';
51 this.tooltip = this.thread_.userFriendlyDetails;
53 if (this.thread_.asyncSliceGroup.length) {
60 asyncTrack.group = this.thread_.asyncSliceGroup;
65 if (this.thread_.samples.length) {
68 samplesTrack.group = this.thread_;
69 samplesTrack.slices = this.thread_
[all...]
/external/chromium_org/ppapi/utility/threading/
H A Dsimple_thread.cc53 thread_(0) {
61 thread_(0) {
73 if (!thread_)
79 DWORD result = WaitForSingleObject(thread_, INFINITE);
80 CloseHandle(thread_);
81 thread_ = 0;
86 int result = pthread_join(thread_, &retval);
87 thread_ = 0;
93 if (thread_)
102 thread_
[all...]
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/fakes/
H A Dfake_external_transport.cc21 thread_(NULL),
31 thread_ = webrtc::ThreadWrapper::CreateThread(
33 if (thread_) {
35 thread_->Start(id);
40 if (thread_) {
41 thread_->SetNotAlive();
43 if (thread_->Stop()) {
44 delete thread_;
45 thread_ = NULL;
/external/chromium_org/ppapi/examples/threading/
H A Dthreading.cc15 thread_ = new pp::SimpleThread(this);
20 delete thread_;
24 thread_->Start();
25 thread_->message_loop().PostWork(
39 pp::SimpleThread* thread_; member in class:MyInstance
/external/chromium_org/third_party/webrtc/base/
H A Dcriticalsection.h43 TRACK_OWNER(thread_ = 0);
50 TRACK_OWNER(thread_ = GetCurrentThreadId());
54 TRACK_OWNER(thread_ = GetCurrentThreadId());
60 TRACK_OWNER(thread_ = 0);
65 bool CurrentThreadIsOwner() const { return thread_ == GetCurrentThreadId(); }
70 TRACK_OWNER(DWORD thread_); // The section's owning thread id
83 TRACK_OWNER(thread_ = 0);
90 TRACK_OWNER(thread_ = pthread_self());
94 TRACK_OWNER(thread_ = pthread_self());
100 TRACK_OWNER(thread_
[all...]
H A Dsignalthread_unittest.cc76 thread_ = new SlowSignalThread(this);
77 thread_->SignalWorkDone.connect(this, &SignalThreadTest::OnWorkComplete);
90 SlowSignalThread* thread_; member in class:SignalThreadTest
161 thread_->Start();
170 thread_->Start();
172 thread_->Release();
182 thread_->Start();
184 thread_->Destroy(true);
191 thread_->Start();
193 thread_
[all...]
H A Dthread.cc129 : thread_(Thread::Current()),
130 previous_state_(thread_->SetAllowBlockingCalls(false)) {
134 ASSERT(thread_->IsCurrent());
135 thread_->SetAllowBlockingCalls(previous_state_);
143 thread_(NULL),
191 ASSERT(thread_ != NULL);
194 ret = ::SetThreadPriority(thread_, THREAD_PRIORITY_NORMAL);
196 ret = ::SetThreadPriority(thread_, THREAD_PRIORITY_HIGHEST);
198 ret = ::SetThreadPriority(thread_, THREAD_PRIORITY_ABOVE_NORMAL);
200 ret = ::SetThreadPriority(thread_, THREAD_PRIORITY_IDL
[all...]
/external/chromium_org/chrome/browser/sync/glue/
H A Dbrowser_thread_model_worker.cc20 thread_(thread), group_(group) {
26 if (BrowserThread::CurrentlyOn(thread_)) {
27 DLOG(WARNING) << "Already on thread " << thread_;
32 thread_,
37 DLOG(WARNING) << "Failed to post task to thread " << thread_;
52 if (BrowserThread::CurrentlyOn(thread_)) {
56 thread_, FROM_HERE,
65 DCHECK(BrowserThread::CurrentlyOn(thread_));
/external/chromium_org/media/audio/
H A Daudio_device_thread.cc53 base::PlatformThreadHandle thread_; member in class:media::AudioDeviceThread::Thread
68 AudioDeviceThread::~AudioDeviceThread() { DCHECK(!thread_.get()); }
75 CHECK(!thread_.get());
76 thread_ = new AudioDeviceThread::Thread(
78 thread_->Start();
83 if (thread_.get()) {
84 thread_->Stop(loop_for_join);
85 thread_ = NULL;
91 return !thread_.get();
99 : thread_(),
[all...]
H A Dclockless_audio_sink.cc25 thread_.reset(new base::DelegateSimpleThread(this, "ClocklessAudioSink"));
26 thread_->Start();
32 thread_->Join();
58 scoped_ptr<base::DelegateSimpleThread> thread_; member in class:media::ClocklessAudioSinkThread
71 thread_.reset(new ClocklessAudioSinkThread(params, callback));
92 thread_->Start();
102 playback_time_ = thread_->Stop();
/external/chromium_org/mojo/shell/
H A Din_process_dynamic_service_runner.cc48 if (thread_) {
49 DCHECK(thread_->HasBeenStarted());
50 DCHECK(!thread_->HasBeenJoined());
51 thread_->Join();
75 DCHECK(!thread_);
76 thread_.reset(new base::DelegateSimpleThread(this, "app_thread"));
77 thread_->Start();
/external/chromium_org/chrome/common/
H A Dprofiling.cc91 ProfilingThreadControl() : thread_(NULL) {}
96 if (thread_ && thread_->IsRunning())
98 thread_ = new base::Thread("Profiling_Flush");
99 thread_->Start();
100 thread_->message_loop()->PostTask(
101 FROM_HERE, base::Bind(&FlushProfilingData, thread_));
107 if (!thread_ || !thread_->IsRunning())
109 thread_
115 base::Thread* thread_; member in class:__anon5695::ProfilingThreadControl
[all...]
/external/chromium_org/jingle/glue/
H A Dthread_wrapper_unittest.cc75 thread_->Send(&handler, kTestMessage2, data);
80 : thread_(NULL) {
85 thread_ = rtc::Thread::Current();
90 rtc::Thread* thread_; member in class:jingle_glue::ThreadWrapperTest
101 thread_->Post(&handler1_, kTestMessage1, data1);
102 thread_->Post(&handler1_, kTestMessage2, data2);
103 thread_->Post(&handler2_, kTestMessage1, data3);
104 thread_->Post(&handler2_, kTestMessage1, data4);
130 thread_->PostDelayed(kTestDelayMs1, &handler1_, kTestMessage1, data1);
131 thread_
[all...]
/external/chromium_org/content/child/
H A Dwebthread_impl.cc59 : thread_(new base::Thread(name)) {
60 thread_->Start();
64 thread_->message_loop()->PostTask(
69 thread_->message_loop()->PostDelayedTask(
77 CHECK(!thread_->message_loop()->is_running()); // We don't support nesting.
78 thread_->message_loop()->Run();
83 CHECK(thread_->message_loop()->is_running());
84 thread_->message_loop()->Quit();
88 return thread_->thread_id() == base::PlatformThread::CurrentId();
92 return thread_
[all...]
/external/chromium_org/mojo/services/html_viewer/
H A Dwebthread_impl.cc59 : thread_(new base::Thread(name)) {
60 thread_->Start();
64 thread_->message_loop()->PostTask(
69 thread_->message_loop()->PostDelayedTask(
77 CHECK(!thread_->message_loop()->is_running()); // We don't support nesting.
78 thread_->message_loop()->Run();
83 CHECK(thread_->message_loop()->is_running());
84 thread_->message_loop()->Quit();
88 return thread_->thread_id() == base::PlatformThread::CurrentId();
92 return thread_
[all...]
/external/chromium_org/mojo/public/cpp/utility/lib/
H A Dthread.cc13 thread_(),
20 thread_(),
45 rv = pthread_create(&thread_, &attr, &ThreadRunTrampoline, this);
58 int rv MOJO_ALLOW_UNUSED = pthread_join(thread_, NULL);
/external/chromium_org/base/android/
H A Dapplication_status_listener_unittest.cc45 thread_("ApplicationStatusTest thread"),
51 thread_.Start();
52 thread_.message_loop()
75 EXPECT_EQ(thread_.message_loop(), base::MessageLoop::current());
94 base::Thread thread_; member in class:base::android::__anon2176::MultiThreadedTest
/external/chromium_org/chrome/browser/history/android/
H A Dandroid_history_provider_service.cc32 DCHECK(hs->thread_) << "History service being called after cleanup";
35 hs->thread_->message_loop_proxy().get(),
60 DCHECK(hs->thread_) << "History service being called after cleanup";
63 hs->thread_->message_loop_proxy().get(),
86 DCHECK(hs->thread_) << "History service being called after cleanup";
89 hs->thread_->message_loop_proxy().get(),
110 DCHECK(hs->thread_) << "History service being called after cleanup";
113 hs->thread_->message_loop_proxy().get(),
134 DCHECK(hs->thread_) << "History service being called after cleanup";
137 hs->thread_
[all...]
/external/chromium_org/third_party/webrtc/test/
H A Ddirect_transport.cc23 thread_(ThreadWrapper::CreateThread(NetworkProcess, this)),
28 EXPECT_TRUE(thread_->Start(thread_id));
35 thread_(ThreadWrapper::CreateThread(NetworkProcess, this)),
40 EXPECT_TRUE(thread_->Start(thread_id));
56 EXPECT_TRUE(thread_->Stop());
H A Dfake_audio_device.cc47 if (thread_.get() != NULL)
48 thread_->Stop();
58 thread_.reset(ThreadWrapper::CreateThread(
60 if (thread_.get() == NULL)
63 if (!thread_->Start(thread_id)) {
64 thread_.reset();
H A Dframe_generator_capturer.cc80 if (thread_.get() != NULL)
81 thread_->Stop();
92 thread_.reset(ThreadWrapper::CreateThread(FrameGeneratorCapturer::Run,
96 if (thread_.get() == NULL)
99 if (!thread_->Start(thread_id)) {
100 thread_.reset();
/external/chromium_org/chrome/browser/history/
H A Dhistory_service.cc209 : thread_(new base::Thread(kHistoryThreadName)),
218 : thread_(new base::Thread(kHistoryThreadName)),
244 DCHECK(thread_) << "History service being called after cleanup";
296 DCHECK(thread_) << "History service being called after cleanup";
304 DCHECK(thread_) << "History service being called after cleanup";
316 DCHECK(thread_) << "History service being called after cleanup";
324 DCHECK(thread_) << "History service being called after cleanup";
331 DCHECK(thread_) << "History service being called after cleanup";
339 DCHECK(thread_) << "History service being called after cleanup";
346 thread_
[all...]

Completed in 682 milliseconds

1234567