Searched refs:OPSTR_ACTIVATE_VPN (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/ |
D | VpnTest.java | 1246 AppOpsManager.OPSTR_ACTIVATE_PLATFORM_VPN, AppOpsManager.OPSTR_ACTIVATE_VPN); in testProvisionVpnProfileNotPreconsented() 1251 final Vpn vpn = createVpn(AppOpsManager.OPSTR_ACTIVATE_VPN); in testProvisionVpnProfileVpnServicePreconsented() 1253 checkProvisionVpnProfile(vpn, true /* expectedResult */, AppOpsManager.OPSTR_ACTIVATE_VPN); in testProvisionVpnProfileVpnServicePreconsented() 1357 final Vpn vpn = createVpn(AppOpsManager.OPSTR_ACTIVATE_VPN); in testStartVpnProfileVpnServicePreconsented() 1365 verify(mAppOps).noteOpNoThrow(AppOpsManager.OPSTR_ACTIVATE_VPN, Process.myUid(), in testStartVpnProfileVpnServicePreconsented() 1387 verify(mAppOps).noteOpNoThrow(AppOpsManager.OPSTR_ACTIVATE_VPN, Process.myUid(), in testStartVpnProfileNotConsented() 1467 final Vpn vpn = createVpn(SYSTEM_USER, AppOpsManager.OPSTR_ACTIVATE_VPN); in testStartOpWithSeamlessHandover() 1715 eq(AppOpsManager.OPSTR_ACTIVATE_VPN), in testSetPackageAuthorizationVpnService() 1741 eq(AppOpsManager.OPSTR_ACTIVATE_VPN), in testSetPackageAuthorizationRevokeAuthorization()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1342 AppOpsManager.OPSTR_ACTIVATE_VPN, in setPackageAuthorization() 1350 toChange = new String[] {AppOpsManager.OPSTR_ACTIVATE_VPN}; in setPackageAuthorization() 1400 return doesPackageHaveAppop(context, packageName, AppOpsManager.OPSTR_ACTIVATE_VPN); in isVpnServicePreConsented()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1627 OPSTR_ACTIVATE_VPN, 1785 public static final String OPSTR_ACTIVATE_VPN field in AppOpsManager 2777 new AppOpInfo.Builder(OP_ACTIVATE_VPN, OPSTR_ACTIVATE_VPN, "ACTIVATE_VPN")
|
/frameworks/base/core/api/ |
D | system-current.txt | 649 field public static final String OPSTR_ACTIVATE_VPN = "android:activate_vpn";
|