summaryrefslogtreecommitdiff
path: root/framework-t/src/android/net/IpSecAlgorithm.java
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2021-09-09 16:21:45 +0800
committerLucas Lin <lucaslin@google.com>2021-12-22 07:03:31 +0000
commitf76481568dad11c17a5ed0114ce3d073f562741f (patch)
tree4c4bc7e8ba1758e7143878951f49105f6e36b6c6 /framework-t/src/android/net/IpSecAlgorithm.java
parentb5c6036c291feac62c611f0052edb9897f0cde61 (diff)
Add test for Vpn#prepare()
Add test for Vpn#prepare() to check if the SecurityException will be thrown when the caller is not the SYSTEM_UID and doesn't have CONTROL_VPN permission and its package doesn't match the oldPackage or the newPackage. Ignore-AOSP-First: It's a part of security patches. Bug: 191276656 Test: atest FrameworksNetTests:VpnTest Change-Id: Ibe0b245561b00442a6377fb849603f8b9026e9c4 Merged-In: Ibe0b245561b00442a6377fb849603f8b9026e9c4
Diffstat (limited to 'framework-t/src/android/net/IpSecAlgorithm.java')
0 files changed, 0 insertions, 0 deletions