Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DApplicationQosPolicyTrackingTableTest.java54 List<QosPolicyParams> policyList = new ArrayList<>(); in generatePolicyList() local
56 policyList.add(new QosPolicyParams.Builder( in generatePolicyList()
62 return policyList; in generatePolicyList()
69 List<QosPolicyParams> policyList = new ArrayList<>(); in generateUplinkPolicyList() local
71 policyList.add(new QosPolicyParams.Builder( in generateUplinkPolicyList()
76 return policyList; in generateUplinkPolicyList()
79 private List<Integer> getPolicyIdsFromPolicyList(List<QosPolicyParams> policyList) { in getPolicyIdsFromPolicyList() argument
81 for (QosPolicyParams policy : policyList) { in getPolicyIdsFromPolicyList()
87 private List<Integer> getVirtualPolicyIdsFromPolicyList(List<QosPolicyParams> policyList) { in getVirtualPolicyIdsFromPolicyList() argument
89 for (QosPolicyParams policy : policyList) { in getVirtualPolicyIdsFromPolicyList()
[all …]
DApplicationQosPolicyRequestHandlerTest.java156 List<QosPolicyParams> policyList, List<Integer> statusList) { in generateHalStatusList() argument
158 for (int i = 0; i < policyList.size(); i++) { in generateHalStatusList()
160 policyList.get(i).getTranslatedPolicyId(), statusList.get(i))); in generateHalStatusList()
165 private void addPoliciesToTable(List<QosPolicyParams> policyList) { in addPoliciesToTable() argument
166 List<List<QosPolicyParams>> batches = mDut.divideRequestIntoBatches(policyList); in addPoliciesToTable()
180 List<QosPolicyParams> policyList = (List<QosPolicyParams>) args[1]; in setupSynchronousResponse()
181 List<Integer> statusList = generateIntegerList(policyList.size(), expectedStatus); in setupSynchronousResponse()
182 return generateHalStatusList(policyList, statusList); in setupSynchronousResponse()
201 private List<Integer> getVirtualPolicyIds(List<QosPolicyParams> policyList) { in getVirtualPolicyIds() argument
203 for (QosPolicyParams policy : policyList) { in getVirtualPolicyIds()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DApplicationQosPolicyRequestHandler.java512 private List<QosPolicyParams> filterPoliciesByStatusList(List<QosPolicyParams> policyList, in filterPoliciesByStatusList() argument
517 filteredPolicies.add(policyList.get(i)); in filterPoliciesByStatusList()
540 List<QosPolicyParams> policyList = filterPoliciesByStatusList( in processAddRequest() local
546 policyList = mPolicyTrackingTable.filterUntrackedPolicies(policyList, in processAddRequest()
550 if (policyList.isEmpty()) { in processAddRequest()
557 mWifiNative.addQosPolicyRequestForScs(ifaceName, policyList); in processAddRequest()
657 List<QosPolicyParams> policyList, int uid) { in handleHalPolicyAddError() argument
666 rejectedPolicies.add(policyList.get(i).getPolicyId()); in handleHalPolicyAddError()
683 List<QosPolicyParams> policyList, int uid) { in processSynchronousHalResponse() argument
694 rejectedPolicies.add(policyList.get(i).getPolicyId()); in processSynchronousHalResponse()
DApplicationQosPolicyTrackingTable.java156 List<QosPolicyParams> policyList, int uid) { in filterUntrackedPolicies() argument
158 for (QosPolicyParams policy : policyList) { in filterUntrackedPolicies()
DWifiServiceImpl.java7974 private boolean policiesHaveSameDirection(List<QosPolicyParams> policyList) {
7975 int direction = policyList.get(0).getDirection();
7976 for (QosPolicyParams policy : policyList) {