android_packages_modules_Co.../tests/net/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chalard Jean bee5b3f227 Fix a bug where a spurious capabilities callback is sent.
When a VPN connects and it has any underlying network (which
means almost always, because it will take the default network
if it doesn't declare any), it has default capabilities and
will only take the capabilities of its underlying network
as part of an update happening after making the network
available but before the rematch can take place. This in turn
causes the capabilities callback sent as part of the rematch
to be spuriously sent.

Test: FrameworksNetTests. Also tested together with a
      followup that adds tests with drive-by coverage for this.
Bug: 150570873
Original-Change: https://android-review.googlesource.com/1305393
Merged-In: Id7d8bba486bada1a7ba5b0f152d2aa02e407f249
Change-Id: Id7d8bba486bada1a7ba5b0f152d2aa02e407f249
2020-05-21 05:09:15 +00:00
..
connectivity Set owner and administrator UIDs for test networks. 2020-05-12 20:33:42 +00:00
net Filter debug entries for each vpn 2020-04-30 02:39:15 +00:00
ConnectivityServiceTest.java Fix a bug where a spurious capabilities callback is sent. 2020-05-21 05:09:15 +00:00
IpSecServiceParameterizedTest.java Add tests for Tunnel, Transport mode application with released SPIs 2020-05-08 00:01:59 -07:00
IpSecServiceRefcountedResourceTest.java Automatically set IPsec tunnel interface as up 2020-03-25 06:14:13 +00:00
IpSecServiceTest.java Automatically set IPsec tunnel interface as up 2020-03-25 06:14:13 +00:00
LegacyTypeTrackerTest.kt Add tests for the legacy broadcast 2019-11-19 21:08:44 +09:00
NetIdManagerTest.kt Add NetIdManagerTest 2019-09-04 15:57:58 +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