android_packages_modules_Co.../tests/unit/java
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hansen Kurli 49f7ab9eeb Fill ConnectivityService in testDumpDoesNotCrash()
testDumpDoesNotCrash does not dump enough objects to have full
coverage. e.g. In b/303348620, it did not detect the crash since
there is no NetworkAgentInfo stored in ConnectivityService.

This change ensures ConnectivityService is filled with more
objects that will be dumped:
1. NetworkProvider
2. NetworkAgentInfo
3. NetworkOffer
4. Network preferences

Bug: 303348620
Test: atest FrameworksNetTests
Change-Id: I7e2f1954c91409f3bf0daf01300e34ce73e311cb
2023-10-26 18:35:33 +08:00
..
android [BR01.1] Support BpfNetMapsReader 2023-10-23 20:11:02 +08:00
com/android Fill ConnectivityService in testDumpDoesNotCrash() 2023-10-26 18:35:33 +08:00