Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesRestoreControllerTest.cpp204 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
215 EXPECT_EQ(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
237 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
250 EXPECT_NE(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
330 EXPECT_NE(0, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
357 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
361 EXPECT_EQ(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
374 EXPECT_EQ(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
DIptablesRestoreController.cpp131 mIpRestore.reset(forkAndExec(IPTABLES_PROCESS)); in Init()
137 const char* const cmd = (type == IPTABLES_PROCESS) ? in forkAndExec()
210 (type == IPTABLES_PROCESS) ? &mIpRestore : &mIp6Restore; in sendCommand()
360 res |= sendCommand(IPTABLES_PROCESS, command, output); in execute()
369 return type == IPTABLES_PROCESS ? mIpRestore->pid : mIp6Restore->pid; in getIpRestorePid()
DIptablesRestoreController.h49 IPTABLES_PROCESS, enumerator