Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAdvertiser.java666 private void updateForServiceConflict(@NonNull NsdServiceInfo newInfo, int renameCount) { in updateForServiceConflict() argument
667 mServiceNameConflictCount += renameCount; in updateForServiceConflict()
677 private void updateForHostConflict(@NonNull NsdServiceInfo newInfo, int renameCount) { in updateForHostConflict() argument
678 mHostnameConflictCount += renameCount; in updateForHostConflict()
694 public NsdServiceInfo makeNewServiceInfoForServiceConflict(int renameCount) { in makeNewServiceInfoForServiceConflict() argument
699 newInfo.setServiceName(getUpdatedServiceName(renameCount)); in makeNewServiceInfoForServiceConflict()
714 public NsdServiceInfo makeNewServiceInfoForHostConflict(int renameCount) { in makeNewServiceInfoForHostConflict() argument
718 newInfo.setHostname(getUpdatedHostname(renameCount)); in makeNewServiceInfoForHostConflict()
722 private String getUpdatedServiceName(int renameCount) { in getUpdatedServiceName() argument
723 final String suffix = " (" + (mServiceNameConflictCount + renameCount + 1) + ")"; in getUpdatedServiceName()
[all …]