Home
last modified time | relevance | path

Searched refs:CalledOnValidThread (Results 1 – 25 of 36) sorted by relevance

12

/external/perfetto/src/base/
Dthread_checker_unittest.cc38 ASSERT_TRUE(thread_checker.CalledOnValidThread()); in TEST()
40 [&thread_checker] { return thread_checker.CalledOnValidThread(); }); in TEST()
41 ASSERT_TRUE(thread_checker.CalledOnValidThread()); in TEST()
47 ASSERT_TRUE(thread_checker.CalledOnValidThread()); in TEST()
50 [&thread_checker] { return thread_checker.CalledOnValidThread(); }); in TEST()
52 ASSERT_FALSE(thread_checker.CalledOnValidThread()); in TEST()
58 ASSERT_TRUE(thread_checker.CalledOnValidThread()); in TEST()
59 ASSERT_TRUE(copied_thread_checker.CalledOnValidThread()); in TEST()
61 return copied_thread_checker.CalledOnValidThread(); in TEST()
67 return copied_thread_checker.CalledOnValidThread() && in TEST()
[all …]
Dthread_task_runner_unittest.cc50 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST_F()
54 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST_F()
72 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST_F()
84 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST_F()
106 ~DestructorThreadChecker() { EXPECT_TRUE(checker_.CalledOnValidThread()); } in ~DestructorThreadChecker()
123 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST_F()
Dthread_checker.cc53 bool ThreadChecker::CalledOnValidThread() const { in CalledOnValidThread() function in perfetto::base::ThreadChecker
/external/libchrome/base/threading/
Dthread_checker_unittest.cc50 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in ExpectCalledOnValidThread()
54 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in ExpectCalledOnValidThread()
59 EXPECT_FALSE(thread_checker->CalledOnValidThread()); in ExpectNotCalledOnValidThread()
76 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST()
96 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in TEST()
105 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST()
121 EXPECT_FALSE(thread_checker->CalledOnValidThread()); in TEST()
139 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST()
162 EXPECT_FALSE(thread_checker->CalledOnValidThread()); in TEST()
166 EXPECT_FALSE(thread_checker->CalledOnValidThread()); in TEST()
[all …]
Dthread_checker.h65 #define DCHECK_CALLED_ON_VALID_THREAD(name) DCHECK((name).CalledOnValidThread())
82 bool CalledOnValidThread() const WARN_UNUSED_RESULT { return true; } in CalledOnValidThread() function
Dthread_checker_impl.h27 bool CalledOnValidThread() const WARN_UNUSED_RESULT;
Dthread_checker_impl.cc18 bool ThreadCheckerImpl::CalledOnValidThread() const { in CalledOnValidThread() function in base::ThreadCheckerImpl
/external/libchrome/base/test/
Dtest_mock_time_task_runner.cc88 return thread_checker_.CalledOnValidThread(); in RunsTasksInCurrentSequence()
224 DCHECK(thread_checker_.CalledOnValidThread()); in FastForwardBy()
237 DCHECK(thread_checker_.CalledOnValidThread()); in RunUntilIdle()
242 DCHECK(thread_checker_.CalledOnValidThread()); in FastForwardUntilNoTasksRemain()
279 DCHECK(thread_checker_.CalledOnValidThread()); in DeprecatedGetMockClock()
284 DCHECK(thread_checker_.CalledOnValidThread()); in GetMockClock()
290 DCHECK(thread_checker_.CalledOnValidThread()); in DeprecatedGetMockTickClock()
295 DCHECK(thread_checker_.CalledOnValidThread()); in GetMockTickClock()
316 DCHECK(thread_checker_.CalledOnValidThread()); in HasPendingTask()
324 DCHECK(thread_checker_.CalledOnValidThread()); in GetPendingTaskCount()
[all …]
/external/libchrome/base/trace_event/
Dauto_open_close_event.cc24 DCHECK(thread_checker_.CalledOnValidThread()); in ~AutoOpenCloseEvent()
30 DCHECK(thread_checker_.CalledOnValidThread()); in Begin()
37 DCHECK(thread_checker_.CalledOnValidThread()); in End()
43 DCHECK(thread_checker_.CalledOnValidThread()); in OnTraceLogEnabled()
Dblame_context.cc34 DCHECK(thread_checker_.CalledOnValidThread()); in ~BlameContext()
59 DCHECK(thread_checker_.CalledOnValidThread()); in TakeSnapshot()
95 DCHECK(thread_checker_.CalledOnValidThread()); in Initialize()
/external/libchrome/crypto/
Dnss_util.cc266 DCHECK(thread_checker_.CalledOnValidThread()); in OpenPersistentNSSDBForPath()
281 DCHECK(thread_checker_.CalledOnValidThread()); in EnableTPMTokenForNSS()
290 DCHECK(thread_checker_.CalledOnValidThread()); in IsTPMTokenEnabledForNSS()
297 DCHECK(thread_checker_.CalledOnValidThread()); in InitializeTPMTokenAndSystemSlot()
367 DCHECK(thread_checker_.CalledOnValidThread()); in OnInitializedTPMTokenAndSystemSlot()
401 DCHECK(thread_checker_.CalledOnValidThread()); in IsTPMTokenReady()
402 } else if (!thread_checker_.CalledOnValidThread()) { in IsTPMTokenReady()
438 DCHECK(thread_checker_.CalledOnValidThread()); in InitializeNSSForChromeOSUser()
455 DCHECK(thread_checker_.CalledOnValidThread()); in ShouldInitializeTPMForChromeOSUser()
463 DCHECK(thread_checker_.CalledOnValidThread()); in WillInitializeTPMForChromeOSUser()
[all …]
/external/libchrome/base/task/sequence_manager/
Dtime_domain.cc17 DCHECK(main_thread_checker_.CalledOnValidThread()); in ~TimeDomain()
45 DCHECK(main_thread_checker_.CalledOnValidThread()); in UnregisterQueue()
55 DCHECK(main_thread_checker_.CalledOnValidThread()); in SetNextWakeUpForQueue()
101 DCHECK(main_thread_checker_.CalledOnValidThread()); in WakeUpReadyDelayedQueues()
113 DCHECK(main_thread_checker_.CalledOnValidThread()); in NextScheduledRunTime()
Dtask_queue_selector.cc60 DCHECK(main_thread_checker_.CalledOnValidThread()); in AddQueue()
66 DCHECK(main_thread_checker_.CalledOnValidThread()); in RemoveQueue()
73 DCHECK(main_thread_checker_.CalledOnValidThread()); in EnableQueue()
81 DCHECK(main_thread_checker_.CalledOnValidThread()); in DisableQueue()
89 DCHECK(main_thread_checker_.CalledOnValidThread()); in SetQueuePriority()
215 DCHECK(task_queue_selector_->main_thread_checker_.CalledOnValidThread()); in SelectWorkQueueToService()
292 DCHECK(main_thread_checker_.CalledOnValidThread()); in SelectWorkQueueToService()
363 DCHECK(main_thread_checker_.CalledOnValidThread()); in AsValueInto()
378 DCHECK(main_thread_checker_.CalledOnValidThread()); in AllEnabledWorkQueuesAreEmpty()
/external/libchrome/components/policy/core/common/
Dpolicy_service_impl.cc93 DCHECK(thread_checker_.CalledOnValidThread()); in ~PolicyServiceImpl()
100 DCHECK(thread_checker_.CalledOnValidThread()); in AddObserver()
109 DCHECK(thread_checker_.CalledOnValidThread()); in RemoveObserver()
123 DCHECK(thread_checker_.CalledOnValidThread()); in GetPolicies()
128 DCHECK(thread_checker_.CalledOnValidThread()); in IsInitializationComplete()
134 DCHECK(thread_checker_.CalledOnValidThread()); in RefreshPolicies()
178 DCHECK(thread_checker_.CalledOnValidThread()); in NotifyNamespaceUpdated()
239 DCHECK(thread_checker_.CalledOnValidThread()); in CheckInitializationComplete()
/external/libchrome/base/files/
Dfile_descriptor_watcher_posix.cc106 DCHECK(thread_checker_.CalledOnValidThread()); in ~Watcher()
111 DCHECK(thread_checker_.CalledOnValidThread()); in StartWatching()
131 DCHECK(thread_checker_.CalledOnValidThread()); in OnFileCanReadWithoutBlocking()
142 DCHECK(thread_checker_.CalledOnValidThread()); in OnFileCanWriteWithoutBlocking()
151 DCHECK(thread_checker_.CalledOnValidThread()); in WillDestroyCurrentMessageLoop()
/external/libchrome/ipc/
Dipc_message_pipe_reader.cc41 DCHECK(thread_checker_.CalledOnValidThread()); in ~MessagePipeReader()
46 DCHECK(thread_checker_.CalledOnValidThread()); in Close()
113 DCHECK(thread_checker_.CalledOnValidThread()); in GetAssociatedInterface()
119 DCHECK(thread_checker_.CalledOnValidThread()); in OnPipeError()
Dipc_mojo_bootstrap.cc124 DCHECK(thread_checker_.CalledOnValidThread()); in Bind()
189 DCHECK(thread_checker_.CalledOnValidThread()); in ShutDown()
654 DCHECK(thread_checker_.CalledOnValidThread()); in SendMessage()
680 DCHECK(thread_checker_.CalledOnValidThread()); in SendMessageOnMasterThread()
686 DCHECK(thread_checker_.CalledOnValidThread()); in OnPipeError()
783 DCHECK(thread_checker_.CalledOnValidThread()); in Accept()
907 DCHECK(thread_checker_.CalledOnValidThread()); in OnPeerAssociatedEndpointClosed()
/external/perfetto/include/perfetto/ext/base/
Dthread_checker.h46 bool CalledOnValidThread() const PERFETTO_WARN_UNUSED_RESULT;
57 PERFETTO_DCHECK((name).CalledOnValidThread())
/external/libchrome/base/task_scheduler/
Dlazy_task_runner_unittest.cc54 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in InitCheckers()
61 EXPECT_FALSE(thread_checker->CalledOnValidThread()); in ExpectSequencedEnvironment()
74 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in ExpectSingleThreadEnvironment()
/external/libchrome/base/metrics/
Dhistogram_delta_serialization.cc45 DCHECK(thread_checker_.CalledOnValidThread()); in PrepareAndSerializeDeltas()
71 DCHECK(thread_checker_.CalledOnValidThread()); in RecordDelta()
/external/libchrome/base/test/launcher/
Dtest_results_tracker.cc92 DCHECK(thread_checker_.CalledOnValidThread()); in ~TestResultsTracker()
158 DCHECK(thread_checker_.CalledOnValidThread()); in Init()
209 DCHECK(thread_checker_.CalledOnValidThread()); in OnTestIterationStarting()
235 DCHECK(thread_checker_.CalledOnValidThread()); in AddTestResult()
271 DCHECK(thread_checker_.CalledOnValidThread()); in PrintSummaryOfAllIterations()
Dunit_test_launcher.cc700 DCHECK(thread_checker_.CalledOnValidThread()); in ~UnitTestLauncherDelegate()
704 DCHECK(thread_checker_.CalledOnValidThread()); in GetTests()
710 DCHECK(thread_checker_.CalledOnValidThread()); in ShouldRunTest()
719 DCHECK(thread_checker_.CalledOnValidThread()); in RunTests()
/external/libchrome/base/debug/
Dthread_heap_usage_tracker.cc246 DCHECK(thread_checker_.CalledOnValidThread()); in ~ThreadHeapUsageTracker()
256 DCHECK(thread_checker_.CalledOnValidThread()); in Start()
270 DCHECK(thread_checker_.CalledOnValidThread()); in Stop()
/external/webrtc/rtc_base/
Dthread_checker.h23 RTC_DEPRECATED bool CalledOnValidThread() const { return IsCurrent(); } in CalledOnValidThread() function
/external/libchrome/base/
Dsequence_checker_impl.cc26 return thread_checker_.CalledOnValidThread(); in CalledOnValidSequence()

12