Home
last modified time | relevance | path

Searched refs:textRecord (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsResponse.java40 private MdnsTextRecord textRecord; field in MdnsResponse
65 textRecord = base.textRecord; in MdnsResponse()
195 public synchronized boolean setTextRecord(MdnsTextRecord textRecord) { in setTextRecord() argument
196 boolean isSame = recordsAreSame(this.textRecord, textRecord); in setTextRecord()
197 if (this.textRecord != null) { in setTextRecord()
198 records.remove(this.textRecord); in setTextRecord()
200 this.textRecord = textRecord; in setTextRecord()
201 if (this.textRecord != null) { in setTextRecord()
202 records.add(this.textRecord); in setTextRecord()
209 return textRecord; in getTextRecord()
[all …]
DMdnsResponseDecoder.java204 MdnsTextRecord textRecord = (MdnsTextRecord) record; in augmentResponses() local
205 MdnsResponse response = findResponseWithPointer(responses, textRecord.getName()); in augmentResponses()
206 if (response != null && response.setTextRecord(textRecord)) { in augmentResponses()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsResponseDecoderTests.java261 MdnsTextRecord textRecord = response.getTextRecord(); in testDecodeMultipleAnswerPacket() local
262 List<String> textStrings = textRecord.getStrings(); in testDecodeMultipleAnswerPacket()
DMdnsServiceTypeClientTests.java2275 final MdnsTextRecord textRecord = new MdnsTextRecord( in createResponse() local
2281 answerRecords.add(textRecord); in createResponse()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java2461 byte[] textRecord = service.getTxtRecord(); in registerService()
2468 transactionId, name, type, port, textRecord, registerInterface); in registerService()