android_packages_modules_Co.../tests/net/java
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN ca33d197d9 Fix race when starting NetworkMonitor
NetworkMonitor obtained LinkProperties and NetworkCapabilities via
synchronous calls to ConnectivityManager after receiving an asynchronous
notification, which is prone to races: the network could be gone before
the LinkProperties/NetworkCapabilities can be fetched.

Fix the race by passing LinkProperties/NetworkCapabilities directly to
NetworkMonitor in the asynchronous notifications.

Test: atest FrameworksNetTests NetworkStackTests
Test: booted, WiFi works
Bug: 129375892
Change-Id: I200ac7ca6ff79590b11c9be705f650c92fd3cb63
2019-04-01 11:33:10 +09:00
..
android Merge changes from topic "vpn_data_accounting" 2019-03-29 00:40:53 +00:00
com/android Fix race when starting NetworkMonitor 2019-04-01 11:33:10 +09:00