Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DQosPolicyRequestHandler.java222 if (!policy.classifierParams.isValid) { in processQosPolicyRequest()
228 .setSourcePort(policy.classifierParams.srcPort) in processQosPolicyRequest()
229 .setProtocol(policy.classifierParams.protocol) in processQosPolicyRequest()
230 .setDestinationPortRange(policy.classifierParams.dstPortRange); in processQosPolicyRequest()
233 if (policy.classifierParams.hasSrcIp) { in processQosPolicyRequest()
234 builder.setSourceAddress(policy.classifierParams.srcIp); in processQosPolicyRequest()
236 if (policy.classifierParams.hasDstIp) { in processQosPolicyRequest()
237 builder.setDestinationAddress(policy.classifierParams.dstIp); in processQosPolicyRequest()
DSupplicantStaIfaceHalAidlImpl.java2874 QosPolicyClassifierParams classifierParams = halQosPolicy.classifierParams; in halToFrameworkQosPolicy() local
2875 int classifierParamMask = classifierParams.classifierParamMask; in halToFrameworkQosPolicy()
2887 srcIp = classifierParams.srcIp; in halToFrameworkQosPolicy()
2891 dstIp = classifierParams.dstIp; in halToFrameworkQosPolicy()
2895 srcPort = classifierParams.srcPort; in halToFrameworkQosPolicy()
2900 dstPortRange[0] = classifierParams.dstPortRange.startPort; in halToFrameworkQosPolicy()
2901 dstPortRange[1] = classifierParams.dstPortRange.endPort; in halToFrameworkQosPolicy()
2905 protocol = classifierParams.protocolNextHdr; in halToFrameworkQosPolicy()
3018 QosPolicyClassifierParams classifierParams = new QosPolicyClassifierParams(); in frameworkToHalQosPolicyScsData() local
3021 classifierParams.srcIp = new byte[0]; in frameworkToHalQosPolicyScsData()
[all …]
DSupplicantStaIfaceHal.java675 public final QosPolicyClassifierParams classifierParams; field in SupplicantStaIfaceHal.QosPolicyRequest
682 classifierParams = frameworkClassifierParams; in QosPolicyRequest()
697 + ", classifierParams: {" + classifierParams + "}"; in toString()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java1150 assertTrue(request.classifierParams.isValid); in testCreateValidQosPolicyRequest()
1151 assertTrue(request.classifierParams.hasSrcIp); in testCreateValidQosPolicyRequest()
1152 assertFalse(request.classifierParams.hasDstIp); in testCreateValidQosPolicyRequest()
1154 assertEquals(QOS_POLICY_SRC_PORT, request.classifierParams.srcPort); in testCreateValidQosPolicyRequest()
1155 assertEquals(QOS_POLICY_PROTOCOL, request.classifierParams.protocol); in testCreateValidQosPolicyRequest()
1157 request.classifierParams.dstPortRange); in testCreateValidQosPolicyRequest()
1158 assertTrue(Arrays.equals(srcIp, request.classifierParams.srcIp.getAddress())); in testCreateValidQosPolicyRequest()
1175 assertFalse(request.classifierParams.isValid); in testCreateQosPolicyRequestWithInvalidSrcIp()
1192 assertFalse(request.classifierParams.isValid); in testCreateQosPolicyRequestWithInvalidDstIp()
1209 assertFalse(request.classifierParams.isValid); in testCreateQosPolicyRequestWithInvalidDstPortRange()
DSupplicantStaIfaceHalAidlImplTest.java2522 assertEquals(srcPort, qosPolicyRequestList.get(0).classifierParams.srcPort); in executeAndValidateQosPolicyRequestCallback()
2652 QosPolicyClassifierParams classifierParams = new QosPolicyClassifierParams(); in createQosPolicyData() local
2655 classifierParams.srcIp = srcIp; in createQosPolicyData()
2659 classifierParams.dstIp = dstIp; in createQosPolicyData()
2663 classifierParams.srcPort = srcPort; in createQosPolicyData()
2670 classifierParams.dstPortRange = portRange; in createQosPolicyData()
2674 classifierParams.protocolNextHdr = protocol.byteValue(); in createQosPolicyData()
2677 classifierParams.classifierParamMask = paramMask; in createQosPolicyData()
2683 qosPolicyData.classifierParams = classifierParams; in createQosPolicyData()
2741 QosPolicyClassifierParams classifierParams = halPolicy.classifierParams; in compareQosPolicyParamsToHal() local
[all …]
DQosPolicyRequestHandlerTest.java113 QosPolicyClassifierParams classifierParams = new QosPolicyClassifierParams( in createQosPolicyRequest() local
119 return new QosPolicyRequest((byte) policyId, requestType, (byte) dscp, classifierParams); in createQosPolicyRequest()