commit | f1b3c75b2e1c1974866d9a4bdf9c642054364ae8 | [log] [tgz] |
---|---|---|
author | Yan Yan <evitayan@google.com> | Thu Jun 02 20:29:13 2022 +0000 |
committer | Yan Yan <evitayan@google.com> | Thu Jun 09 18:50:04 2022 +0000 |
tree | d921f0495f8b96e59c9e4f22cacd17bc7004e05e | |
parent | b02eee5c35361d62fb30fa6e08ea939649488078 [diff] |
Make VPN more testable and update NC during network change This commit: - Updates the NetworkCapabilities with new underlying network during IKE Session re-establishment - Create wrapper classes for IkeSession and NetworkAgent - Allow injecting executor and NetworkAgent with the Dependencies class Bug: 192077544 Test: atest VpnTest(new tests) Change-Id: Ic0f0c54967f5f898f43ed126f4ef410adb2c1969