Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java724 private byte[] mtuBytes(int mtu) { in mtuBytes() method in DhcpPacketTest
734 private void checkMtu(ByteBuffer packet, int expectedMtu, byte[] mtuBytes) throws Exception { in checkMtu() argument
735 if (mtuBytes != null) { in checkMtu()
736 packet.position(packet.capacity() - mtuBytes.length); in checkMtu()
737 packet.put(mtuBytes); in checkMtu()
774 checkMtu(packet, 0, mtuBytes(1501)); in testMtu()
775 checkMtu(packet, 1500, mtuBytes(1500)); in testMtu()
776 checkMtu(packet, 1499, mtuBytes(1499)); in testMtu()
777 checkMtu(packet, 1280, mtuBytes(1280)); in testMtu()
778 checkMtu(packet, 0, mtuBytes(1279)); in testMtu()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DVideoConfig.cpp439 void VideoConfig::setMaxMtuBytes(const int32_t mtuBytes) in setMaxMtuBytes() argument
441 maxMtuBytes = mtuBytes; in setMaxMtuBytes()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/
DVideoConfig.h202 void setMaxMtuBytes(const int32_t mtuBytes);