commit | 7087a4ac87394676fa9fc397071e18bf6f7da482 | [log] [tgz] |
---|---|---|
author | Benedict Wong <benedictwong@google.com> | Tue Apr 06 18:08:13 2021 -0700 |
committer | Benedict Wong <benedictwong@google.com> | Wed Apr 07 11:37:07 2021 -0700 |
tree | 4a21d870f397a253321b18695fa3f27595fd715e | |
parent | a4f28edac308ac45c8539b21eb52a1f44fe368dc [diff] |
Create proxy NetworkAgent for testing This change adds a proxy NetworkAgent to facilitate testing, adding the ability to test final methods such as sendNetworkCapabilities() and sendLinkProperties(), which would otherwise call a real implementation, and throw a null pointer while trying to access internal fields. Bug: 184579891 Bug: 184697651 Test: atest FrameworksVcnTests Change-Id: I8f13159bd266bf488f095a13d6ffe444bec65f38