Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileCalendarTest.java49 Set<String> allowlist = mDevicePolicyManager.getCrossProfileCalendarPackages( in testCrossProfileCalendarPackage() local
51 assertThat(allowlist).isEmpty(); in testCrossProfileCalendarPackage()
55 allowlist = mDevicePolicyManager.getCrossProfileCalendarPackages( in testCrossProfileCalendarPackage()
57 assertThat(allowlist.size()).isEqualTo(1); in testCrossProfileCalendarPackage()
58 assertThat(allowlist.contains(MANAGED_PROFILE_PKG)).isTrue(); in testCrossProfileCalendarPackage()
62 allowlist = mDevicePolicyManager.getCrossProfileCalendarPackages( in testCrossProfileCalendarPackage()
64 assertThat(allowlist).isEmpty(); in testCrossProfileCalendarPackage()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnMultiStageTest.java59 final Set<String> allowlist = in testAlwaysOnSetAfterReboot() local
63 assertNotNull("allowlist is lost after reboot", allowlist); in testAlwaysOnSetAfterReboot()
65 Collections.singleton(mContext.getPackageName()), allowlist); in testAlwaysOnSetAfterReboot()
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyCameraTest.kt78 private fun setCameraPrivacyAllowlist(allowlist: List<String>) { in setCameraPrivacyAllowlist()
80 spm.setCameraPrivacyAllowlist(allowlist) in setCameraPrivacyAllowlist()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2449 private static boolean setSafeBrowsingAllowlistSync(List<String> allowlist) { in setSafeBrowsingAllowlistSync() argument
2452 allowlist, in setSafeBrowsingAllowlistSync()
2470 List allowlist = new ArrayList<String>(); in testSetSafeBrowsingAllowlistWithMalformedList() local
2472 allowlist.add("http://google.com"); in testSetSafeBrowsingAllowlistWithMalformedList()
2473 assertFalse("Malformed list entry should fail", setSafeBrowsingAllowlistSync(allowlist)); in testSetSafeBrowsingAllowlistWithMalformedList()
2483 List allowlist = new ArrayList<String>(); in testSetSafeBrowsingAllowlistWithValidList() local
2484 allowlist.add("safe-browsing"); in testSetSafeBrowsingAllowlistWithValidList()
2485 assertTrue("Valid allowlist should be successful", setSafeBrowsingAllowlistSync(allowlist)); in testSetSafeBrowsingAllowlistWithValidList()