Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java217 int txtRecordSize = getTxtRecordSize(); in setAttribute() local
218 int futureSize = txtRecordSize + key.length() + (value == null ? 0 : value.length) + 2; in setAttribute()
265 int txtRecordSize = 0; in getTxtRecordSize() local
267 txtRecordSize += 2; // One for the length byte, one for the = between key and value. in getTxtRecordSize()
268 txtRecordSize += entry.getKey().length(); in getTxtRecordSize()
270 txtRecordSize += value == null ? 0 : value.length; in getTxtRecordSize()
272 return txtRecordSize; in getTxtRecordSize()
277 int txtRecordSize = getTxtRecordSize(); in getTxtRecord() local
278 if (txtRecordSize == 0) { in getTxtRecord()
282 byte[] txtRecord = new byte[txtRecordSize]; in getTxtRecord()