android_packages_modules_Co.../tests/net/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chalard Jean 180d580dc2 Resolve the endpoint in legacy VPN
This adds code to resolve the endpoint in the legacy VPN
runner if it was specified as a hostname, and enables the
previously added test that was disabled because this was
broken until this patch. See the linked bug for details.

This patch uses the async DNS API to do the resolution.
This lets the resolution be fully cancellable, though the
code is more complex than with the non-interruptible
getByName.

Test: VpnTest and in particular VpnTest#testStartRacoon
      Fixes the test meant to test this
      Also manual testing that resolution of a real
      hostname works as expected, that failure to resolve
      returns correctly, and that cancellation/interruption
      will unblock the thread and terminate immediately.
Bug: 158974172
Change-Id: I714985f3c7919dad9c1854830c50f29c1f94a21e
2020-08-06 17:29:59 +09:00
..
connectivity Resolve the endpoint in legacy VPN 2020-08-06 17:29:59 +09:00
net Gracefully handle integer overflows. 2020-07-28 11:36:49 +05:30
ConnectivityServiceTest.java Update language to comply with Android's inclusive language guidance 2020-07-28 15:36:30 +08:00
IpSecServiceParameterizedTest.java Merge "Add tests for Tunnel, Transport mode application with released SPIs" 2020-04-24 22:32:41 +00:00
IpSecServiceRefcountedResourceTest.java Automatically set IPsec tunnel interface as up 2020-03-10 23:08:16 -07:00
IpSecServiceTest.java Automatically set IPsec tunnel interface as up 2020-03-10 23:08:16 -07:00
LegacyTypeTrackerTest.kt Suppress deprecation warnings in LegacyTypeTrackerTest. 2020-05-20 20:53:16 +09:00
NetIdManagerTest.kt Move utils from network stack to libs. 2020-07-29 21:15:48 +09:00
NetworkManagementServiceTest.java Cleanup NetworkManagementService for Netd commnads binder migrartion 2019-03-20 20:02:24 +08:00
NsdServiceTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00