android_packages_modules_Co.../tests/common/java
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kangping Dong 6d618d77fe [mdns] add support for advertising subtypes
This commit adds support of advertising and discovering services
with subtypes.

With this change, client can publish a new service with subtypes with
code:
```
NsdServiceInfo info = new NsdServiceInfo();
info.setServiceName("My Service");
info.setServiceType("_meshcop._udp");
info.setSubtypes(Set.of("_abc"));

nsdManager.registerService(info, PROTOCOL_DNS_SD, listener);
```

Bug: 265095929
Test: atest CtsNetTestCases FrameworksNetTests
Change-Id: Ia83182e2d43002243d1ef4357d14a8056d7da14b
2023-12-18 10:03:16 +08:00
..
android/net [mdns] add support for advertising subtypes 2023-12-18 10:03:16 +08:00
ParseExceptionTest.kt Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00