Home
last modified time | relevance | path

Searched refs:VPN_PACKAGE (Results 1 – 5 of 5) 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 testVpnLockdownUpdateAllowlist()
128 mContext, VPN_PACKAGE, /* lockdown */ false, /* allowlist */ false); in testVpnLockdownUpdateAllowlist()
133 mContext, VPN_PACKAGE, /* lockdown */ true, /* allowlist */ false); in testVpnLockdownUpdateAllowlist()
[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 testAlwaysOnSetWithAllowlist()
70 assertEquals(VPN_PACKAGE, mDevicePolicyManager.getAlwaysOnVpnPackage( in testNetworkBlocked()
106 mDevicePolicyManager.setAlwaysOnVpnPackage(ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, in testSetNonExistingPackage()
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DVpnDisclosureTest.kt52 private const val VPN_PACKAGE = "com.android.cts.vpnfirewall" constant
53 private val VPN_CONTROL_ACTIVITY = ComponentName.createRelative(VPN_PACKAGE, ".VpnClient")
54 private const val ACTION_CONNECT_AND_FINISH = "$VPN_PACKAGE.action.CONNECT_AND_FINISH"
55 private const val ACTION_DISCONNECT_AND_FINISH = "$VPN_PACKAGE.action.DISCONNECT_AND_FINISH"
/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";