android_packages_modules_Co.../tests/net/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chalard Jean 8c5e45895d 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
Change-Id: Id7d8bba486bada1a7ba5b0f152d2aa02e407f249
2020-05-07 12:07:03 +09:00
..
connectivity Make the Nat464Xlat tests more realistic. 2020-04-20 17:54:20 +09:00
net [SP27.3] Rename TestableNetworkStatsProvider 2020-04-15 19:01:13 +08:00
ConnectivityServiceTest.java Fix a bug where a spurious capabilities callback is sent. 2020-05-07 12:07:03 +09:00
IpSecServiceParameterizedTest.java Automatically set IPsec tunnel interface as up 2020-03-10 23:08:16 -07: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 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