Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesRestoreControllerTest.cpp63 pid_t getIpRestorePid(const IptablesRestoreController::IptablesProcessType type) { in getIpRestorePid() function in IptablesRestoreControllerTest
64 return con.getIpRestorePid(type); in getIpRestorePid()
153 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
154 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()
164 EXPECT_EQ(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
165 EXPECT_EQ(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
186 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
187 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()
199 EXPECT_NE(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
200 EXPECT_NE(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
DIptablesRestoreController.h54 pid_t getIpRestorePid(const IptablesProcessType type);
DIptablesRestoreController.cpp366 int IptablesRestoreController::getIpRestorePid(const IptablesProcessType type) { in getIpRestorePid() function in IptablesRestoreController