Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsServiceTypeClient.java329 String serviceInstanceName = response.getServiceInstanceName(); in buildMdnsServiceInfoFromResponse()
386 listenerInfo.setServiceDiscovered(info.getServiceInstanceName()); in startSendAndReceive()
462 response.getServiceInstanceName()); in responseMatchesOptions()
508 cachedList, additionalResponse.getServiceInstanceName()) == null) { in processResponse()
520 final String serviceInstanceName = response.getServiceInstanceName(); in processResponse()
561 if (response.getServiceInstanceName() != null) { in notifyRemovedServiceToListeners()
562 listeners.valueAt(i).unsetServiceDiscovered(response.getServiceInstanceName()); in notifyRemovedServiceToListeners()
579 final String name = response.getServiceInstanceName(); in notifySocketDestroyed()
587 final String serviceInstanceName = response.getServiceInstanceName(); in onResponseModified()
661 r -> MdnsUtils.equalsIgnoreDnsCase(resolveName, r.getServiceInstanceName()))) { in makeResponsesForResolve()
[all …]
DMdnsServiceCache.java137 if (equalsIgnoreDnsCase(serviceName, response.getServiceInstanceName())) { in findMatchedResponse()
187 findMatchedResponse(responses, response.getServiceInstanceName()); in addOrUpdateService()
217 if (equalsIgnoreDnsCase(serviceName, response.getServiceInstanceName())) { in removeService()
DMdnsResponse.java344 public String getServiceInstanceName() { in getServiceInstanceName() method in MdnsResponse
373 if (getServiceInstanceName() != null) { in isGoodbye()
DMdnsServiceRecord.java92 public String getServiceInstanceName() { in getServiceInstanceName() method in MdnsServiceRecord
DMdnsServiceInfo.java193 public String getServiceInstanceName() { in getServiceInstanceName() method in MdnsServiceInfo
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsServiceInfoTest.java244 assertEquals(beforeParcel.getServiceInstanceName(), afterParcel.getServiceInstanceName()); in parcelable_canBeParceledAndUnparceled()
DMdnsServiceTypeClientTests.java769 assertEquals(serviceName, serviceInfo.getServiceInstanceName()); in verifyServiceInfo()
840 assertEquals(initialServiceInfo.getServiceInstanceName(), "service-instance-1"); in processIPv4Response_completeResponseForNewServiceInstance()
851 assertEquals(updatedServiceInfo.getServiceInstanceName(), "service-instance-1"); in processIPv4Response_completeResponseForNewServiceInstance()
894 assertEquals(initialServiceInfo.getServiceInstanceName(), "service-instance-1"); in processIPv6Response_getCorrectServiceInfo()
905 assertEquals(updatedServiceInfo.getServiceInstanceName(), "service-instance-1"); in processIPv6Response_getCorrectServiceInfo()
923 info -> serviceName.equals(info.getServiceInstanceName()) in verifyServiceRemovedCallback()
928 info -> serviceName.equals(info.getServiceInstanceName()) in verifyServiceRemovedCallback()
993 assertEquals(existingServiceInfo.getServiceInstanceName(), "service-instance-1"); in reportExistingServiceToNewlyRegisteredListeners()
1546 info.getServiceInstanceName().equals(matchingInstance) in testProcessResponse_SubtypeDiscoveryLimitedToSubtype()
1629 info.getServiceInstanceName().equals(matchingInstance) in testProcessResponse_SubtypeChange()
[all …]
DMdnsResponseDecoderTests.java243 String serviceInstanceName = serviceRecord.getServiceInstanceName(); in testDecodeMultipleAnswerPacket()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java1590 final String serviceName = serviceInfo.getServiceInstanceName(); in buildNsdServiceInfoFromMdnsEvent()