Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDscpPolicyTracker.java97 for (SparseIntArray ifacePolicies : mIfaceIndexToPolicyIdBpfMapIndex.values()) { in isUnusedIndex()
98 if (ifacePolicies.indexOfValue(index) >= 0) return false; in isUnusedIndex()
114 SparseIntArray ifacePolicies = mIfaceIndexToPolicyIdBpfMapIndex.get(ifIndex); in findIndex() local
115 if (ifacePolicies != null) { in findIndex()
116 final int existingIndex = ifacePolicies.get(policyId, -1); in findIndex()
167 SparseIntArray ifacePolicies = mIfaceIndexToPolicyIdBpfMapIndex.get(ifIndex); in addDscpPolicyInternal() local
168 if (ifacePolicies == null) { in addDscpPolicyInternal()
169 ifacePolicies = new SparseIntArray(MAX_POLICIES); in addDscpPolicyInternal()
204 ifacePolicies.put(policy.getPolicyId(), addIndex); in addDscpPolicyInternal()
208 mIfaceIndexToPolicyIdBpfMapIndex.put(ifIndex, ifacePolicies); in addDscpPolicyInternal()
[all …]