Home
last modified time | relevance | path

Searched refs:IsSingleThreaded (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/sandbox/linux/services/
Dthread_helpers_unittests.cc58 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
59 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded()); in TEST()
63 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
64 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded()); in TEST()
71 SANDBOX_ASSERT(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in SANDBOX_TEST()
72 SANDBOX_ASSERT(ThreadHelpers::IsSingleThreaded()); in SANDBOX_TEST()
80 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
87 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
95 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
103 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
[all …]
Dthread_helpers.cc109 return !ThreadHelpers::IsSingleThreaded(proc_fd); in IsMultiThreaded()
160 bool ThreadHelpers::IsSingleThreaded(int proc_fd) { in IsSingleThreaded() function in sandbox::ThreadHelpers
166 bool ThreadHelpers::IsSingleThreaded() { in IsSingleThreaded() function in sandbox::ThreadHelpers
168 return IsSingleThreaded(task_fd.get()); in IsSingleThreaded()
Dthread_helpers.h20 static bool IsSingleThreaded(int proc_fd);
21 static bool IsSingleThreaded();
Dscoped_process.cc41 CHECK(ThreadHelpers::IsSingleThreaded()); in ScopedProcess()
Dcredentials.cc204 CHECK(ThreadHelpers::IsSingleThreaded(proc_fd)); in SetCapabilities()
/external/libchrome/sandbox/linux/seccomp-bpf/
Dsandbox_bpf.cc41 bool IsSingleThreaded(int proc_fd) { in IsSingleThreaded() function
42 return ThreadHelpers::IsSingleThreaded(proc_fd); in IsSingleThreaded()
171 if (IsSingleThreaded(proc_fd_.get())) { in StartSandbox()