HomeSort by relevance Sort by last modified time
    Searched refs:chainName (Results 1 - 7 of 7) sorted by null

  /system/netd/tests/
binder_test.cpp 154 static std::vector<std::string> listIptablesRule(const char *binary, const char *chainName) {
155 std::string command = StringPrintf("%s -w -n -L %s", binary, chainName);
159 static int iptablesRuleLineLength(const char *binary, const char *chainName) {
160 return listIptablesRule(binary, chainName).size();
164 std::string chainName = StringPrintf("netd_binder_test_%u", arc4random_uniform(10000));
175 mNetd->firewallReplaceUidChain(String16(chainName.c_str()), true, uids, &ret);
178 EXPECT_EQ((int) uids.size() + 6, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str()));
179 EXPECT_EQ((int) uids.size() + 12, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str()));
182 mNetd->firewallReplaceUidChain(String16(chainName.c_str()), false, noUids, &ret);
185 EXPECT_EQ(4, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str()))
    [all...]
  /system/netd/server/binder/android/net/
INetd.aidl 36 * @param chainName The name of the chain to replace.
41 boolean firewallReplaceUidChain(String chainName, boolean isWhitelist, in int[] uids);
  /system/netd/server/
NetdNativeService.h 38 const String16& chainName, bool isWhitelist,
BandwidthController.cpp 1029 char *chainName;
1046 asprintf(&chainName, "bw_costly_%s", costName);
1047 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-A", chainName, bytes, alertName);
1050 free(chainName);
1059 char *chainName;
1074 asprintf(&chainName, "bw_costly_%s", costName)
    [all...]
NetdNativeService.cpp 112 binder::Status NetdNativeService::firewallReplaceUidChain(const android::String16& chainName,
116 android::String8 name = android::String8(chainName);
  /frameworks/base/services/core/java/com/android/server/
NetworkManagementService.java     [all...]
  /libcore/ojluni/src/main/native/
zip_util.c 727 const char* chainName = cenStart + CENHDR;
728 if (strncmp(entryName, chainName, nlen) == 0) {
    [all...]

Completed in 6760 milliseconds