android_packages_modules_Co.../tests/common/java/android/net
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
..
apf trivialize apf property accessor dead code 2022-11-04 11:43:22 +00:00
metrics Move bit utilities to BitUtils. 2022-10-12 16:39:37 +09:00
netstats Allow to query NetworkStats for TYPE_PROXY 2023-11-16 13:43:00 +00:00
nsd [mdns] add support for advertising subtypes 2023-12-18 10:03:16 +08:00
util Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
CaptivePortalDataTest.kt Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
CaptivePortalTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
ConnectivityDiagnosticsManagerTest.java Do not verify field count in tests used in CTS 2022-01-18 16:55:32 +09:00
ConnectivitySettingsManagerTest.kt Fix testing with/without connectivity module 2022-02-16 15:22:30 +09:00
DependenciesTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
DhcpInfoTest.java Do not verify field count in tests used in CTS 2022-01-18 16:55:32 +09:00
EthernetNetworkManagementExceptionTest.java Rename of InternalNetworkManagementException 2022-05-03 13:22:21 -07:00
InvalidPacketExceptionTest.kt Add basic tests for InvalidPacketException 2021-06-23 09:16:59 +00:00
IpPrefixTest.java Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
KeepalivePacketDataTest.kt Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
LinkAddressTest.java Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
LinkPropertiesTest.java Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
MatchAllNetworkSpecifierTest.kt Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
NattKeepalivePacketDataTest.kt Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
NetworkAgentConfigTest.kt Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
NetworkCapabilitiesTest.java Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
NetworkProviderTest.kt Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
NetworkSpecifierTest.kt Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
NetworkStackTest.java Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
NetworkStateSnapshotTest.kt Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
NetworkTest.java Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
OemNetworkPreferencesTest.java Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
RouteInfoTest.java Remove @IgnoreUpTo(Q) annotation and isAtLeastR() check 2023-11-06 09:35:28 +00:00
TcpKeepalivePacketDataTest.kt Do not verify field count in tests used in CTS 2022-01-18 16:55:32 +09:00
UidRangeTest.java Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
UnderlyingNetworkInfoTest.kt Mark connectivity module tests as such 2022-01-18 16:55:44 +09:00
VpnTransportInfoTest.java Rename getBypassable to isBypassable 2022-12-15 04:22:43 +00:00