Searched refs:existingRegistration (Results 1 – 2 of 2) sorted by relevance
874 final Registration existingRegistration = mRegistrations.get(id); in addOrUpdateService() local879 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()
442 final ServiceRegistration existingRegistration = mServices.get(serviceId); in updateService() local443 if (existingRegistration == null) { in updateService()447 final ServiceRegistration updatedRegistration = existingRegistration.withSubtypes( in updateService()