Home
last modified time | relevance | path

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

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DWhitelistTest.java24 import static android.contentcaptureservice.cts.Helper.toSet;
60 final CtsContentCaptureService service = enableService(toSet("not.me"), NO_ACTIVITIES); in testNotWhitelisted_byPackage()
67 toSet(ComponentName.createRelative(MY_PACKAGE, ".who.cares"))); in testNotWhitelisted_byActivity()
73 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byPackage()
80 toSet(OutOfProcessActivity.COMPONENT_NAME)); in testWhitelisted_byActivity()
88 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat()
93 toSet(ComponentName.createRelative(MY_PACKAGE, ".who.cares"))); in testRinseAndRepeat()
97 service.setContentCaptureWhitelist(NO_PACKAGES, toSet(OutOfProcessActivity.COMPONENT_NAME)); in testRinseAndRepeat()
DAbstractContentCaptureIntegrationTest.java23 import static android.contentcaptureservice.cts.Helper.toSet;
214 return enableService(toSet(MY_PACKAGE), /* whitelistedComponents= */ null); in enableService()
DHelper.java155 public static <T> ArraySet<T> toSet(@SuppressWarnings("unchecked") @Nullable T... objs) { in toSet() method in Helper
DCustomViewActivityTest.java31 import static android.contentcaptureservice.cts.Helper.toSet;
523 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testDisabledAfterLaunched()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DParentProfileTest.java139 .collect(Collectors.toSet()); in assertValidMethodNames()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java361 .collect(Collectors.toSet()); in assertAllSystemAppsInstalled()
368 .collect(Collectors.toSet()); in assertAllSystemAppsInstalled()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DProcStateAtomTests.java84 .flatMap(s -> s.stream()).collect(Collectors.toSet());
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceTest.java246 Set<String> expected = Stream.of("a", "b", "c").collect(Collectors.toSet()); in testPersistStringSet()
/cts/tests/tests/transition/src/android/transition/cts/
DActivityTransitionTest.java502 .collect(Collectors.toSet()); in getTargetViewIds()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java1848 .collect(Collectors.toSet()); in getValidSlotIndex()