Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsKeyRecord.java32 @Nullable private byte[] rData; field in MdnsKeyRecord
51 long ttlMillis, @Nullable byte[] rData) { in MdnsKeyRecord() argument
54 if (rData != null) { in MdnsKeyRecord()
55 this.rData = Arrays.copyOf(rData, rData.length); in MdnsKeyRecord()
60 if (rData == null) { in getRData()
63 return Arrays.copyOf(rData, rData.length); in getRData()
68 rData = new byte[reader.getRemaining()]; in readData()
69 reader.readBytes(rData); in readData()
74 if (rData != null) { in writeData()
75 writer.writeBytes(rData); in writeData()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceResponse.java197 String rData = readDnsName(dis); in parse() local
198 if (rData == null) { in parse()
201 if (rData.length() <= mDnsQueryName.length()) { in parse()
205 mInstanceName = rData.substring(0, in parse()
206 rData.length() - mDnsQueryName.length() -1); in parse()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordTests.java440 final byte[] rData = in testKeyRecord()
474 assertArrayEquals(rData, keyRecord.getRData()); in testKeyRecord()
475 assertNotEquals(rData, keyRecord.getRData()); // Uses a copy of the original RDATA in testKeyRecord()
487 assertArrayEquals(rData, keyRecord.getRData()); in testKeyRecord()
488 assertNotEquals(rData, keyRecord.getRData()); // Uses a copy of the original RDATA in testKeyRecord()
507 rData); in testKeyRecord()
514 assertArrayEquals(rData, keyRecord.getRData()); in testKeyRecord()
515 assertNotEquals(rData, keyRecord.getRData()); // Uses a copy of the original RDATA in testKeyRecord()
/packages/apps/TV/interactive/SampleTvInteractiveAppService/src/com/android/tv/samples/sampletvinteractiveappservice/
DTiasSessionImpl.java696 byte[] rData = response.getData(); in handleStreamEventResponse()
697 if (rData == null) { in handleStreamEventResponse()
703 String data = Arrays.toString(rData); in handleStreamEventResponse()