Searched refs:thread_checker (Results 1 – 12 of 12) sorted by relevance
/external/libchrome/base/threading/ |
D | thread_checker_unittest.cc | 45 void ExpectCalledOnValidThread(ThreadCheckerImpl* thread_checker) { in ExpectCalledOnValidThread() argument 46 ASSERT_TRUE(thread_checker); in ExpectCalledOnValidThread() 50 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in ExpectCalledOnValidThread() 54 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in ExpectCalledOnValidThread() 57 void ExpectNotCalledOnValidThread(ThreadCheckerImpl* thread_checker) { in ExpectNotCalledOnValidThread() argument 58 ASSERT_TRUE(thread_checker); in ExpectNotCalledOnValidThread() 59 EXPECT_FALSE(thread_checker->CalledOnValidThread()); in ExpectNotCalledOnValidThread() 63 ThreadCheckerImpl* thread_checker, in ExpectNotCalledOnValidThreadWithSequenceTokenAndThreadTaskRunnerHandle() argument 69 ExpectNotCalledOnValidThread(thread_checker); in ExpectNotCalledOnValidThreadWithSequenceTokenAndThreadTaskRunnerHandle() 75 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 | thread_task_runner_unittest.cc | 46 ThreadChecker thread_checker; in TEST_F() local 47 task_runner.get()->PostTask([&thread_checker] { in TEST_F() 49 thread_checker.DetachFromThread(); in TEST_F() 50 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST_F() 52 task_runner.get()->PostTask([this, &thread_checker] { in TEST_F() 54 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST_F() 68 ThreadChecker thread_checker; in TEST_F() local 69 task_runner.get()->PostTask([&thread_checker] { in TEST_F() 71 thread_checker.DetachFromThread(); in TEST_F() 72 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST_F() [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 | 33 "thread_checker.cc",
|
/external/libchrome/base/task_scheduler/ |
D | lazy_task_runner_unittest.cc | 50 ThreadCheckerImpl* thread_checker) { in InitCheckers() argument 53 thread_checker->DetachFromThread(); in InitCheckers() 54 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in InitCheckers() 58 ThreadCheckerImpl* thread_checker, in ExpectSequencedEnvironment() argument 61 EXPECT_FALSE(thread_checker->CalledOnValidThread()); in ExpectSequencedEnvironment() 66 ThreadCheckerImpl* thread_checker, in ExpectSingleThreadEnvironment() argument 74 EXPECT_TRUE(thread_checker->CalledOnValidThread()); in ExpectSingleThreadEnvironment() 96 ThreadCheckerImpl thread_checker; in TestTaskRunnerEnvironment() local 99 Unretained(&thread_checker))); in TestTaskRunnerEnvironment() 106 Unretained(&thread_checker), expected_priority in TestTaskRunnerEnvironment() [all …]
|
/external/perfetto/include/perfetto/base/ |
D | weak_ptr.h | 62 PERFETTO_DCHECK_THREAD(thread_checker); in get() 75 PERFETTO_THREAD_CHECKER(thread_checker) 83 PERFETTO_DCHECK_THREAD(thread_checker); 87 PERFETTO_DCHECK_THREAD(thread_checker); in ~WeakPtrFactory() 101 PERFETTO_THREAD_CHECKER(thread_checker)
|
D | BUILD.gn | 42 "thread_checker.h",
|
/external/perfetto/ |
D | BUILD | 52 "src/base/thread_checker.cc", 89 "include/perfetto/base/thread_checker.h", 142 "src/base/thread_checker.cc", 288 "include/perfetto/base/thread_checker.h", 363 "include/perfetto/base/thread_checker.h", 395 "src/base/thread_checker.cc", 571 "include/perfetto/base/thread_checker.h", 603 "src/base/thread_checker.cc",
|
D | Android.bp | 64 "src/base/thread_checker.cc", 180 "src/base/thread_checker.cc", 247 "src/base/thread_checker.cc", 441 "src/base/thread_checker.cc", 617 "src/base/thread_checker.cc", 2698 "src/base/thread_checker.cc", 2946 "src/base/thread_checker.cc", 3238 "src/base/thread_checker.cc", 3431 "src/base/thread_checker.cc",
|
/external/webrtc/webrtc/base/ |
D | BUILD.gn | 152 "thread_checker.h",
|
D | base.gyp | 122 'thread_checker.h',
|