diff options
| author | lifr <lifr@google.com> | 2021-03-24 18:38:37 +0800 |
|---|---|---|
| committer | lifr <lifr@google.com> | 2021-04-01 15:46:31 +0800 |
| commit | dbee04c12268898153748a224d1c0cb632ee1004 (patch) | |
| tree | 2c90c81ebc8b92171f6f47e6ef2759877b5132cf /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | d94dfbf0c23a8adae924e831227fb6253d87996e (diff) | |
Add session ID to VpnTransportInfo
- This will be visible only to apps with the NETWORK_SETTINGS
permissions (signature), and will be redacted for all other callers.
- This string is expected to be the same as set by
VpnService#setSession, and in general, VpnConfig.session. But it
will be a general API that Vpn.java can call when setting the
VpnTransportInfo.
- This string cannot be updated once the VPN NetworkAgent is connected.
Bug: 171872481
Test: atest ConnectivityServiceTest
atest VpnTransportInfoTest
atest android.net.cts.NetworkAgentTest
Change-Id: I8d09e25b83f7ee8be21ec9c9bd3c72a251f1370d
Merged-In: I8d09e25b83f7ee8be21ec9c9bd3c72a251f1370d
(cherry-picked from ag/14011912)
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
