Home
last modified time | relevance | path

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

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSchemaVisibilityConfig.java54 final List<PackageIdentifierParcel> mAllowedPackages; field in SchemaVisibilityConfig
73 mAllowedPackages = Objects.requireNonNull(allowedPackages); in SchemaVisibilityConfig()
82 mAllowedPackagesCached = new ArrayList<>(mAllowedPackages.size()); in getAllowedPackages()
83 for (int i = 0; i < mAllowedPackages.size(); i++) { in getAllowedPackages()
84 mAllowedPackagesCached.add(new PackageIdentifier(mAllowedPackages.get(i))); in getAllowedPackages()
143 return Objects.equals(mAllowedPackages, that.mAllowedPackages) in equals()
154 mAllowedPackages, mRequiredPermissions, mPubliclyVisibleTargetPackage); in hashCode()
162 private List<PackageIdentifierParcel> mAllowedPackages = new ArrayList<>(); field in SchemaVisibilityConfig.Builder
178 mAllowedPackages = new ArrayList<>(schemaVisibilityConfig.mAllowedPackages); in Builder()
189 mAllowedPackages.add(packageIdentifier.getPackageIdentifierParcel()); in addAllowedPackage()
[all …]
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DLockTaskModePolicyHandlerTest.java99 private ArgumentCaptor<String[]> mAllowedPackages; field in LockTaskModePolicyHandlerTest
318 verify(mMockDpm, times(3)).setLockTaskPackages(eq(null), mAllowedPackages.capture()); in assertLockTaskMode()
322 assertThat(mAllowedPackages.getValue()).isEqualTo(expectedAllowlistPackages); in assertLockTaskMode()
327 verify(mMockDpm, times(2)).setLockTaskPackages(eq(null), mAllowedPackages.capture()); in assertDisableLockTaskMode()
330 List<String[]> allowedPackages = mAllowedPackages.getAllValues(); in assertDisableLockTaskMode()