Home
last modified time | relevance | path

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

/packages/modules/adb/daemon/
Dmdns.cpp83 std::vector<char> txtRecord; in register_mdns_service() local
88 txtRecord.resize(1 + // length byte in register_mdns_service()
92 txtRecord[0] = (char)txtRecordStringLength; in register_mdns_service()
93 memcpy(txtRecord.data() + 1, kADBDNSServiceTxtRecords[index], txtRecordStringLength); in register_mdns_service()
98 htobe16((uint16_t)port), (uint16_t)txtRecord.size(), in register_mdns_service()
99 txtRecord.empty() ? nullptr : txtRecord.data(), mdns_callback, nullptr); in register_mdns_service()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceInfo.java101 DnsSdTxtRecord txtRecord = new DnsSdTxtRecord(); in newInstance() local
104 txtRecord.set(key, txtMap.get(key)); in newInstance()
110 queries.add(createTxtServiceQuery(instanceName, serviceType, txtRecord)); in newInstance()
153 DnsSdTxtRecord txtRecord) { in createTxtServiceQuery() argument
162 byte[] rawData = txtRecord.getRawData(); in createTxtServiceQuery()
/packages/modules/Connectivity/tests/common/java/android/net/nsd/
DNsdServiceInfoTest.java210 byte[] txtRecord = shouldBeEmpty.getTxtRecord(); in assertEmptyServiceInfo()
211 if (txtRecord == null || txtRecord.length == 0) { in assertEmptyServiceInfo()
214 fail("NsdServiceInfo.getTxtRecord did not return null but " + Arrays.toString(txtRecord)); in assertEmptyServiceInfo()
/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DNsdServiceInfo.java439 byte[] txtRecord = new byte[txtRecordSize]; in getTxtRecord()
446 txtRecord[ptr++] = (byte) (key.length() + (value == null ? 0 : value.length) + 1); in getTxtRecord()
451 System.arraycopy(key.getBytes(StandardCharsets.US_ASCII), 0, txtRecord, ptr, in getTxtRecord() local
456 txtRecord[ptr++] = (byte)'='; in getTxtRecord()
460 System.arraycopy(value, 0, txtRecord, ptr, value.length); in getTxtRecord()
464 return txtRecord; in getTxtRecord()
DMDnsManager.java82 @NonNull String registrationType, int port, @NonNull byte[] txtRecord, in registerService() argument
85 registrationType, port, txtRecord, interfaceIdx); in registerService()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsRecordRepository.java193 public final RecordInfo<MdnsTextRecord> txtRecord; field in MdnsRecordRepository.ServiceRegistration
305 txtRecord = new RecordInfo<>( in ServiceRegistration()
317 allRecords.add(txtRecord); in ServiceRegistration()
331 txtRecord = null; in ServiceRegistration()
681 registration.srvRecord, registration.txtRecord, in getReply()
1144 if (registration.txtRecord != null) { in getOffloadPacket()
1145 answers.add(registration.txtRecord.record); in getOffloadPacket()
1244 if (record instanceof MdnsTextRecord && equals(record, registration.txtRecord)) { in conflictForService()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/mdns_aidl_interface/current/android/net/mdns/aidl/
DRegistrationInfo.aidl43 byte[] txtRecord;
DResolutionInfo.aidl46 byte[] txtRecord;
/packages/modules/Connectivity/staticlibs/netd/aidl_api/mdns_aidl_interface/2/android/net/mdns/aidl/
DRegistrationInfo.aidl43 byte[] txtRecord;
DResolutionInfo.aidl46 byte[] txtRecord;
/packages/modules/Connectivity/staticlibs/netd/aidl_api/mdns_aidl_interface/1/android/net/mdns/aidl/
DRegistrationInfo.aidl43 byte[] txtRecord;
DResolutionInfo.aidl46 byte[] txtRecord;
/packages/modules/Connectivity/staticlibs/netd/binder/android/net/mdns/aidl/
DRegistrationInfo.aidl72 byte[] txtRecord;
DResolutionInfo.aidl86 byte[] txtRecord;
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java1481 serviceInfo.setTxtRecords(info.txtRecord); in handleMDnsServiceEvent()