Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnMultiStageTest.java19 import static com.android.cts.deviceandprofileowner.vpn.VpnTestHelper.TEST_ADDRESS;
20 import static com.android.cts.deviceandprofileowner.vpn.VpnTestHelper.VPN_PACKAGE;
26 import com.android.cts.deviceandprofileowner.vpn.VpnTestHelper;
41 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testAlwaysOnSet()
43 assertTrue(VpnTestHelper.isNetworkVpn(mContext)); in testAlwaysOnSet()
44 VpnTestHelper.checkPing(TEST_ADDRESS); in testAlwaysOnSet()
48 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testAlwaysOnSetWithAllowlist()
50 assertTrue(VpnTestHelper.isNetworkVpn(mContext)); in testAlwaysOnSetWithAllowlist()
51 VpnTestHelper.checkPing(TEST_ADDRESS); in testAlwaysOnSetWithAllowlist()
56 VpnTestHelper.waitForVpn(mContext, null, in testAlwaysOnSetAfterReboot()
[all …]
DAlwaysOnVpnTest.java19 import static com.android.cts.deviceandprofileowner.vpn.VpnTestHelper.TEST_ADDRESS;
20 import static com.android.cts.deviceandprofileowner.vpn.VpnTestHelper.VPN_PACKAGE;
27 import com.android.cts.deviceandprofileowner.vpn.VpnTestHelper;
75 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testAlwaysOnVpn()
78 VpnTestHelper.checkPing(TEST_ADDRESS); in testAlwaysOnVpn()
98 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testAllowedApps()
100 assertTrue(VpnTestHelper.isNetworkVpn(mContext)); in testAllowedApps()
108 VpnTestHelper.waitForVpn(mContext, VPN_PACKAGE, in testDisallowedApps()
110 assertFalse(VpnTestHelper.isNetworkVpn(mContext)); in testDisallowedApps()
125 final BlockingBroadcastReceiver receiver = VpnTestHelper.registerOnStartReceiver(mContext); in testVpnLockdownUpdateAllowlist()
[all …]
DAlwaysOnVpnUnsupportedTest.java19 import static com.android.cts.deviceandprofileowner.vpn.VpnTestHelper.VPN_PACKAGE;
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java66 public class VpnTestHelper { class