/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 | 37 ThreadChecker thread_checker; in TEST() local 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() 46 ThreadChecker thread_checker; in TEST() local 47 ASSERT_TRUE(thread_checker.CalledOnValidThread()); in TEST() 48 thread_checker.DetachFromThread(); in TEST() 50 [&thread_checker] { return thread_checker.CalledOnValidThread(); }); in TEST() 52 ASSERT_FALSE(thread_checker.CalledOnValidThread()); in TEST() 56 ThreadChecker thread_checker; in TEST() local [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 | 82 ThreadChecker thread_checker; in TEST_F() local 84 std::thread thread([&task_runner, &counter, &thread_checker] { in TEST_F() 85 task_runner.PostTask([&thread_checker] { in TEST_F() 86 EXPECT_TRUE(thread_checker.CalledOnValidThread()); in TEST_F()
|
D | BUILD.gn | 48 "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/ext/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_DETACH_FROM_THREAD(thread_checker); in Reset() 102 PERFETTO_DCHECK_THREAD(thread_checker); in Reset() 115 PERFETTO_THREAD_CHECKER(thread_checker)
|
D | BUILD.gn | 44 "thread_checker.h",
|
/external/webrtc/rtc_base/task_utils/ |
D | BUILD.gn | 19 "..:thread_checker", 38 "..:thread_checker",
|
/external/webrtc/api/test/ |
D | DEPS | 17 "+rtc_base/thread_checker.h",
|
/external/webrtc/api/ |
D | DEPS | 183 "+rtc_base/thread_checker.h", 266 "+rtc_base/thread_checker.h",
|
/external/webrtc/audio/voip/ |
D | BUILD.gn | 98 "../../rtc_base:thread_checker",
|
/external/webrtc/rtc_base/ |
D | BUILD.gn | 135 ":thread_checker", 205 ":thread_checker", 286 rtc_source_set("thread_checker") { 287 sources = [ "thread_checker.h" ]
|
/external/libchrome/libchrome_tools/patches/ |
D | libchrome-Update-crypto.patch | 45 #include "base/threading/thread_checker.h"
|
D | fix-fd-watcher-leak.patch | 32 #include "base/threading/thread_checker.h"
|
/external/vulkan-validation-layers/layers/generated/ |
D | chassis.cpp | 440 auto thread_checker = new ThreadSafety; in CreateInstance() local 442 local_object_dispatch.emplace_back(thread_checker); in CreateInstance() 444 thread_checker->container_type = LayerObjectTypeThreading; in CreateInstance() 445 thread_checker->api_version = api_version; in CreateInstance() 519 thread_checker->report_data = framework->report_data; in CreateInstance() 520 thread_checker->instance_dispatch_table = framework->instance_dispatch_table; in CreateInstance() 521 thread_checker->enabled = framework->enabled; in CreateInstance() 522 thread_checker->disabled = framework->disabled; in CreateInstance()
|
/external/openscreen/third_party/chromium_quic/build/base/ |
D | BUILD.gn | 448 "../../src/base/threading/thread_checker.h",
|
/external/perfetto/ |
D | BUILD | 323 "include/perfetto/ext/base/thread_checker.h", 617 "src/base/thread_checker.cc",
|
D | Android.bp | 6685 "src/base/thread_checker.cc",
|
/external/libchrome/ |
D | Android.bp | 438 "base/threading/thread_checker.h",
|
/external/webrtc/android_tools/ |
D | sorted_targets.txt | 13442 "//rtc_base:thread_checker", 13707 "//rtc_base:thread_checker", 16876 "//rtc_base:thread_checker", 18702 "//rtc_base:thread_checker",
|