Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java108 boolean lockdown, boolean whitelist) { in waitForVpn() argument
124 isLockdown.set(intent.getBooleanExtra(EXTRA_LOCKDOWN, !lockdown)); in waitForVpn()
133 setAlwaysOnVpn(context, packageName, lockdown, whitelist); in waitForVpn()
141 assertEquals("Wrong VpnService#isLockdownEnabled()", lockdown, isLockdown.get()); in waitForVpn()
157 Context context, String packageName, boolean lockdown, boolean whitelist) in setAlwaysOnVpn() argument
161 if (lockdown) { in setAlwaysOnVpn()
168 ADMIN_RECEIVER_COMPONENT, packageName, lockdown, lockdownWhitelist); in setAlwaysOnVpn()
170 assertEquals(lockdown, dpm.isAlwaysOnVpnLockdownEnabled(ADMIN_RECEIVER_COMPONENT)); in setAlwaysOnVpn()