commit | 4812a3ab7a7333bd847b17229f6b70b376ff80d7 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Wed May 12 17:13:46 2021 +0800 |
committer | Ken Chen <cken@google.com> | Wed May 12 17:34:34 2021 +0800 |
tree | 3b29279775f8b8dc82654a7bdd45037d148d3a78 | |
parent | 4e6ae315aca01e2e661ae190a70499967b83347a [diff] |
Add testVpnTypesEqual to verify consistency VPN types are defined in both VpnManager.java and NativeVpnType.aidl. The definitions on both sides should match (except TYPE_VPN_NONE). VpnManager.java: TYPE_VPN_NONE = -1 TYPE_VPN_SERVICE = 1 TYPE_VPN_PLATFORM = 2 TYPE_VPN_LEGACY = 3 TYPE_VPN_OEM = 4 NativeVpnType.aidl: SERVICE = 1 PLATFORM = 2 LEGACY = 3 OEM = 4 Bug: N/A Test: atest android.net.VpnManagerTest#testVpnTypesEqual Change-Id: Ie618e227d861100c5318da696140e486af1093a0