Searched refs:ScopedProcess (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/sandbox/linux/services/ |
D | scoped_process_unittest.cc | 40 TEST(ScopedProcess, ScopedProcessNormalExit) { in TEST() argument 42 ScopedProcess process(base::Bind(&ExitWithCode, kCustomExitCode)); in TEST() 57 TEST(ScopedProcess, DISABLE_ON_ANDROID(ScopedProcessAbort)) { in TEST() argument 59 ScopedProcess process(base::Bind(&RaiseAndExit, SIGABRT)); in TEST() 66 TEST(ScopedProcess, ScopedProcessSignaled) { in TEST() argument 67 ScopedProcess process(base::Bind(&DoNothing)); in TEST() 75 TEST(ScopedProcess, DiesForReal) { in TEST() argument 81 { ScopedProcess process(base::Bind(&DoExit)); } in TEST() 94 TEST(ScopedProcess, SynchronizationBasic) { in TEST() argument 95 ScopedProcess process1(base::Bind(&DoNothing)); in TEST() [all …]
|
D | scoped_process.cc | 36 ScopedProcess::ScopedProcess(const base::Closure& child_callback) in ScopedProcess() function in sandbox::ScopedProcess 61 ScopedProcess::~ScopedProcess() { in ~ScopedProcess() 78 int ScopedProcess::WaitForExit(bool* got_signaled) { in WaitForExit() 99 bool ScopedProcess::WaitForClosureToRun() { in WaitForClosureToRun() 113 bool ScopedProcess::IsOriginalProcess() { in IsOriginalProcess()
|
D | scoped_process.h | 22 class SANDBOX_EXPORT ScopedProcess { 27 explicit ScopedProcess(const base::Closure& child_callback); 28 ~ScopedProcess(); 50 DISALLOW_COPY_AND_ASSIGN(ScopedProcess);
|
D | yama_unittests.cc | 50 ScopedProcess process(base::Bind(&ExitZeroIfCanPtrace, pid)); in CanSubProcessPtrace() 115 ScopedProcess process1(base::Bind(&SetYamaRestrictions, true)); in TEST() 128 ScopedProcess process2(base::Bind(&SetYamaRestrictions, false)); in TEST() 141 ScopedProcess process1(base::Bind(&DoNothing)); in SANDBOX_TEST()
|