Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesRestoreControllerTest.cpp52 std::string mChainName; member in IptablesRestoreControllerTest
101 mChainName = StringPrintf("netd_unit_test_%u", arc4random_uniform(10000)).c_str(); in createTestChain()
106 StringPrintf(":%s -", mChainName.c_str()), in createTestChain()
107 StringPrintf("-A %s -j RETURN", mChainName.c_str()), in createTestChain()
113 if (ret) mChainName = ""; in createTestChain()
120 StringPrintf(":%s -", mChainName.c_str()), // Flush chain (otherwise we can't delete it). in deleteTestChain()
121 StringPrintf("-X %s", mChainName.c_str()), // Delete it. in deleteTestChain()
126 mChainName = ""; in deleteTestChain()
222 StringPrintf("Chain %s (0 references)", mChainName.c_str()), in TEST_F()
225 StringPrintf("Chain %s (0 references)", mChainName.c_str()), in TEST_F()
[all …]