Searched refs:mAllowedPackages (Results 1 – 2 of 2) sorted by relevance
54 final List<PackageIdentifierParcel> mAllowedPackages; field in SchemaVisibilityConfig73 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.Builder178 mAllowedPackages = new ArrayList<>(schemaVisibilityConfig.mAllowedPackages); in Builder()189 mAllowedPackages.add(packageIdentifier.getPackageIdentifierParcel()); in addAllowedPackage()[all …]
99 private ArgumentCaptor<String[]> mAllowedPackages; field in LockTaskModePolicyHandlerTest318 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()