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

  /system/netd/server/
FirewallController.cpp 97 if (ftype == WHITELIST) {
108 // Set this after calling disableFirewall(), since it defaults to WHITELIST there
115 mFirewallType = WHITELIST;
201 return WHITELIST;
205 return WHITELIST;
217 if (firewallType == WHITELIST) {
261 return replaceUidChain(chain, type == WHITELIST, NO_UIDS);
282 // Whitelist chains have UIDs at the beginning, and new UIDs are added with '-I'.
288 // Always whitelist system UIDs.
297 // Always whitelist traffic with protocol ESP, or no known socket - required for IPSe
    [all...]
FirewallController.h 30 // WHITELIST means the firewall denies all by default, uids must be explicitly ALLOWed
33 enum FirewallType { WHITELIST, BLACKLIST };
FirewallControllerTest.cpp 89 createChain("fw_whitelist", WHITELIST);
260 EXPECT_EQ(0, mFw.enableFirewall(WHITELIST));
287 EXPECT_EQ(0, mFw.enableFirewall(WHITELIST));
293 // TODO: calling disableFirewall and then enableFirewall(WHITELIST) does
295 EXPECT_EQ(0, mFw.enableFirewall(WHITELIST));
TrafficControllerTest.cpp 173 EXPECT_EQ(0, mTc.changeUidOwnerRule(chain, uid, ALLOW, WHITELIST));
178 EXPECT_EQ(0, mTc.changeUidOwnerRule(chain, uid, DENY, WHITELIST));
444 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(mFakeDozableUidMap, uid, ALLOW, WHITELIST)));
449 ASSERT_TRUE(isOk(mTc.updateOwnerMapEntry(mFakeDozableUidMap, uid, DENY, WHITELIST)));
467 ASSERT_EQ(-EINVAL, mTc.changeUidOwnerRule(NONE, TEST_UID, ALLOW, WHITELIST));
468 ASSERT_EQ(-EINVAL, mTc.changeUidOwnerRule(INVALID_CHAIN, TEST_UID, ALLOW, WHITELIST));
TrafficController.cpp 438 if ((rule == ALLOW && type == WHITELIST) || (rule == DENY && type == BLACKLIST)) {
439 uint8_t flag = (type == WHITELIST) ? BPF_PASS : BPF_DROP;
441 } else if ((rule == ALLOW && type == BLACKLIST) || (rule == DENY && type == WHITELIST)) {
510 type = WHITELIST;
CommandListener.cpp     [all...]
  /external/tensorflow/tensorflow/tools/test/
check_futures_test.py 42 WHITELIST = [
93 whitelist = frozenset(os.path.join(BASE_DIR, w) for w in WHITELIST)
98 if path not in whitelist:
  /external/autotest/client/cros/power/
sys_power.py 38 Whitelist is an array of a 2-entry tuples consisting of (source regexp, text
50 WHITELIST = [
54 # TODO(crosbug.com/p/52008): Remove from whitelist once watermark
63 WHITELIST = [