/external/chromium_org/content/browser/ |
D | browser_thread_impl.cc | 71 base::MessageLoop* message_loop) in BrowserThreadImpl() argument 72 : Thread(message_loop->thread_name().c_str()), identifier_(identifier) { in BrowserThreadImpl() 73 set_message_loop(message_loop); in BrowserThreadImpl() 107 message_loop()->PostTask(FROM_HERE, in Init() 120 NOINLINE void BrowserThreadImpl::UIThreadRun(base::MessageLoop* message_loop) { in UIThreadRun() argument 122 Thread::Run(message_loop); in UIThreadRun() 126 NOINLINE void BrowserThreadImpl::DBThreadRun(base::MessageLoop* message_loop) { in DBThreadRun() argument 128 Thread::Run(message_loop); in DBThreadRun() 133 base::MessageLoop* message_loop) { in FileThreadRun() argument 135 Thread::Run(message_loop); in FileThreadRun() [all …]
|
D | plugin_loader_posix_unittest.cc | 81 base::MessageLoop* message_loop() { return &message_loop_; } in message_loop() function in content::PluginLoaderPosixTest 112 plugin_loader()->LoadPlugins(message_loop()->message_loop_proxy(), callback); in TEST_F() 115 plugin_loader()->LoadPlugins(message_loop()->message_loop_proxy(), callback); in TEST_F() 119 message_loop()->RunUntilIdle(); in TEST_F() 126 message_loop()->RunUntilIdle(); in TEST_F() 134 message_loop()->RunUntilIdle(); in TEST_F() 145 plugin_loader()->LoadPlugins(message_loop()->message_loop_proxy(), callback); in TEST_F() 148 message_loop()->RunUntilIdle(); in TEST_F() 161 message_loop()->RunUntilIdle(); in TEST_F() 169 message_loop()->RunUntilIdle(); in TEST_F() [all …]
|
D | browser_thread_impl.h | 25 base::MessageLoop* message_loop); 32 virtual void Run(base::MessageLoop* message_loop) OVERRIDE; 43 void UIThreadRun(base::MessageLoop* message_loop); 44 void DBThreadRun(base::MessageLoop* message_loop); 45 void FileThreadRun(base::MessageLoop* message_loop); 46 void FileUserBlockingThreadRun(base::MessageLoop* message_loop); 47 void ProcessLauncherThreadRun(base::MessageLoop* message_loop); 48 void CacheThreadRun(base::MessageLoop* message_loop); 49 void IOThreadRun(base::MessageLoop* message_loop);
|
/external/chromium/base/threading/ |
D | thread_unittest.cc | 141 EXPECT_FALSE(a.message_loop()); in TEST_F() 144 EXPECT_TRUE(a.message_loop()); in TEST_F() 147 EXPECT_FALSE(a.message_loop()); in TEST_F() 150 EXPECT_TRUE(a.message_loop()); in TEST_F() 153 EXPECT_FALSE(a.message_loop()); in TEST_F() 156 EXPECT_FALSE(a.message_loop()); in TEST_F() 167 EXPECT_TRUE(a.message_loop()); in TEST_F() 171 a.message_loop()->PostTask(FROM_HERE, new ToggleValue(&was_invoked)); in TEST_F() 187 EXPECT_TRUE(a.message_loop()); in TEST_F() 192 a.message_loop()->PostTask(FROM_HERE, new SleepSome(20)); in TEST_F() [all …]
|
/external/chromium_org/base/threading/ |
D | thread_unittest.cc | 120 EXPECT_FALSE(a.message_loop()); in TEST_F() 123 EXPECT_TRUE(a.message_loop()); in TEST_F() 126 EXPECT_FALSE(a.message_loop()); in TEST_F() 129 EXPECT_TRUE(a.message_loop()); in TEST_F() 132 EXPECT_FALSE(a.message_loop()); in TEST_F() 135 EXPECT_FALSE(a.message_loop()); in TEST_F() 146 EXPECT_TRUE(a.message_loop()); in TEST_F() 150 a.message_loop()->PostTask(FROM_HERE, base::Bind(&ToggleValue, &was_invoked)); in TEST_F() 166 EXPECT_TRUE(a.message_loop()); in TEST_F() 171 a.message_loop()->PostTask( in TEST_F() [all …]
|
D | thread.cc | 171 void Thread::Run(MessageLoop* message_loop) { in Run() argument 172 message_loop->Run(); in Run() 191 scoped_ptr<MessageLoop> message_loop; in ThreadMain() local 193 message_loop.reset( in ThreadMain() 196 message_loop.reset( in ThreadMain() 204 message_loop->set_thread_name(name_); in ThreadMain() 205 message_loop_ = message_loop.get(); in ThreadMain()
|
/external/chromium_org/media/tools/player_x11/ |
D | player_x11.cc | 85 void Paint(base::MessageLoop* message_loop, const PaintCB& paint_cb, in Paint() argument 87 if (message_loop != base::MessageLoop::current()) { in Paint() 88 message_loop->PostTask(FROM_HERE, base::Bind( in Paint() 89 &Paint, message_loop, paint_cb, video_frame)); in Paint() 112 const scoped_refptr<base::MessageLoopProxy>& message_loop, in InitPipeline() argument 123 video_decoders.push_back(new media::FFmpegVideoDecoder(message_loop)); in InitPipeline() 125 message_loop, in InitPipeline() 134 audio_decoders.push_back(new media::FFmpegAudioDecoder(message_loop)); in InitPipeline() 136 message_loop, in InitPipeline() 137 new media::NullAudioSink(message_loop), in InitPipeline() [all …]
|
/external/chromium_org/mojo/system/ |
D | raw_channel_posix.cc | 40 base::MessageLoop* message_loop); 72 return static_cast<base::MessageLoopForIO*>(message_loop()); in message_loop_for_io() 102 base::MessageLoop* message_loop) in RawChannelPosix() argument 103 : RawChannel(delegate, message_loop), in RawChannelPosix() 109 CHECK_EQ(RawChannel::message_loop()->type(), base::MessageLoop::TYPE_IO); in RawChannelPosix() 128 DCHECK_EQ(base::MessageLoop::current(), message_loop()); in Init() 152 DCHECK_EQ(base::MessageLoop::current(), message_loop()); in Shutdown() 191 message_loop()->PostTask(FROM_HERE, in WriteMessage() 198 if (base::MessageLoop::current() == message_loop()) { in WriteMessage() 201 message_loop()->PostTask(FROM_HERE, in WriteMessage() [all …]
|
/external/chromium/chrome/browser/printing/ |
D | print_job_worker.cc | 56 DCHECK_EQ(owner_->message_loop(), MessageLoop::current()); in PrintJobWorker() 66 DCHECK_EQ(owner_->message_loop(), MessageLoop::current()); in ~PrintJobWorker() 79 DCHECK_EQ(message_loop(), MessageLoop::current()); in GetSettings() 103 DCHECK_EQ(message_loop(), MessageLoop::current()); in SetSettings() 147 owner_->message_loop()->PostTask(FROM_HERE, NewRunnableMethod( in GetSettingsDone() 167 message_loop()->PostTask(FROM_HERE, NewRunnableMethod( in GetSettingsWithUIDone() 177 DCHECK_EQ(message_loop(), MessageLoop::current()); in StartPrinting() 205 DCHECK_EQ(message_loop(), MessageLoop::current()); in OnDocumentChanged() 222 DCHECK_EQ(message_loop(), MessageLoop::current()); in OnNewPage() 268 DCHECK_EQ(message_loop(), MessageLoop::current()); in OnDocumentDone() [all …]
|
/external/chromium_org/base/ |
D | task_runner_util_unittest.cc | 71 MessageLoop message_loop; in TEST() local 72 PostTaskAndReplyWithResult(message_loop.message_loop_proxy().get(), in TEST() 85 MessageLoop message_loop; in TEST() local 86 PostTaskAndReplyWithResult(message_loop.message_loop_proxy().get(), in TEST() 100 MessageLoop message_loop; in TEST() local 101 PostTaskAndReplyWithResult(message_loop.message_loop_proxy().get(), in TEST() 116 MessageLoop message_loop; in TEST() local 117 PostTaskAndReplyWithResult(message_loop.message_loop_proxy().get(), in TEST()
|
/external/chromium_org/chrome/renderer/media/ |
D | chrome_webrtc_log_message_delegate_unittest.cc | 15 base::MessageLoop message_loop(base::MessageLoop::TYPE_IO); in TEST() local 17 new MockWebRtcLoggingMessageFilter(message_loop.message_loop_proxy())); in TEST() 21 message_loop.RunUntilIdle(); in TEST() 27 message_loop.message_loop_proxy()->PostTask( in TEST() 38 message_loop.message_loop_proxy()->PostTask( in TEST() 46 message_loop.RunUntilIdle(); in TEST()
|
/external/chromium_org/media/audio/ |
D | audio_output_device.cc | 84 message_loop()->PostTask(FROM_HERE, in Start() 96 message_loop()->PostTask(FROM_HERE, in Stop() 101 message_loop()->PostTask(FROM_HERE, in Play() 106 message_loop()->PostTask(FROM_HERE, in Pause() 114 if (!message_loop()->PostTask(FROM_HERE, in SetVolume() 123 DCHECK(message_loop()->BelongsToCurrentThread()); in CreateStreamOnIOThread() 131 DCHECK(message_loop()->BelongsToCurrentThread()); in PlayOnIOThread() 142 DCHECK(message_loop()->BelongsToCurrentThread()); in PauseOnIOThread() 151 DCHECK(message_loop()->BelongsToCurrentThread()); in ShutDownOnIOThread() 175 DCHECK(message_loop()->BelongsToCurrentThread()); in SetVolumeOnIOThread() [all …]
|
D | audio_input_device.cc | 81 message_loop()->PostTask(FROM_HERE, in Start() 94 message_loop()->PostTask(FROM_HERE, in Stop() 104 message_loop()->PostTask(FROM_HERE, in SetVolume() 110 message_loop()->PostTask(FROM_HERE, in SetAutomaticGainControl() 120 DCHECK(message_loop()->BelongsToCurrentThread()); in OnStreamCreated() 156 DCHECK(message_loop()->BelongsToCurrentThread()); in OnStateChanged() 189 DCHECK(message_loop()->BelongsToCurrentThread()); in OnIPCClosed() 201 DCHECK(message_loop()->BelongsToCurrentThread()); in StartUpOnIOThread() 218 DCHECK(message_loop()->BelongsToCurrentThread()); in ShutDownOnIOThread() 243 DCHECK(message_loop()->BelongsToCurrentThread()); in SetVolumeOnIOThread() [all …]
|
/external/chromium_org/chrome/browser/printing/ |
D | print_job_worker.cc | 57 DCHECK_EQ(owner_->message_loop(), base::MessageLoop::current()); in PrintJobWorker() 67 DCHECK_EQ(owner_->message_loop(), base::MessageLoop::current()); in ~PrintJobWorker() 87 DCHECK_EQ(message_loop(), base::MessageLoop::current()); in GetSettings() 119 DCHECK_EQ(message_loop(), base::MessageLoop::current()); in SetSettings() 169 owner_->message_loop()->PostTask( in GetSettingsDone() 194 message_loop()->PostTask( in GetSettingsWithUIDone() 207 DCHECK_EQ(message_loop(), base::MessageLoop::current()); in StartPrinting() 240 DCHECK_EQ(message_loop(), base::MessageLoop::current()); in OnDocumentChanged() 254 DCHECK_EQ(message_loop(), base::MessageLoop::current()); in OnNewPage() 302 DCHECK_EQ(message_loop(), base::MessageLoop::current()); in OnDocumentDone() [all …]
|
/external/chromium_org/media/base/ |
D | demuxer_perftest.cc | 44 static void QuitLoopWithStatus(base::MessageLoop* message_loop, in QuitLoopWithStatus() argument 47 message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); in QuitLoopWithStatus() 75 void OnReadDone(base::MessageLoop* message_loop, 140 base::MessageLoop* message_loop, in OnReadDone() argument 149 message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); in OnReadDone() 177 base::MessageLoop message_loop; in RunDemuxerBenchmark() local 183 FFmpegDemuxer demuxer(message_loop.message_loop_proxy(), in RunDemuxerBenchmark() 189 base::Bind(&QuitLoopWithStatus, &message_loop), in RunDemuxerBenchmark() 191 message_loop.Run(); in RunDemuxerBenchmark() 202 &QuitLoopWithStatus, &message_loop, PIPELINE_OK)); in RunDemuxerBenchmark() [all …]
|
/external/chromium_org/chrome/browser/sync_file_system/ |
D | sync_task_manager_unittest.cc | 157 base::MessageLoop message_loop; in TEST() local 165 message_loop.RunUntilIdle(); in TEST() 177 base::MessageLoop message_loop; in TEST() local 188 message_loop.RunUntilIdle(); in TEST() 200 base::MessageLoop message_loop; in TEST() local 204 message_loop.RunUntilIdle(); in TEST() 214 base::MessageLoop message_loop; in TEST() local 223 message_loop.RunUntilIdle(); in TEST() 236 base::MessageLoop message_loop; in TEST() local 253 message_loop.RunUntilIdle(); in TEST() [all …]
|
/external/chromium_org/webkit/child/ |
D | webthread_impl.cc | 64 thread_->message_loop()->PostTask( in postTask() 70 thread_->message_loop()->PostDelayedTask( in postDelayedTask() 78 CHECK(!thread_->message_loop()->is_running()); // We don't support nesting. in enterRunLoop() 79 thread_->message_loop()->Run(); in enterRunLoop() 84 CHECK(thread_->message_loop()->is_running()); in exitRunLoop() 85 thread_->message_loop()->Quit(); in exitRunLoop() 97 base::MessageLoopProxy* message_loop) in WebThreadImplForMessageLoop() argument 98 : message_loop_(message_loop) { in WebThreadImplForMessageLoop()
|
/external/chromium_org/remoting/base/ |
D | auto_thread_task_runner_unittest.cc | 23 base::MessageLoop message_loop; in TEST() local 25 message_loop.message_loop_proxy(), base::MessageLoop::QuitClosure()); in TEST() 29 message_loop.PostTask(FROM_HERE, base::Bind(&SetFlagTask, &success)); in TEST() 32 message_loop.Run(); in TEST()
|
/external/chromium_org/ppapi/c/ |
D | ppb_message_loop.h | 191 int32_t (*AttachToCurrentThread)(PP_Resource message_loop); 214 int32_t (*Run)(PP_Resource message_loop); 257 int32_t (*PostWork)(PP_Resource message_loop, 282 int32_t (*PostQuit)(PP_Resource message_loop, PP_Bool should_destroy);
|
/external/chromium/chrome/browser/extensions/ |
D | extension_updater_unittest.cc | 348 MessageLoop* message_loop) { in SimulateCheckSoon() argument 350 message_loop->RunAllPending(); in SimulateCheckSoon() 367 MessageLoop message_loop; in TestExtensionUpdateCheckRequests() local 368 BrowserThread ui_thread(BrowserThread::UI, &message_loop); in TestExtensionUpdateCheckRequests() 369 BrowserThread file_thread(BrowserThread::FILE, &message_loop); in TestExtensionUpdateCheckRequests() 437 MessageLoop message_loop; in TestBlacklistUpdateCheckRequests() local 438 BrowserThread ui_thread(BrowserThread::UI, &message_loop); in TestBlacklistUpdateCheckRequests() 546 MessageLoop message_loop; in TestDetermineUpdates() local 547 BrowserThread ui_thread(BrowserThread::UI, &message_loop); in TestDetermineUpdates() 548 BrowserThread file_thread(BrowserThread::FILE, &message_loop); in TestDetermineUpdates() [all …]
|
/external/chromium_org/content/browser/gamepad/ |
D | gamepad_provider.cc | 28 message_loop(m) { in ClosureAndThread() 71 base::MessageLoop* polling_loop = polling_thread_->message_loop(); in Pause() 85 base::MessageLoop* polling_loop = polling_thread_->message_loop(); in Resume() 128 polling_thread_->message_loop()->PostTask( in Initialize() 137 DCHECK(base::MessageLoop::current() == polling_thread_->message_loop()); in DoInitializePollingThread() 146 DCHECK(base::MessageLoop::current() == polling_thread_->message_loop()); in SendPauseHint() 152 DCHECK(base::MessageLoop::current() == polling_thread_->message_loop()); in DoPoll() 183 DCHECK(base::MessageLoop::current() == polling_thread_->message_loop()); in ScheduleDoPoll() 213 user_gesture_observers_[i].message_loop->PostTask(FROM_HERE, in CheckForUserGesture()
|
/external/chromium_org/chrome/browser/storage_monitor/ |
D | storage_monitor_unittest.cc | 36 base::MessageLoop message_loop; in TEST() local 49 message_loop.RunUntilIdle(); in TEST() 62 message_loop.RunUntilIdle(); in TEST() 84 base::MessageLoop message_loop; in TEST() local 92 base::MessageLoop message_loop; in TEST() local 100 message_loop.RunUntilIdle(); in TEST() 113 message_loop.RunUntilIdle(); in TEST() 124 message_loop.RunUntilIdle(); in TEST() 132 message_loop.RunUntilIdle(); in TEST()
|
/external/chromium_org/tools/gn/secondary/base/ |
D | BUILD.gn | 284 "message_loop/incoming_task_queue.cc", 285 "message_loop/incoming_task_queue.h", 286 "message_loop/message_loop.cc", 287 "message_loop/message_loop.h", 288 "message_loop/message_loop_proxy.cc", 289 "message_loop/message_loop_proxy.h", 290 "message_loop/message_loop_proxy_impl.cc", 291 "message_loop/message_loop_proxy_impl.h", 292 "message_loop/message_pump.cc", 293 "message_loop/message_pump.h", [all …]
|
/external/chromium_org/chrome/service/cloud_print/ |
D | cloud_print_proxy_backend.cc | 177 core_thread_.message_loop()->PostTask( in InitializeWithToken() 189 core_thread_.message_loop()->PostTask( in InitializeWithRobotToken() 201 core_thread_.message_loop()->PostTask( in InitializeWithRobotAuthCode() 209 core_thread_.message_loop()->PostTask( in Shutdown() 217 core_thread_.message_loop()->PostTask( in UnregisterPrinters() 256 DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); in DoInitializeWithToken() 264 DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); in DoInitializeWithRobotToken() 272 DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); in DoInitializeWithRobotAuthCode() 309 DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); in OnInvalidCredentials() 336 DCHECK(base::MessageLoop::current() == backend_->core_thread_.message_loop()); in InitNotifications() [all …]
|
/external/chromium_org/base/debug/ |
D | trace_event_system_stats_monitor_unittest.cc | 32 MessageLoop message_loop; in TEST_F() local 40 message_loop.message_loop_proxy())); in TEST_F() 51 message_loop.RunUntilIdle(); in TEST_F() 56 message_loop.RunUntilIdle(); in TEST_F()
|