Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesRestoreControllerTest.cpp81 pid_t getIpRestorePid(const IptablesRestoreController::IptablesProcessType type) { in getIpRestorePid() function in IptablesRestoreControllerTest
82 return con.getIpRestorePid(type); in getIpRestorePid()
204 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
205 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()
215 EXPECT_EQ(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
216 EXPECT_EQ(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
237 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
238 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()
250 EXPECT_NE(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
251 EXPECT_NE(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
[all …]
DIptablesRestoreController.h60 pid_t getIpRestorePid(const IptablesProcessType type);
DIptablesRestoreController.cpp368 int IptablesRestoreController::getIpRestorePid(const IptablesProcessType type) { in getIpRestorePid() function in IptablesRestoreController