Home
last modified time | relevance | path

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

/frameworks/libs/net/common/device/com/android/net/module/util/structs/
DIpv4Header.java54 public final byte tos; field in Ipv4Header
73 public Ipv4Header(final byte tos, final int totalLength, final short id, in Ipv4Header() argument
76 this(IPHDR_VERSION_IHL, tos, totalLength, id, flagsAndFragmentOffset, ttl, in Ipv4Header()
80 private Ipv4Header(final byte vi, final byte tos, final int totalLength, final short id, in Ipv4Header() argument
84 this.tos = tos; in Ipv4Header()
/frameworks/libs/net/common/device/com/android/net/module/util/netlink/
DStructRtMsg.java48 public final short tos; // TOS filter. field in StructRtMsg
60 StructRtMsg(short family, short dstLen, short srcLen, short tos, short table, short protocol, in StructRtMsg() argument
65 this.tos = tos; in StructRtMsg()
/frameworks/libs/net/common/device/com/android/net/module/util/
DPacketBuilder.java116 public void writeIpv4Header(byte tos, short id, short flagsAndFragmentOffset, byte ttl, in writeIpv4Header() argument
120 final Ipv4Header ipv4Header = new Ipv4Header(tos, in writeIpv4Header()
/frameworks/base/telephony/java/android/telephony/data/
DQosBearerFilter.java97 @Nullable PortRange remotePort, @QosProtocol int protocol, int tos, long flowLabel, in QosBearerFilter() argument
106 this.typeOfServiceMask = tos; in QosBearerFilter()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/netlink/
DRtNetlinkRouteMessageTest.java80 assertEquals(0, rtmsg.tos); in assertRtmRouteMessage()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPacketBuilderTest.java340 assertEquals(TYPE_OF_SERVICE, ipv4Header.tos); in checkIpv4Header()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java3879 int tos = -1; in convertHalQosBearerFilter() local
3880 if (qosFilter.tos != null) { in convertHalQosBearerFilter()
3881 if (qosFilter.tos.getDiscriminator() == android.hardware.radio.V1_6.QosFilter in convertHalQosBearerFilter()
3883 tos = qosFilter.tos.value(); in convertHalQosBearerFilter()
3901 qosFilter.protocol, tos, flowLabel, spi, qosFilter.direction, qosFilter.precedence); in convertHalQosBearerFilter()
3930 int tos = -1; in convertHalQosBearerFilter() local
3931 if (qosFilter.tos != null) { in convertHalQosBearerFilter()
3932 if (qosFilter.tos.getTag() in convertHalQosBearerFilter()
3934 tos = qosFilter.tos.value; in convertHalQosBearerFilter()
3952 qosFilter.protocol, tos, flowLabel, spi, qosFilter.direction, qosFilter.precedence); in convertHalQosBearerFilter()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java2391 halQosFilter.tos.value((byte)7); in testConvertDataCallResult()