diff options
| author | lucaslin <lucaslin@google.com> | 2022-01-27 09:07:00 +0800 |
|---|---|---|
| committer | Chalard Jean <jchalard@google.com> | 2022-02-12 15:21:13 +0900 |
| commit | c582d50b8ec4052baa2d12d7b8436e2234010385 (patch) | |
| tree | b1f07c7e88eb4fa3259c96b04ef51b583abdee87 /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | ec05b337aa6c368bd5fcc1848130db457b895db2 (diff) | |
Add new methods to redact NetworkCapabilities & LinkProperties
Some system components like VPN need to know how to redact
NetworkCapabilities & LinkProperties that they received from
the system but need to send to third-party applications with
less privilege than themselves. To make sure the redaction is
consistent, expose system API methods to do it that are wired
to the same redaction code used by ConnectivityService.
Bug: 191413541
Test: atest CtsNetTestCases, which includes new CTS for these
Change-Id: Ia3ae4755b5192884c147d6828f96cedac000a25b
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
