Lines Matching refs:IP6TABLES_PATH
77 #define IP6TABLES_PATH "/system/bin/ip6tables" macro
204 iptablesRuleExists(IP6TABLES_PATH, chainName, NO_SOCKET_ALLOW_RULE); in iptablesNoSocketAllowRuleExists()
209 iptablesRuleExists(IP6TABLES_PATH, chainName, ESP_ALLOW_RULE); in iptablesEspAllowRuleExists()
230 EXPECT_EQ((int) uids.size() + 15, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
239 EXPECT_EQ(5, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
247 EXPECT_EQ((int) uids.size() + 5, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
257 EXPECT_EQ(5, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
475 const int enabled6 = bandwidthDataSaverEnabled(IP6TABLES_PATH); in getDataSaverState()
977 for (const auto& binary : { IPTABLES_PATH, IP6TABLES_PATH }) { in expectNoTestCounterRules()
1016 runCommand(StringPrintf("%s -w -N tetherctrl_counters", IP6TABLES_PATH)); in TEST_F()
1028 addTetherCounterValues(IP6TABLES_PATH, intIface1, extIface1, 456, 10); in TEST_F()
1030 addTetherCounterValues(IP6TABLES_PATH, extIface1, intIface1, 654, 20); in TEST_F()
1036 addTetherCounterValues(IP6TABLES_PATH, intIface2, extIface2, 3000, 30); in TEST_F()
1039 addTetherCounterValues(IP6TABLES_PATH, extIface2, intIface2, 4000, 40); in TEST_F()
1041 addTetherCounterValues(IP6TABLES_PATH, intIface3, extIface2, 1000, 25); in TEST_F()
1042 addTetherCounterValues(IP6TABLES_PATH, extIface2, intIface3, 2000, 35); in TEST_F()
1053 for (const auto& path : { IPTABLES_PATH, IP6TABLES_PATH }) { in TEST_F()
1056 if (path == IP6TABLES_PATH) { in TEST_F()
1094 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectIdletimerInterfaceRuleExists()
1106 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectIdletimerInterfaceRuleNotExists()
1149 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectStrictSetUidAccept()
1160 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectStrictSetUidLog()
1171 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectStrictSetUidReject()
1474 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectBandwidthInterfaceQuotaRuleExists()
1491 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectBandwidthInterfaceQuotaRuleDoesNotExist()
1508 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectBandwidthInterfaceAlertRuleExists()
1518 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectBandwidthInterfaceAlertRuleDoesNotExist()
1527 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectBandwidthGlobalAlertRuleExists()
1536 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectBandwidthManipulateSpecialAppRuleExists()
1544 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectBandwidthManipulateSpecialAppRuleDoesNotExist()
1766 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectNetworkPermissionIptablesRuleExists()
2291 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectFirewallAllowlistMode()
2299 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectFirewallDenylistMode()
2342 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectFirewallInterfaceRuleAllowExists()
2352 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectFireWallInterfaceRuleAllowDoesNotExist()
2390 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) in expectFirewallUidFirstRuleExists()
2396 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) in expectFirewallUidFirstRuleDoesNotExist()
2402 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) in expectFirewallUidLastRuleExists()
2408 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) in expectFirewallUidLastRuleDoesNotExist()
2430 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) in expectFirewallChildChainsLastRuleExists()
2435 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectFirewallChildChainsLastRuleDoesNotExist()
2962 EXPECT_TRUE(iptablesChainMatch(IP6TABLES_PATH, FILTER_TABLE, TETHER_FORWARD, forwardV6Match)); in expectNatEnable()
2963 EXPECT_TRUE(iptablesChainMatch(IP6TABLES_PATH, RAW_TABLE, TETHER_RAW_PREROUTING, in expectNatEnable()
2966 for (const auto& binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in expectNatEnable()
2984 EXPECT_EQ(2, iptablesCountRules(IP6TABLES_PATH, FILTER_TABLE, TETHER_FORWARD)); in expectNatDisable()
2985 EXPECT_EQ(2, iptablesCountRules(IP6TABLES_PATH, RAW_TABLE, TETHER_RAW_PREROUTING)); in expectNatDisable()