Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/util/
DMdnsUtilsTest.kt21 import com.android.server.connectivity.mdns.MdnsConstants.FLAG_TRUNCATED in <lambda>()
188 assertTrue((mdnsPacket.flags and FLAG_TRUNCATED) == FLAG_TRUNCATED) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiserTest.kt350 (pkg.flags and MdnsConstants.FLAG_TRUNCATED) != 0}, in testReplyToQuery_TruncatedBitSet()
354 (pkg.flags and MdnsConstants.FLAG_TRUNCATED) != 0}, in testReplyToQuery_TruncatedBitSet()
358 (pkg.flags and MdnsConstants.FLAG_TRUNCATED) == 0}, in testReplyToQuery_TruncatedBitSet()
375 assertTrue((it.flags and MdnsConstants.FLAG_TRUNCATED) != 0) in testReplyToQuery_TruncatedBitSet()
403 assertTrue((it.flags and MdnsConstants.FLAG_TRUNCATED) != 0) in testReplyToQuery_TruncatedBitSet()
431 assertTrue((it.flags and MdnsConstants.FLAG_TRUNCATED) == 0) in testReplyToQuery_TruncatedBitSet()
DMdnsRecordRepositoryTest.kt2160 val query = MdnsPacket(MdnsConstants.FLAG_TRUNCATED /* flags */, emptyList(), in testGetReply_OnlyKnownAnswers()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsConstants.java38 public static final int FLAG_TRUNCATED = 0x0200; field in MdnsConstants
DMdnsRecordRepository.java736 if ((packet.flags & MdnsConstants.FLAG_TRUNCATED) != 0) { in getReply()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/
DMdnsUtils.java19 import static com.android.server.connectivity.mdns.MdnsConstants.FLAG_TRUNCATED;
300 writer.writeUInt16(packet.flags | (remainingPacket == null ? 0 : FLAG_TRUNCATED)); in writePossibleMdnsPacket()