Searched refs:thread_checker (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/base/threading/ |
D | thread_checker_unittest.cc | 43 void ExpectCalledOnValidThread(ThreadCheckerImpl* thread_checker) { in ExpectCalledOnValidThread() argument 44 ASSERT_TRUE(thread_checker); in ExpectCalledOnValidThread() 48 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in ExpectCalledOnValidThread() 52 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in ExpectCalledOnValidThread() 55 void ExpectNotCalledOnValidThread(ThreadCheckerImpl* thread_checker) { in ExpectNotCalledOnValidThread() argument 56 ASSERT_TRUE(thread_checker); in ExpectNotCalledOnValidThread() 57 EXPECT_FALSE(thread_checker->CalledOnValidThread()); in ExpectNotCalledOnValidThread() 61 ThreadCheckerImpl* thread_checker, in ExpectNotCalledOnValidThreadWithSequenceTokenAndThreadTaskRunnerHandle() argument 67 ExpectNotCalledOnValidThread(thread_checker); in ExpectNotCalledOnValidThreadWithSequenceTokenAndThreadTaskRunnerHandle() 73 ThreadCheckerImpl thread_checker; in TEST() local [all …]
|
/external/perfetto/src/base/ |
D | thread_checker_unittest.cc | 46 ThreadChecker thread_checker; in TEST() local 47 ASSERT_TRUE(thread_checker.CalledOnValidThread()); in TEST() 48 void* res = RunOnThread([&thread_checker]() -> void* { in TEST() 49 return thread_checker.CalledOnValidThread() ? kTrue : kFalse; in TEST() 51 ASSERT_TRUE(thread_checker.CalledOnValidThread()); in TEST() 56 ThreadChecker thread_checker; in TEST() local 57 ASSERT_TRUE(thread_checker.CalledOnValidThread()); in TEST() 58 thread_checker.DetachFromThread(); in TEST() 59 void* res = RunOnThread([&thread_checker]() -> void* { in TEST() 60 return thread_checker.CalledOnValidThread() ? kTrue : kFalse; in TEST() [all …]
|
D | task_runner_unittest.cc | 114 ThreadChecker thread_checker; in TYPED_TEST() local 116 std::thread thread([&task_runner, &counter, &thread_checker] { in TYPED_TEST() 117 task_runner.PostTask([&thread_checker] { in TYPED_TEST() 118 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TYPED_TEST()
|
D | BUILD.gn | 31 "thread_checker.cc",
|
/external/perfetto/include/perfetto/base/ |
D | weak_ptr.h | 62 PERFETTO_DCHECK_THREAD(thread_checker); in get() 75 PERFETTO_THREAD_CHECKER(thread_checker) 82 PERFETTO_DCHECK_THREAD(thread_checker); 85 PERFETTO_DCHECK_THREAD(thread_checker); in ~WeakPtrFactory() 90 PERFETTO_DCHECK_THREAD(thread_checker); in GetWeakPtr() 99 PERFETTO_THREAD_CHECKER(thread_checker)
|
D | BUILD.gn | 26 "thread_checker.h",
|
/external/webrtc/webrtc/base/ |
D | BUILD.gn | 152 "thread_checker.h",
|
D | base.gyp | 122 'thread_checker.h',
|
/external/perfetto/ |
D | Android.bp | 37 "src/base/thread_checker.cc", 147 "src/base/thread_checker.cc", 278 "src/base/thread_checker.cc", 3431 "src/base/thread_checker.cc", 3607 "src/base/thread_checker.cc",
|