Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAdvertiser.java874 final Registration existingRegistration = mRegistrations.get(id); in addOrUpdateService() local
879 if (existingRegistration == null) { in addOrUpdateService()
884 if (!(existingRegistration.isSubtypeOnlyUpdate(service))) { in addOrUpdateService()
886 + ", existing serviceInfo: " + existingRegistration.getServiceInfo()); in addOrUpdateService()
893 registration = existingRegistration; in addOrUpdateService()
896 if (existingRegistration != null) { in addOrUpdateService()
DMdnsRecordRepository.java442 final ServiceRegistration existingRegistration = mServices.get(serviceId); in updateService() local
443 if (existingRegistration == null) { in updateService()
447 final ServiceRegistration updatedRegistration = existingRegistration.withSubtypes( in updateService()