/external/perfetto/src/base/ |
D | thread_checker_unittest.cc | 38 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 …]
|
D | thread_task_runner_unittest.cc | 50 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()
|
D | thread_checker.cc | 53 bool ThreadChecker::CalledOnValidThread() const { in CalledOnValidThread() function in perfetto::base::ThreadChecker
|
/external/libchrome/base/threading/ |
D | thread_checker_unittest.cc | 50 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 …]
|
D | thread_checker.h | 65 #define DCHECK_CALLED_ON_VALID_THREAD(name) DCHECK((name).CalledOnValidThread()) 82 bool CalledOnValidThread() const WARN_UNUSED_RESULT { return true; } in CalledOnValidThread() function
|
D | thread_checker_impl.h | 27 bool CalledOnValidThread() const WARN_UNUSED_RESULT;
|
D | thread_checker_impl.cc | 18 bool ThreadCheckerImpl::CalledOnValidThread() const { in CalledOnValidThread() function in base::ThreadCheckerImpl
|
/external/libchrome/base/test/ |
D | test_mock_time_task_runner.cc | 88 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/ |
D | auto_open_close_event.cc | 24 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()
|
D | blame_context.cc | 34 DCHECK(thread_checker_.CalledOnValidThread()); in ~BlameContext() 59 DCHECK(thread_checker_.CalledOnValidThread()); in TakeSnapshot() 95 DCHECK(thread_checker_.CalledOnValidThread()); in Initialize()
|
/external/libchrome/crypto/ |
D | nss_util.cc | 266 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/ |
D | time_domain.cc | 17 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()
|
D | task_queue_selector.cc | 60 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/ |
D | policy_service_impl.cc | 93 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/ |
D | file_descriptor_watcher_posix.cc | 106 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/ |
D | ipc_message_pipe_reader.cc | 41 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()
|
D | ipc_mojo_bootstrap.cc | 124 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/ |
D | thread_checker.h | 46 bool CalledOnValidThread() const PERFETTO_WARN_UNUSED_RESULT; 57 PERFETTO_DCHECK((name).CalledOnValidThread())
|
/external/libchrome/base/task_scheduler/ |
D | lazy_task_runner_unittest.cc | 54 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/ |
D | histogram_delta_serialization.cc | 45 DCHECK(thread_checker_.CalledOnValidThread()); in PrepareAndSerializeDeltas() 71 DCHECK(thread_checker_.CalledOnValidThread()); in RecordDelta()
|
/external/libchrome/base/test/launcher/ |
D | test_results_tracker.cc | 92 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()
|
D | unit_test_launcher.cc | 700 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/ |
D | thread_heap_usage_tracker.cc | 246 DCHECK(thread_checker_.CalledOnValidThread()); in ~ThreadHeapUsageTracker() 256 DCHECK(thread_checker_.CalledOnValidThread()); in Start() 270 DCHECK(thread_checker_.CalledOnValidThread()); in Stop()
|
/external/webrtc/rtc_base/ |
D | thread_checker.h | 23 RTC_DEPRECATED bool CalledOnValidThread() const { return IsCurrent(); } in CalledOnValidThread() function
|
/external/libchrome/base/ |
D | sequence_checker_impl.cc | 26 return thread_checker_.CalledOnValidThread(); in CalledOnValidSequence()
|