Searched refs:allowedPackages (Results 1 – 8 of 8) sorted by relevance
48 Set<String> allowedPackages = in removeAllowedPackages() local59 allowedPackages.retainAll(allowedApps); in removeAllowedPackages()63 packages.removeAll(allowedPackages); in removeAllowedPackages()
59 String[] allowedPackages = new String[1]; in setUp() local60 allowedPackages[0] = ALLOWED_PACKAGE_NAME; in setUp()61 when(mMockResources.getStringArray(anyInt())).thenReturn(allowedPackages); in setUp()
222 List<String> allowedPackages = new ArrayList<>(Arrays.asList( in shouldEnableBTScanning() local224 allowedPackages.add(settingsPackageName); in shouldEnableBTScanning()225 allowedPackages.add(systemUiPackageName); in shouldEnableBTScanning()227 for (String allowedPackage : allowedPackages) { in shouldEnableBTScanning()
71 ImmutableSet<String> allowedPackages = ImmutableSet.of(); in load() local74 allowedPackages = pluginHost.getClassLoaderAllowedPackages(info.taskName()); in load()83 allowedPackages); in load()
157 List<String> allowedPackages = AppSearchDao.getAllowedPackages(mAdServicesPackageName); in testGetAllowedPackages_noOverride() local159 assertThat(allowedPackages.size()).isEqualTo(1); in testGetAllowedPackages_noOverride()160 assertThat(allowedPackages.get(0)).isEqualTo(expected); in testGetAllowedPackages_noOverride()168 List<String> allowedPackages = AppSearchDao.getAllowedPackages(mAdServicesPackageName); in testGetAllowedPackages_withOverride() local170 assertThat(allowedPackages.size()).isEqualTo(1); in testGetAllowedPackages_withOverride()171 assertThat(allowedPackages.get(0)).isEqualTo(allowedPackage); in testGetAllowedPackages_withOverride()
70 @Param(id = 1) @NonNull List<PackageIdentifierParcel> allowedPackages, in SchemaVisibilityConfig()73 mAllowedPackages = Objects.requireNonNull(allowedPackages); in SchemaVisibilityConfig()
330 List<String[]> allowedPackages = mAllowedPackages.getAllValues(); in assertDisableLockTaskMode() local331 assertThat(allowedPackages.get(0)).isEqualTo(new String[]{""}); in assertDisableLockTaskMode()332 assertThat(allowedPackages.get(1)).isEqualTo(new String[0]); in assertDisableLockTaskMode()
187 List<String> allowedPackages = getAllowedPackages(adServicesPackageName); in readData() local191 .addFilterPackageNames(allowedPackages) in readData()