Searched refs:OP_ACTIVATE_VPN (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 764 AppOpsManager.OP_ACTIVATE_PLATFORM_VPN, AppOpsManager.OP_ACTIVATE_VPN); in testProvisionVpnProfileNotPreconsented() 769 final Vpn vpn = createVpnAndSetupUidChecks(AppOpsManager.OP_ACTIVATE_VPN); in testProvisionVpnProfileVpnServicePreconsented() 771 checkProvisionVpnProfile(vpn, true /* expectedResult */, AppOpsManager.OP_ACTIVATE_VPN); in testProvisionVpnProfileVpnServicePreconsented() 855 final Vpn vpn = createVpnAndSetupUidChecks(AppOpsManager.OP_ACTIVATE_VPN); in testStartVpnProfileVpnServicePreconsented() 863 verify(mAppOps).noteOpNoThrow(AppOpsManager.OP_ACTIVATE_VPN, Process.myUid(), TEST_VPN_PKG); in testStartVpnProfileVpnServicePreconsented() 882 verify(mAppOps).noteOpNoThrow(AppOpsManager.OP_ACTIVATE_VPN, Process.myUid(), TEST_VPN_PKG); in testStartVpnProfileNotConsented() 941 eq(AppOpsManager.OP_ACTIVATE_VPN), in testSetPackageAuthorizationVpnService() 967 eq(AppOpsManager.OP_ACTIVATE_VPN), in testSetPackageAuthorizationRevokeAuthorization()
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 87 OP_ACTIVATE_VPN = 47, enumerator
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 903 AppOpsManager.OP_ACTIVATE_VPN, AppOpsManager.OP_ACTIVATE_PLATFORM_VPN in setPackageAuthorization() 910 toChange = new int[] {AppOpsManager.OP_ACTIVATE_VPN}; in setPackageAuthorization() 957 return doesPackageHaveAppop(context, packageName, AppOpsManager.OP_ACTIVATE_VPN); in isVpnServicePreConsented()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 736 public static final int OP_ACTIVATE_VPN = 47; field in AppOpsManager 1268 OP_ACTIVATE_VPN, // ACTIVATE_VPN
|