Searched refs:ProcessExists (Results 1 – 3 of 3) sorted by relevance
339 TEST_F(ProcessTest, ProcessExists) { in TEST_F() argument340 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()
159 static bool ProcessExists(pid_t pid);
46 bool Process::ProcessExists(pid_t pid) { in ProcessExists() function in brillo::Process