Home
last modified time | relevance | path

Searched refs:isNetworkVpn (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnMultiStageTest.java43 assertTrue(VpnTestHelper.isNetworkVpn(mContext)); in testAlwaysOnSet()
50 assertTrue(VpnTestHelper.isNetworkVpn(mContext)); in testAlwaysOnSetWithAllowlist()
72 for(int i = 0; i < MAX_NUMBER_OF_ATTEMPTS && VpnTestHelper.isNetworkVpn(mContext); ++i) { in testNetworkBlocked()
75 assertFalse(VpnTestHelper.isNetworkVpn(mContext)); in testNetworkBlocked()
98 assertFalse(VpnTestHelper.isNetworkVpn(mContext)); in testAlwaysOnVpnDisabled()
DAlwaysOnVpnTest.java100 assertTrue(VpnTestHelper.isNetworkVpn(mContext)); in testAllowedApps()
110 assertFalse(VpnTestHelper.isNetworkVpn(mContext)); in testDisallowedApps()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java136 if (!isNetworkVpn(context)) { in waitForVpn()
175 public static boolean isNetworkVpn(Context context) { in isNetworkVpn() method in VpnTestHelper