Home
last modified time | relevance | path

Searched refs:ProcessExists (Results 1 – 3 of 3) sorted by relevance

/external/libbrillo/brillo/
Dprocess_test.cc339 TEST_F(ProcessTest, ProcessExists) { in TEST_F() argument
340 EXPECT_FALSE(Process::ProcessExists(0)); in TEST_F()
341 EXPECT_TRUE(Process::ProcessExists(1)); in TEST_F()
342 EXPECT_TRUE(Process::ProcessExists(getpid())); in TEST_F()
Dprocess.h159 static bool ProcessExists(pid_t pid);
Dprocess.cc46 bool Process::ProcessExists(pid_t pid) { in ProcessExists() function in brillo::Process