Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsPacket.java89 throw new ParseException(MdnsResponseErrorCode.ERROR_END_OF_FILE, in parse()
115 throw new ParseException(MdnsResponseErrorCode.ERROR_END_OF_FILE, in parseRecordsSection()
140 throw new ParseException(MdnsResponseErrorCode.ERROR_READING_RECORD_NAME, in parseRecord()
148 throw new ParseException(MdnsResponseErrorCode.ERROR_END_OF_FILE, in parseRecord()
157 throw new ParseException(MdnsResponseErrorCode.ERROR_READING_A_RDATA, in parseRecord()
167 throw new ParseException(MdnsResponseErrorCode.ERROR_READING_AAAA_RDATA, in parseRecord()
176 throw new ParseException(MdnsResponseErrorCode.ERROR_READING_PTR_RDATA, in parseRecord()
185 throw new ParseException(MdnsResponseErrorCode.ERROR_READING_SRV_RDATA, in parseRecord()
194 throw new ParseException(MdnsResponseErrorCode.ERROR_READING_TXT_RDATA, in parseRecord()
203 throw new ParseException(MdnsResponseErrorCode.ERROR_READING_KEY_RDATA, in parseRecord()
[all …]
DMdnsResponseDecoder.java97 MdnsResponseErrorCode.ERROR_NOT_RESPONSE_MESSAGE, "Not a response", null); in parseResponse()
103 MdnsResponseErrorCode.ERROR_NO_ANSWERS, "Response has no answers", in parseResponse()
108 throw new MdnsPacket.ParseException(MdnsResponseErrorCode.ERROR_END_OF_FILE, in parseResponse()
DMdnsResponseErrorCode.java24 public class MdnsResponseErrorCode { class
DMdnsSocketClient.java482 return MdnsResponseErrorCode.ERROR_NOT_RESPONSE_MESSAGE; in processResponsePacket()
490 return MdnsResponseErrorCode.SUCCESS; in processResponsePacket()
DMdnsMultinetworkSocketClient.java254 if (e.code != MdnsResponseErrorCode.ERROR_NOT_RESPONSE_MESSAGE) { in processResponsePacket()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketClientTests.java446 anyInt(), eq(MdnsResponseErrorCode.ERROR_END_OF_FILE), any()); in testFailedToParseMdnsResponse_useSeparateSocketForUnicast()
468 eq(1), eq(MdnsResponseErrorCode.ERROR_END_OF_FILE), any()); in testFailedToParseMdnsResponse_useSameSocketForMulticastAndUnicast()