Home
last modified time | relevance | path

Searched refs:isRunning (Results 1 – 9 of 9) sorted by relevance

/system/core/libsysutils/src/
DServiceManager.cpp54 if (isRunning(name)) { in start()
66 if (isRunning(name)) in start()
84 if (!isRunning(name)) { in stop()
96 if (!isRunning(name)) in stop()
109 bool ServiceManager::isRunning(const char *name) { in isRunning() function in ServiceManager
/system/extras/libperfmgr/tests/
DNodeLooperThreadTest.cc68 EXPECT_TRUE(th->isRunning()); in TEST_F()
72 EXPECT_FALSE(th->isRunning()); in TEST_F()
78 EXPECT_TRUE(th->isRunning()); in TEST_F()
94 EXPECT_FALSE(th->isRunning()); in TEST_F()
100 EXPECT_TRUE(th->isRunning()); in TEST_F()
125 EXPECT_FALSE(th->isRunning()); in TEST_F()
131 EXPECT_TRUE(th->isRunning()); in TEST_F()
145 EXPECT_FALSE(th->isRunning()); in TEST_F()
151 EXPECT_TRUE(th->isRunning()); in TEST_F()
187 EXPECT_FALSE(th->isRunning()); in TEST_F()
/system/extras/libperfmgr/
DNodeLooperThread.cc33 if (!::android::Thread::isRunning()) { in Request()
72 if (!::android::Thread::isRunning()) { in Cancel()
133 if (::android::Thread::isRunning()) { in Stop()
DHintManager.cc76 return (nm_.get() == nullptr) ? false : nm_->isRunning(); in IsRunning()
/system/core/libsysutils/include/sysutils/
DServiceManager.h27 bool isRunning(const char *name);
/system/core/libutils/include/utils/
DThread.h74 bool isRunning() const;
/system/netd/server/
DTcpSocketMonitor.h88 bool isRunning();
DTcpSocketMonitor.cpp272 bool TcpSocketMonitor::isRunning() { in isRunning() function in android::net::TcpSocketMonitor
327 while (isRunning()) { in TcpSocketMonitor()
/system/core/libutils/
DThreads.cpp827 bool Thread::isRunning() const { in isRunning() function in android::Thread