Home
last modified time | relevance | path

Searched refs:CurrentUIThread (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/cronet/base/task/
H A Dcurrent_thread.cc124 CurrentUIThread CurrentUIThread::Get() { in Get()
133 return CurrentUIThread(sequence_manager); in Get()
137 bool CurrentUIThread::IsSet() { in IsSet()
149 MessagePumpForUI* CurrentUIThread::GetMessagePumpForUI() const { in GetMessagePumpForUI()
154 bool CurrentUIThread::WatchFileDescriptor( in WatchFileDescriptor()
167 void CurrentUIThread::Attach() { in Attach()
173 void CurrentUIThread::Abort() { in Abort()
179 void CurrentUIThread::AddMessagePumpObserver( in AddMessagePumpObserver()
184 void CurrentUIThread::RemoveMessagePumpObserver( in RemoveMessagePumpObserver()
H A Dcurrent_thread.h235 class BASE_EXPORT CurrentUIThread : public CurrentThread {
239 static CurrentUIThread Get();
244 CurrentUIThread* operator->() { return this; }
280 explicit CurrentUIThread( in CurrentUIThread() function
/aosp_15_r20/external/cronet/components/metrics/structured/
H A Dstructured_metrics_recorder.cc46 DCHECK(base::CurrentUIThread::IsSet()); in EnableRecording()
56 DCHECK(base::CurrentUIThread::IsSet()); in DisableRecording()
98 DCHECK(base::CurrentUIThread::IsSet()); in OnKeyReady()
129 DCHECK(base::CurrentUIThread::IsSet()); in OnEventRecord()
H A Drecorder.cc43 DCHECK(base::CurrentUIThread::IsSet()); in RecordEvent()
/aosp_15_r20/external/cronet/base/power_monitor/
H A Dpower_monitor_device_source_win.cc62 if (!CurrentUIThread::IsSet()) { in PlatformInit()
96 if (!CurrentUIThread::IsSet()) { in PowerMessageWindow()
/aosp_15_r20/external/cronet/base/test/android/
H A Djava_handler_thread_helpers.cc27 base::CurrentUIThread::Get()->Abort(); in ThrowExceptionAndAbort()
/aosp_15_r20/external/cronet/base/threading/
H A Dplatform_thread.cc31 else if (CurrentUIThread::IsSet()) { in SetCurrentThreadType()
/aosp_15_r20/external/cronet/base/test/
H A Dtask_environment_unittest.cc354 EXPECT_FALSE(CurrentUIThread::IsSet()); in TEST_F()
359 EXPECT_FALSE(CurrentUIThread::IsSet()); in TEST_F()
365 EXPECT_TRUE(CurrentUIThread::IsSet()); in TEST_F()
371 EXPECT_FALSE(CurrentUIThread::IsSet()); in TEST_F()
375 EXPECT_FALSE(CurrentUIThread::IsSet()); in TEST_F()