Home
last modified time | relevance | path

Searched refs:VPN_PACKAGE (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnTest.java20 import static com.android.cts.deviceandprofileowner.vpn.VpnTestHelper.VPN_PACKAGE;
66 mDevicePolicyManager.setApplicationRestrictions(ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, in tearDown()
75 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testAlwaysOnVpn()
96 mDevicePolicyManager.setApplicationRestrictions(ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, in testAllowedApps()
98 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testAllowedApps()
106 mDevicePolicyManager.setApplicationRestrictions(ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, in testDisallowedApps()
108 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testDisallowedApps()
121 ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, restrictions); in testVpnLockdownUpdateWhitelist()
128 mContext, VPN_PACKAGE, /* lockdown */ false, /* whitelist */ false); in testVpnLockdownUpdateWhitelist()
133 mContext, VPN_PACKAGE, /* lockdown */ true, /* whitelist */ false); in testVpnLockdownUpdateWhitelist()
[all …]
DAlwaysOnVpnUnsupportedTest.java19 import static com.android.cts.deviceandprofileowner.vpn.VpnTestHelper.VPN_PACKAGE;
47 mDevicePolicyManager.setAlwaysOnVpnPackage(ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, true); in testSetSupportedVpnAlwaysOn()
49 VPN_PACKAGE, mDevicePolicyManager.getAlwaysOnVpnPackage(ADMIN_RECEIVER_COMPONENT)); in testSetSupportedVpnAlwaysOn()
55 mDevicePolicyManager.setAlwaysOnVpnPackage(ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, true); in testSetUnsupportedVpnAlwaysOn()
DAlwaysOnVpnMultiStageTest.java20 import static com.android.cts.deviceandprofileowner.vpn.VpnTestHelper.VPN_PACKAGE;
41 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testAlwaysOnSet()
48 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testAlwaysOnSetWithWhitelist()
70 assertEquals(VPN_PACKAGE, mDevicePolicyManager.getAlwaysOnVpnPackage( in testNetworkBlocked()
106 mDevicePolicyManager.setAlwaysOnVpnPackage(ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, in testSetNonExistingPackage()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java67 public static final String VPN_PACKAGE = "com.android.cts.vpnfirewall"; field in VpnTestHelper
70 private static final String ACTION_VPN_IS_UP = VPN_PACKAGE + ".VPN_IS_UP";
72 private static final String ACTION_VPN_ON_START = VPN_PACKAGE + ".VPN_ON_START";