Searched refs:OP_ACTIVATE_PLATFORM_VPN (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 739 final Vpn vpn = createVpnAndSetupUidChecks(AppOpsManager.OP_ACTIVATE_PLATFORM_VPN); in testProvisionVpnProfileNoIpsecTunnels() 743 vpn, true /* expectedResult */, AppOpsManager.OP_ACTIVATE_PLATFORM_VPN); in testProvisionVpnProfileNoIpsecTunnels() 751 final Vpn vpn = createVpnAndSetupUidChecks(AppOpsManager.OP_ACTIVATE_PLATFORM_VPN); in testProvisionVpnProfilePreconsented() 754 vpn, true /* expectedResult */, AppOpsManager.OP_ACTIVATE_PLATFORM_VPN); in testProvisionVpnProfilePreconsented() 764 AppOpsManager.OP_ACTIVATE_PLATFORM_VPN, AppOpsManager.OP_ACTIVATE_VPN); in testProvisionVpnProfileNotPreconsented() 776 final Vpn vpn = createVpnAndSetupUidChecks(AppOpsManager.OP_ACTIVATE_PLATFORM_VPN); in testProvisionVpnProfileTooLarge() 792 restrictedProfileA, AppOpsManager.OP_ACTIVATE_PLATFORM_VPN); in testProvisionVpnProfileRestrictedUser() 815 restrictedProfileA, AppOpsManager.OP_ACTIVATE_PLATFORM_VPN); in testDeleteVpnProfileRestrictedUser() 838 final Vpn vpn = createVpnAndSetupUidChecks(AppOpsManager.OP_ACTIVATE_PLATFORM_VPN); in testStartVpnProfile() 848 eq(AppOpsManager.OP_ACTIVATE_PLATFORM_VPN), in testStartVpnProfile() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 903 AppOpsManager.OP_ACTIVATE_VPN, AppOpsManager.OP_ACTIVATE_PLATFORM_VPN in setPackageAuthorization() 907 toChange = new int[] {AppOpsManager.OP_ACTIVATE_PLATFORM_VPN}; in setPackageAuthorization() 961 return doesPackageHaveAppop(context, packageName, AppOpsManager.OP_ACTIVATE_PLATFORM_VPN) in isVpnProfilePreConsented()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 864 public static final int OP_ACTIVATE_PLATFORM_VPN = 91; field in AppOpsManager 1312 OP_ACTIVATE_PLATFORM_VPN, // ACTIVATE_PLATFORM_VPN
|