Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/
DCleanupUtils.java48 Set<String> allowedPackages = in removeAllowedPackages() local
59 allowedPackages.retainAll(allowedApps); in removeAllowedPackages()
63 packages.removeAll(allowedPackages); in removeAllowedPackages()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothUtilsTest.java59 String[] allowedPackages = new String[1]; in setUp() local
60 allowedPackages[0] = ALLOWED_PACKAGE_NAME; in setUp()
61 when(mMockResources.getStringArray(anyInt())).thenReturn(allowedPackages); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothUtils.java222 List<String> allowedPackages = new ArrayList<>(Arrays.asList( in shouldEnableBTScanning() local
224 allowedPackages.add(settingsPackageName); in shouldEnableBTScanning()
225 allowedPackages.add(systemUiPackageName); in shouldEnableBTScanning()
227 for (String allowedPackage : allowedPackages) { in shouldEnableBTScanning()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DPluginExecutor.java71 ImmutableSet<String> allowedPackages = ImmutableSet.of(); in load() local
74 allowedPackages = pluginHost.getClassLoaderAllowedPackages(info.taskName()); in load()
83 allowedPackages); in load()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchDaoTest.java157 List<String> allowedPackages = AppSearchDao.getAllowedPackages(mAdServicesPackageName); in testGetAllowedPackages_noOverride() local
159 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() local
170 assertThat(allowedPackages.size()).isEqualTo(1); in testGetAllowedPackages_withOverride()
171 assertThat(allowedPackages.get(0)).isEqualTo(allowedPackage); in testGetAllowedPackages_withOverride()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSchemaVisibilityConfig.java70 @Param(id = 1) @NonNull List<PackageIdentifierParcel> allowedPackages, in SchemaVisibilityConfig()
73 mAllowedPackages = Objects.requireNonNull(allowedPackages); in SchemaVisibilityConfig()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DLockTaskModePolicyHandlerTest.java330 List<String[]> allowedPackages = mAllowedPackages.getAllValues(); in assertDisableLockTaskMode() local
331 assertThat(allowedPackages.get(0)).isEqualTo(new String[]{""}); in assertDisableLockTaskMode()
332 assertThat(allowedPackages.get(1)).isEqualTo(new String[0]); in assertDisableLockTaskMode()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchDao.java187 List<String> allowedPackages = getAllowedPackages(adServicesPackageName); in readData() local
191 .addFilterPackageNames(allowedPackages) in readData()