Home
last modified time | relevance | path

Searched refs:ui_task_runner_ (Results 1 – 25 of 65) sorted by relevance

123

/external/chromium_org/remoting/host/
Dchromoting_host_context.cc17 : ui_task_runner_(ui_task_runner) { in ChromotingHostContext()
23 ui_task_runner_, in ChromotingHostContext()
28 "ChromotingAudioThread", ui_task_runner_, base::MessageLoop::TYPE_IO); in ChromotingHostContext()
32 "ChromotingFileThread", ui_task_runner_, base::MessageLoop::TYPE_IO); in ChromotingHostContext()
34 "ChromotingInputThread", ui_task_runner_, base::MessageLoop::TYPE_IO); in ChromotingHostContext()
36 "ChromotingNetworkThread", ui_task_runner_, base::MessageLoop::TYPE_IO); in ChromotingHostContext()
38 AutoThread::Create("ChromotingCaptureThread", ui_task_runner_); in ChromotingHostContext()
40 "ChromotingEncodeThread", ui_task_runner_); in ChromotingHostContext()
89 return ui_task_runner_; in ui_task_runner()
Dhost_window_proxy.cc51 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; member in remoting::HostWindowProxy::Core
99 ui_task_runner_(ui_task_runner), in Core()
112 ui_task_runner_->PostTask( in Start()
120 ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::StopOnUiThread, this)); in Stop()
128 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in StartOnUiThread()
136 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in StopOnUiThread()
142 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in client_jid()
Dlocal_input_monitor_win.cc68 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; member in remoting::__anon8604f3050111::LocalInputMonitorWin::Core
103 ui_task_runner_(ui_task_runner), in Core()
111 ui_task_runner_->PostTask(FROM_HERE, in Start()
118 ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::StopOnUiThread, this)); in Stop()
126 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in StartOnUiThread()
143 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in StopOnUiThread()
161 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in OnInput()
Dcurtain_mode_mac.cc70 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; member in __anonca5226610111::SessionWatcher
85 ui_task_runner_(ui_task_runner), in SessionWatcher()
98 ui_task_runner_->PostTask( in Start()
106 ui_task_runner_->PostTask( in Stop()
174 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in InstallEventHandler()
193 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in RemoveEventHandler()
Dinput_injector_win.cc103 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; member in remoting::__anon971f88110111::InputInjectorWin::Core
149 ui_task_runner_(ui_task_runner), in Core()
154 if (!ui_task_runner_->BelongsToCurrentThread()) { in InjectClipboardEvent()
155 ui_task_runner_->PostTask( in InjectClipboardEvent()
196 if (!ui_task_runner_->BelongsToCurrentThread()) { in Start()
197 ui_task_runner_->PostTask( in Start()
207 if (!ui_task_runner_->BelongsToCurrentThread()) { in Stop()
208 ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::Stop, this)); in Stop()
Dbasic_desktop_environment.h61 return ui_task_runner_; in ui_task_runner()
77 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; variable
111 return ui_task_runner_; in ui_task_runner()
123 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; variable
Dlocal_input_monitor_mac.mm185 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
217 ui_task_runner_(ui_task_runner),
226 ui_task_runner_->PostTask(FROM_HERE,
233 ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::StopOnUiThread, this));
241 DCHECK(ui_task_runner_->BelongsToCurrentThread());
247 DCHECK(ui_task_runner_->BelongsToCurrentThread());
/external/chromium_org/remoting/host/win/
Drdp_client.cc75 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; member in remoting::RdpClient::Core
119 ui_task_runner_(ui_task_runner), in Core()
125 if (!ui_task_runner_->BelongsToCurrentThread()) { in Connect()
126 ui_task_runner_->PostTask( in Connect()
160 if (!ui_task_runner_->BelongsToCurrentThread()) { in Disconnect()
161 ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::Disconnect, this)); in Disconnect()
177 if (!ui_task_runner_->BelongsToCurrentThread()) { in InjectSas()
178 ui_task_runner_->PostTask(FROM_HERE, base::Bind(&Core::InjectSas, this)); in InjectSas()
187 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in OnConnected()
194 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in OnDisconnected()
[all …]
/external/chromium_org/media/base/
Duser_input_monitor_win.cc62 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; member in media::__anon5c3506510111::UserInputMonitorWinCore
90 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; member in media::__anon5c3506510111::UserInputMonitorWin
99 : ui_task_runner_(ui_task_runner), in UserInputMonitorWinCore()
109 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in WillDestroyCurrentMessageLoop()
119 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in StartMonitor()
154 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in StopMonitor()
177 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in OnInput()
227 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in HandleMessage()
241 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in GetRawInputDevices()
265 : ui_task_runner_(ui_task_runner), in UserInputMonitorWin()
[all …]
/external/chromium_org/media/video/capture/linux/
Dvideo_capture_device_chromeos.cc26 ui_task_runner_(ui_task_runner), in ScreenObserverDelegate()
28 ui_task_runner_->PostTask( in ScreenObserverDelegate()
36 ui_task_runner_->PostTask( in RemoveObserver()
52 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in OnDisplayMetricsChanged()
59 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in AddObserverOnUIThread()
69 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in RemoveObserverOnUIThread()
78 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in SendDisplayRotation()
92 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; member in media::VideoCaptureDeviceChromeOS::ScreenObserverDelegate
/external/chromium_org/device/bluetooth/
Dbluetooth_task_manager_win_unittest.cc64 : ui_task_runner_(new base::TestSimpleTaskRunner()), in BluetoothTaskManagerWinTest()
66 task_manager_(new BluetoothTaskManagerWin(ui_task_runner_)), in BluetoothTaskManagerWinTest()
84 scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_; member in device::BluetoothTaskManagerWinTest
112 ui_task_runner_->RunPendingTasks(); in TEST_F()
126 EXPECT_TRUE(ui_task_runner_->GetPendingTasks().size() >= 1); in TEST_F()
137 ui_task_runner_->RunPendingTasks(); in TEST_F()
141 ui_task_runner_->RunPendingTasks(); in TEST_F()
Dbluetooth_task_manager_win.cc139 : ui_task_runner_(ui_task_runner), in BluetoothTaskManagerWin()
149 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in AddObserver()
155 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in RemoveObserver()
160 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in Initialize()
171 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in InitializeWithBluetoothTaskRunner()
188 ui_task_runner_->PostTask( in StartPolling()
197 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in Shutdown()
206 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in PostSetPoweredBluetoothTask()
217 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in PostStartDiscoveryTask()
224 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in PostStopDiscoveryTask()
[all …]
Dbluetooth_adapter_win_unittest.cc112 : ui_task_runner_(new base::TestSimpleTaskRunner()), in BluetoothAdapterWinTest()
119 adapter_win_->InitForTest(ui_task_runner_, bluetooth_task_runner_); in BluetoothAdapterWinTest()
167 scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_; member in device::BluetoothAdapterWinTest
233 EXPECT_TRUE(ui_task_runner_->GetPendingTasks().empty()); in TEST_F()
238 ui_task_runner_->RunPendingTasks(); in TEST_F()
251 ui_task_runner_->RunPendingTasks(); in TEST_F()
268 EXPECT_TRUE(ui_task_runner_->GetPendingTasks().empty()); in TEST_F()
272 ui_task_runner_->RunPendingTasks(); in TEST_F()
288 ui_task_runner_->RunPendingTasks(); in TEST_F()
300 ui_task_runner_->RunPendingTasks(); in TEST_F()
[all …]
Dbluetooth_socket_net.cc44 : ui_task_runner_(ui_task_runner), in BluetoothSocketNet()
52 ui_task_runner_->PostTask(FROM_HERE, in ~BluetoothSocketNet()
57 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in Close()
64 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in Disconnect()
79 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in Receive()
99 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in Send()
127 ui_task_runner_->PostTask(FROM_HERE, callback); in PostSuccess()
133 ui_task_runner_->PostTask(FROM_HERE, base::Bind(callback, error)); in PostErrorCompletion()
292 ui_task_runner_->PostTask(FROM_HERE, in PostReceiveCompletion()
300 ui_task_runner_->PostTask(FROM_HERE, in PostReceiveErrorCompletion()
[all …]
Dbluetooth_adapter_win.cc124 ui_task_runner_->PostTask(FROM_HERE, iter->first); in DiscoveryStarted()
126 ui_task_runner_->PostTask(FROM_HERE, iter->second); in DiscoveryStarted()
152 ui_task_runner_->PostTask(FROM_HERE, *iter); in DiscoveryStopped()
171 ui_task_runner_, socket_thread_); in CreateRfcommService()
263 ui_task_runner_, in DevicesPolled()
312 ui_task_runner_ = base::ThreadTaskRunnerHandle::Get(); in Init()
315 new BluetoothTaskManagerWin(ui_task_runner_); in Init()
323 ui_task_runner_ = ui_task_runner; in InitForTest()
325 new BluetoothTaskManagerWin(ui_task_runner_); in InitForTest()
347 ui_task_runner_->PostTask(FROM_HERE, *iter); in MaybePostStopDiscoveryTask()
Dbluetooth_adapter_mac_unittest.mm16 : ui_task_runner_(new base::TestSimpleTaskRunner()),
19 adapter_mac_->InitForTest(ui_task_runner_);
23 scoped_refptr<base::TestSimpleTaskRunner> ui_task_runner_;
29 EXPECT_FALSE(ui_task_runner_->GetPendingTasks().empty());
/external/chromium_org/media/base/android/
Dmedia_decoder_job.cc28 ui_task_runner_(base::MessageLoopProxy::current()), in MediaDecoderJob()
57 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in OnDataReceived()
99 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in Prefetch()
105 ui_task_runner_->PostTask(FROM_HERE, prefetch_cb); in Prefetch()
119 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in Decode()
150 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in StopDecode()
166 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in Flush()
185 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in BeginPrerolling()
194 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in ReleaseDecoderResources()
215 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in Release()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/local/
Dlocal_file_sync_context.cc54 ui_task_runner_(ui_task_runner), in LocalFileSyncContext()
60 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in LocalFileSyncContext()
67 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in MaybeInitializeFileSystemContext()
71 ui_task_runner_->PostTask(FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); in MaybeInitializeFileSystemContext()
102 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in ShutdownOnUIThread()
113 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in GetFileForLocalSync()
132 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in ClearChangesForURL()
148 ui_task_runner_->PostTask(FROM_HERE, done_callback); in ClearChangesForURL()
189 ui_task_runner_->PostTask(FROM_HERE, done_callback); in FinalizeSnapshotSync()
226 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in PrepareForSync()
[all …]
Dlocal_file_sync_context_unittest.cc68 ui_task_runner_ = base::MessageLoop::current()->message_loop_proxy(); in SetUp()
128 ASSERT_TRUE(ui_task_runner_->RunsTasksOnCurrentThread()); in DidPrepareForSync()
180 ASSERT_TRUE(ui_task_runner_->RunsTasksOnCurrentThread()); in StartModifyFileOnIOThread()
201 if (!ui_task_runner_->RunsTasksOnCurrentThread()) { in DidModifyFile()
203 ui_task_runner_->PostTask( in DidModifyFile()
209 ASSERT_TRUE(ui_task_runner_->RunsTasksOnCurrentThread()); in DidModifyFile()
239 ui_task_runner_.get(), io_task_runner_.get()); in PrepareForSync_Basic()
291 ui_task_runner_.get(), io_task_runner_.get()); in PrepareForSync_WriteDuringSync()
354 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; member in sync_file_system::LocalFileSyncContextTest
369 ui_task_runner_.get(), io_task_runner_.get()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dremote_change_processor_on_worker.cc24 ui_task_runner_(ui_task_runner), in RemoteChangeProcessorOnWorker()
38 ui_task_runner_->PostTask( in PrepareForProcessRemoteChange()
54 ui_task_runner_->PostTask( in ApplyRemoteChange()
71 ui_task_runner_->PostTask( in FinalizeRemoteSync()
88 ui_task_runner_->PostTask( in RecordFakeLocalChange()
Ddrive_service_on_worker.cc25 ui_task_runner_(ui_task_runner), in DriveServiceOnWorker()
39 ui_task_runner_->PostTask( in AddNewDirectory()
58 ui_task_runner_->PostTask( in DeleteResource()
78 ui_task_runner_->PostTask( in DownloadFile()
99 ui_task_runner_->PostTask( in GetAboutResource()
114 ui_task_runner_->PostTask( in GetChangeList()
130 ui_task_runner_->PostTask( in GetRemainingChangeList()
152 ui_task_runner_->PostTask( in GetRemainingFileList()
169 ui_task_runner_->PostTask( in GetFileResource()
185 ui_task_runner_->PostTask( in GetFileListInDirectory()
[all …]
Dsync_engine.cc87 : ui_task_runner_(ui_task_runner), in WorkerObserver()
97 if (ui_task_runner_->RunsTasksOnCurrentThread()) { in OnPendingFileListUpdated()
104 ui_task_runner_->PostTask( in OnPendingFileListUpdated()
115 if (ui_task_runner_->RunsTasksOnCurrentThread()) { in OnFileStatusChanged()
123 ui_task_runner_->PostTask( in OnFileStatusChanged()
132 if (ui_task_runner_->RunsTasksOnCurrentThread()) { in UpdateServiceState()
139 ui_task_runner_->PostTask( in UpdateServiceState()
150 scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; member in sync_file_system::drive_backend::SyncEngine::WorkerObserver
320 ui_task_runner_.get(), in InitializeInternal()
324 ui_task_runner_.get(), in InitializeInternal()
[all …]
Ddrive_uploader_on_worker.cc24 ui_task_runner_(ui_task_runner), in DriveUploaderOnWorker()
41 ui_task_runner_->PostTask( in UploadNewFile()
65 ui_task_runner_->PostTask( in UploadExistingFile()
/external/chromium_org/remoting/client/jni/
Dchromoting_jni_runtime.cc186 ui_task_runner_ = new AutoThreadTaskRunner(ui_loop_->message_loop_proxy(), in ChromotingJniRuntime()
189 ui_task_runner_, in ChromotingJniRuntime()
192 ui_task_runner_); in ChromotingJniRuntime()
203 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in ~ChromotingJniRuntime()
231 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in ConnectToHost()
245 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in DisconnectFromHost()
255 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in OnConnectionState()
262 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in DisplayAuthenticationPrompt()
271 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in CommitPairingCredentials()
285 DCHECK(ui_task_runner_->BelongsToCurrentThread()); in FetchThirdPartyToken()
[all …]
/external/chromium_org/ui/events/ozone/evdev/
Devent_factory_evdev.cc156 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in AttachInputDevice()
184 ui_task_runner_, in OnDeviceEvent()
201 if (!ui_task_runner_.get()) { in OnDispatcherListChanged()
202 ui_task_runner_ = base::ThreadTaskRunnerHandle::Get(); in OnDispatcherListChanged()
211 DCHECK(ui_task_runner_->RunsTasksOnCurrentThread()); in DetachInputDevice()

123