Searched refs:allowedPackages (Results 1 – 4 of 4) sorted by relevance
38 ArrayList<String> allowedPackages = new ArrayList<String>(); in getAllowedPackages() local39 allowedPackages.add("com.android.onemedia"); in getAllowedPackages()40 return allowedPackages; in getAllowedPackages()
776 List<String> allowedPackages = new ArrayList<>(); in testGetAllowedPackages() local777 allowedPackages.add("this.is.a.package.name"); in testGetAllowedPackages()778 allowedPackages.add("another.package"); in testGetAllowedPackages()779 allowedPackages.add("secondary"); in testGetAllowedPackages()780 allowedPackages.add("this.is.another.package"); in testGetAllowedPackages()781 allowedPackages.add("package"); in testGetAllowedPackages()782 allowedPackages.add("component"); in testGetAllowedPackages()783 allowedPackages.add("bananas!"); in testGetAllowedPackages()786 assertEquals(allowedPackages.size(), actual.size()); in testGetAllowedPackages()787 for (String pkg : allowedPackages) { in testGetAllowedPackages()
545 final List<String> allowedPackages = new ArrayList<>(); in getAllowedPackages() local554 allowedPackages.add(pkgName); in getAllowedPackages()559 return allowedPackages; in getAllowedPackages()822 final Set<String> allowedPackages = new ArraySet<>(); in getAllowedPackages() local831 allowedPackages.add(pkgName); in getAllowedPackages()837 return allowedPackages; in getAllowedPackages()
708 PackageAssociationInfo(String sourcePackage, ArraySet<String> allowedPackages, in PackageAssociationInfo() argument711 mAllowedPackageAssociations = allowedPackages; in PackageAssociationInfo()