android_packages_modules_Co.../tests/common/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Handa Wang 364aa570e2 [mdns] add hidden API for public key
This commit adds support of registering a public key for a host/service.
This is required to enable Advertising Proxy feature for Thread devices.

For example:
```
NsdServiceInfo info = new NsdServiceInfo();

info.setServiceName("My Service");
info.setServiceType("_test._tcp");
info.setHostname("MyHost");
info.setHostAddresses(List.of(address1, address2));
info.setPublicKey(/* KEY RDATA */);

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

Bug: 317946010

Change-Id: I367ebff8119d5c1dff0410c85e6fb86dca6c66b8
2024-04-24 07:02:42 +00: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 hidden API for public key 2024-04-24 07:02:42 +00: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 Update the imports to androidx.test.filters.* 2024-02-29 17:56:14 +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