Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/util/
DMdnsUtilsTest.kt31 import com.android.server.connectivity.mdns.util.MdnsUtils.truncateServiceName in <lambda>()
102 assertEquals(truncateServiceName("测试abcde", 7), "测试a") in <lambda>()
103 assertEquals(truncateServiceName("测试abcde", 100), "测试abcde") in <lambda>()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/
DMdnsUtils.java181 public static String truncateServiceName(@NonNull String originalName, int maxLength) { in truncateServiceName() method in MdnsUtils
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAdvertiser.java724 final String truncatedServiceName = MdnsUtils.truncateServiceName(mOriginalServiceName, in getUpdatedServiceName()
732 MdnsUtils.truncateServiceName( in getUpdatedHostname()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java732 private String truncateServiceName(@NonNull String originalName) { in truncateServiceName() method in NsdService.NsdStateMachine.EnabledState
733 return MdnsUtils.truncateServiceName(originalName, MAX_LABEL_LENGTH); in truncateServiceName()
1004 truncateServiceName(serviceInfo.getServiceName())); in processMessage()