/packages/modules/Connectivity/framework/src/android/net/ |
D | DscpPolicy.java | 38 public final class DscpPolicy implements Parcelable { class 82 /* package */ DscpPolicy( in DscpPolicy() method in DscpPolicy 206 if (!(o instanceof DscpPolicy)) return false; in equals() 207 DscpPolicy that = (DscpPolicy) o; in equals() 241 DscpPolicy(@NonNull Parcel in) { in DscpPolicy() method in DscpPolicy 256 public @SystemApi static final @NonNull Parcelable.Creator<DscpPolicy> CREATOR = 257 new Parcelable.Creator<DscpPolicy>() { 259 public DscpPolicy[] newArray(int size) { 260 return new DscpPolicy[size]; 264 public DscpPolicy createFromParcel(@NonNull android.os.Parcel in) { [all …]
|
D | INetworkAgentRegistry.aidl | 18 import android.net.DscpPolicy; 49 void sendAddDscpPolicy(in DscpPolicy policy); in sendAddDscpPolicy()
|
D | NetworkAgent.java | 1520 public void sendAddDscpPolicy(@NonNull final DscpPolicy policy) { in sendAddDscpPolicy()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DscpPolicyTest.kt | 23 import android.net.DscpPolicy in <lambda>() 449 val policy = DscpPolicy.Builder(1, 1) in <lambda>() 467 val policy2 = DscpPolicy.Builder(1, 4) in <lambda>() 490 val policy = DscpPolicy.Builder(1, 1) in <lambda>() 508 val policy2 = DscpPolicy.Builder(1, 4) in <lambda>() 531 val policy = DscpPolicy.Builder(1, 1).setDestinationPortRange(Range(1111, 1111)).build() in <lambda>() 539 val policy2 = DscpPolicy.Builder(2, 1).setDestinationPortRange(Range(2222, 2222)).build() in <lambda>() 547 val policy3 = DscpPolicy.Builder(3, 1).setDestinationPortRange(Range(3333, 3333)).build() in <lambda>() 567 val policy = DscpPolicy.Builder(1, 1).setDestinationPortRange(Range(1111, 1111)).build() in <lambda>() 576 val policy2 = DscpPolicy.Builder(2, 1).setDestinationPortRange(Range(2222, 2222)).build() in <lambda>() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | QosPolicyRequestHandlerTest.java | 34 import android.net.DscpPolicy; 93 DscpPolicy policy = (DscpPolicy) args[0]; in setUp() 98 }).when(mWifiNetworkAgent).sendAddDscpPolicy(any(DscpPolicy.class)); in setUp() 116 srcPort != null ? srcPort : DscpPolicy.SOURCE_PORT_ANY, in createQosPolicyRequest() 118 protocol != null ? protocol : DscpPolicy.PROTOCOL_ANY); in createQosPolicyRequest() 243 DscpPolicy policy = (DscpPolicy) args[0]; in testMoreResourcesIsFalseIfInsufficientResources() 252 }).when(mWifiNetworkAgent).sendAddDscpPolicy(any(DscpPolicy.class)); in testMoreResourcesIsFalseIfInsufficientResources()
|
D | WifiMonitorTest.java | 31 import android.net.DscpPolicy; 846 DscpPolicy.SOURCE_PORT_ANY, new int[]{125, 150}, in testBroadcastQosPolicyRequestEvent() 847 DscpPolicy.PROTOCOL_ANY))); in testBroadcastQosPolicyRequestEvent()
|
D | SupplicantStaIfaceHalTest.java | 34 import android.net.DscpPolicy; 91 private static final int QOS_POLICY_SRC_PORT = DscpPolicy.SOURCE_PORT_ANY; 92 private static final int QOS_POLICY_PROTOCOL = DscpPolicy.PROTOCOL_ANY;
|
D | SupplicantStaIfaceHalAidlImplTest.java | 105 import android.net.DscpPolicy; 2754 if (frameworkPolicy.getSourcePort() != DscpPolicy.SOURCE_PORT_ANY) { in compareQosPolicyParamsToHal()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | DscpPolicyTracker.java | 27 import android.net.DscpPolicy; 138 private boolean matchesIpv4(DscpPolicy policy) { in matchesIpv4() 145 private boolean matchesIpv6(DscpPolicy policy) { in matchesIpv6() 164 private int addDscpPolicyInternal(DscpPolicy policy, int ifIndex) { in addDscpPolicyInternal() 234 public void addDscpPolicy(NetworkAgentInfo nai, DscpPolicy policy) { in addDscpPolicy()
|
D | NetworkAgentInfo.java | 34 import android.net.DscpPolicy; 997 public void sendAddDscpPolicy(final DscpPolicy policy) { in sendAddDscpPolicy()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | QosPolicyParams.java | 25 import android.net.DscpPolicy; 60 public static final int PROTOCOL_ANY = DscpPolicy.PROTOCOL_ANY; 281 if (mSrcPort < DscpPolicy.SOURCE_PORT_ANY || mSrcPort > 65535) { in validate() 458 @IntRange(from = DscpPolicy.SOURCE_PORT_ANY, to = 65535) 668 private int mSrcPort = DscpPolicy.SOURCE_PORT_ANY; 731 @IntRange(from = DscpPolicy.SOURCE_PORT_ANY, to = 65535) int value) { in setSourcePort()
|
/packages/modules/Connectivity/bpf_progs/ |
D | dscpPolicy.h | 62 } DscpPolicy; typedef 63 STRUCT_SIZE(DscpPolicy, 2 * 16 + 4 + 3 * 2 + 3 * 1 + 3); // 48
|
D | dscpPolicy.c | 42 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() 155 DscpPolicy* policy; in DEFINE_BPF_MAP_GRW()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | QosPolicyRequestHandler.java | 20 import android.net.DscpPolicy; 226 DscpPolicy.Builder builder = new DscpPolicy.Builder( in processQosPolicyRequest()
|
D | SupplicantStaIfaceHalAidlImpl.java | 80 import android.net.DscpPolicy; 2879 int srcPort = DscpPolicy.SOURCE_PORT_ANY; in halToFrameworkQosPolicy() 2881 int protocol = DscpPolicy.PROTOCOL_ANY; in halToFrameworkQosPolicy() 3037 if (params.getSourcePort() != DscpPolicy.SOURCE_PORT_ANY) { in frameworkToHalQosPolicyScsData()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | QosPolicyParamsTest.java | 25 import android.net.DscpPolicy; 129 assertEquals(DscpPolicy.SOURCE_PORT_ANY, params.getSourcePort()); in testDefaultParamsSet()
|
/packages/modules/Connectivity/framework/aidl-export/android/net/ |
D | DscpPolicy.aidl | 19 @JavaOnlyStableParcelable parcelable DscpPolicy;
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 96 public final class DscpPolicy implements android.os.Parcelable { 106 … field @NonNull public static final android.os.Parcelable.Creator<android.net.DscpPolicy> CREATOR; 111 public static final class DscpPolicy.Builder { 112 ctor public DscpPolicy.Builder(int, int); 113 method @NonNull public android.net.DscpPolicy build(); 114 …method @NonNull public android.net.DscpPolicy.Builder setDestinationAddress(@NonNull java.net.Inet… 115 …method @NonNull public android.net.DscpPolicy.Builder setDestinationPortRange(@NonNull android.uti… 116 method @NonNull public android.net.DscpPolicy.Builder setProtocol(int); 117 …method @NonNull public android.net.DscpPolicy.Builder setSourceAddress(@NonNull java.net.InetAddre… 118 method @NonNull public android.net.DscpPolicy.Builder setSourcePort(int); [all …]
|
/packages/modules/Wifi/framework/api/ |
D | system-current.txt | 123 …method @IntRange(from=android.net.DscpPolicy.SOURCE_PORT_ANY, to=65535) public int getSourcePort(); 161 ….wifi.QosPolicyParams.Builder setSourcePort(@IntRange(from=android.net.DscpPolicy.SOURCE_PORT_ANY,…
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 179 import android.net.DscpPolicy; 4677 DscpPolicy policy = (DscpPolicy) arg.second;
|