Home
last modified time | relevance | path

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

/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DOnePlayerService.java38 ArrayList<String> allowedPackages = new ArrayList<String>(); in getAllowedPackages() local
39 allowedPackages.add("com.android.onemedia"); in getAllowedPackages()
40 return allowedPackages; in getAllowedPackages()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java776 List<String> allowedPackages = new ArrayList<>(); in testGetAllowedPackages() local
777 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()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java545 final List<String> allowedPackages = new ArrayList<>(); in getAllowedPackages() local
554 allowedPackages.add(pkgName); in getAllowedPackages()
559 return allowedPackages; in getAllowedPackages()
822 final Set<String> allowedPackages = new ArraySet<>(); in getAllowedPackages() local
831 allowedPackages.add(pkgName); in getAllowedPackages()
837 return allowedPackages; in getAllowedPackages()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java708 PackageAssociationInfo(String sourcePackage, ArraySet<String> allowedPackages, in PackageAssociationInfo() argument
711 mAllowedPackageAssociations = allowedPackages; in PackageAssociationInfo()