diff options
author | Cody Kesting <ckesting@google.com> | 2021-02-04 13:42:31 -0800 |
---|---|---|
committer | Cody Kesting <ckesting@google.com> | 2021-02-22 17:23:40 +0000 |
commit | f74c6031f118dbc0ebe007f66104aaef9c33a1a6 (patch) | |
tree | 0ac485295b057075e5c457a9b01b5e5f3952b961 /rs/java/android/renderscript/Program.java | |
parent | c70a7d6258ae37794a094399712afe0f6425b088 (diff) |
Expose VCN Network policy APIs.
This CL exposes APIs used for a) receiving VCN Network policy updates
and b) applying VCN Network policies to a given Network. Specifically,
these APIs should be used to receive notifications from VcnManager
whenever a VCN Network policy may have changed - generally, following a
VCN starting up, tearing down, or entering Safe Mode.
When a VcnNetworkPolicyListener is notified of a policy change, the
listener should query VcnManager#applyVcnNetworkPolicy to receive the
updated VcnNetworkPolicyResult. This policy result informs the listener
of their resulting NetworkCapabilities and also whether a Network
teardown is required as a consequence of the policy change.
Bug: 177020190
Test: atest FrameworksVcnTests
Change-Id: Ied78a57973a4ceaa7ef4cd9feee64478137497b8
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions