Home
last modified time | relevance | path

Searched refs:thread_checker (Results 1 – 21 of 21) sorted by relevance

/external/libchrome/base/threading/
Dthread_checker_unittest.cc45 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/
Dthread_checker_unittest.cc37 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 …]
Dthread_task_runner_unittest.cc46 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 …]
Dtask_runner_unittest.cc82 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()
DBUILD.gn48 "thread_checker.cc",
/external/libchrome/base/task_scheduler/
Dlazy_task_runner_unittest.cc50 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/
Dweak_ptr.h62 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)
DBUILD.gn44 "thread_checker.h",
/external/webrtc/rtc_base/task_utils/
DBUILD.gn19 "..:thread_checker",
38 "..:thread_checker",
/external/webrtc/api/test/
DDEPS17 "+rtc_base/thread_checker.h",
/external/webrtc/api/
DDEPS183 "+rtc_base/thread_checker.h",
266 "+rtc_base/thread_checker.h",
/external/webrtc/audio/voip/
DBUILD.gn98 "../../rtc_base:thread_checker",
/external/webrtc/rtc_base/
DBUILD.gn135 ":thread_checker",
205 ":thread_checker",
286 rtc_source_set("thread_checker") {
287 sources = [ "thread_checker.h" ]
/external/libchrome/libchrome_tools/patches/
Dlibchrome-Update-crypto.patch45 #include "base/threading/thread_checker.h"
Dfix-fd-watcher-leak.patch32 #include "base/threading/thread_checker.h"
/external/vulkan-validation-layers/layers/generated/
Dchassis.cpp440 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/
DBUILD.gn448 "../../src/base/threading/thread_checker.h",
/external/perfetto/
DBUILD323 "include/perfetto/ext/base/thread_checker.h",
617 "src/base/thread_checker.cc",
DAndroid.bp6685 "src/base/thread_checker.cc",
/external/libchrome/
DAndroid.bp438 "base/threading/thread_checker.h",
/external/webrtc/android_tools/
Dsorted_targets.txt13442 "//rtc_base:thread_checker",
13707 "//rtc_base:thread_checker",
16876 "//rtc_base:thread_checker",
18702 "//rtc_base:thread_checker",