android_packages_modules_Co.../tests/net/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chalard Jean face022980 Fix testLegacyLockdownVpn flaky
When WiFi disconnects, the VPN disconnects immediately. The
broadcast can therefore be sent before the broadcast receiver is
registered, which causes the receiver to not see the broadcast.

The puzzling part is that CONNECTIVITY_ACTION is a sticky
broadcast, so one would expect the broadcast to still be
received, even if the registration is done after the broadcast
is sent. The reason this doesn't happen is that the context used
by the test is a BroadcastInterceptingContext, which does not
treat sticky broadcasts as sticky.

Bug: 184115648
Test: atest --iterations 1000 'ConnectivityServiceTest#testLegacyLockdownVpn'
Change-Id: Ib44c92839d25951cc7d2db0f923e1b104690e1e0
2021-04-01 06:27:46 +00:00
..
connectivity Add static for constant 2021-03-25 10:16:34 +00:00
net Support Dual ViLTE stats 2021-03-15 10:00:59 +08:00
ConnectivityServiceTest.java Fix testLegacyLockdownVpn flaky 2021-04-01 06:27:46 +00:00
IpSecServiceParameterizedTest.java Merge changes I852e3a53,I86755647,I0ed8b0c6 2021-02-22 06:49:39 +00:00
IpSecServiceRefcountedResourceTest.java Remove unused INetworkManagementService from IpSecService 2021-02-08 08:05:00 +00:00
IpSecServiceTest.java Add a new API to get the network ID range of IPSec tunnel interface 2021-03-12 00:46:33 +08:00
LegacyTypeTrackerTest.kt Remove usage of networkAttributes 2021-03-16 16:01:40 +09:00
NetIdManagerTest.kt Move utils from network stack to libs. 2020-07-29 21:15:48 +09:00
NetworkManagementServiceTest.java Merge "[IT4.2] Update argument type of interfaceClassDataActivityChanged" 2020-12-28 01:05:28 +00:00
NsdServiceTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00