Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDscpPolicyTracker.java61 private static final int MAX_POLICIES = 16; field in DscpPolicyTracker
105 for (int i = 0; i < MAX_POLICIES; i++) { in getFirstFreeIndex()
110 return MAX_POLICIES; in getFirstFreeIndex()
123 if (firstIndex >= MAX_POLICIES) { in findIndex()
169 ifacePolicies = new SparseIntArray(MAX_POLICIES); in addDscpPolicyInternal()
/packages/modules/Connectivity/bpf_progs/
DdscpPolicy.c42 DEFINE_BPF_MAP_GRW(ipv4_dscp_policies_map, ARRAY, uint32_t, DscpPolicy, MAX_POLICIES, AID_SYSTEM) in DEFINE_BPF_MAP_GRW()
43 DEFINE_BPF_MAP_GRW(ipv6_dscp_policies_map, ARRAY, uint32_t, DscpPolicy, MAX_POLICIES, AID_SYSTEM) in DEFINE_BPF_MAP_GRW()
150 for (register uint64_t i = 0; i < MAX_POLICIES; i++) { in DEFINE_BPF_MAP_GRW()
DdscpPolicy.h18 #define MAX_POLICIES 16 macro