Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesRestoreControllerTest.cpp74 pid_t getIpRestorePid(const IptablesRestoreController::IptablesProcessType type) { in getIpRestorePid() function in IptablesRestoreControllerTest
75 return con.getIpRestorePid(type); in getIpRestorePid()
164 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
165 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()
175 EXPECT_EQ(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
176 EXPECT_EQ(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
197 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
198 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()
210 EXPECT_NE(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
211 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