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.cc59 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
60 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded()); in TEST()
64 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
65 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded()); in TEST()
72 SANDBOX_ASSERT(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in SANDBOX_TEST()
73 SANDBOX_ASSERT(ThreadHelpers::IsSingleThreaded()); in SANDBOX_TEST()
81 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
88 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
96 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(proc_fd.fd())); in TEST()
104 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.cc42 bool IsSingleThreaded(int proc_fd) { in IsSingleThreaded() function
43 return ThreadHelpers::IsSingleThreaded(proc_fd); in IsSingleThreaded()
172 if (IsSingleThreaded(proc_fd_.get())) { in StartSandbox()