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.java927 List<String> allowedPackages = new ArrayList<>(); in testGetAllowedPackages() local
928 allowedPackages.add("this.is.a.package.name"); in testGetAllowedPackages()
929 allowedPackages.add("another.package"); in testGetAllowedPackages()
930 allowedPackages.add("secondary"); in testGetAllowedPackages()
931 allowedPackages.add("this.is.another.package"); in testGetAllowedPackages()
932 allowedPackages.add("package"); in testGetAllowedPackages()
933 allowedPackages.add("component"); in testGetAllowedPackages()
934 allowedPackages.add("bananas!"); in testGetAllowedPackages()
937 assertEquals(allowedPackages.size(), actual.size()); in testGetAllowedPackages()
938 for (String pkg : allowedPackages) { in testGetAllowedPackages()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java733 final List<String> allowedPackages = new ArrayList<>(); in getAllowedPackages() local
742 allowedPackages.add(pkgName); in getAllowedPackages()
747 return allowedPackages; in getAllowedPackages()
1011 final Set<String> allowedPackages = new ArraySet<>(); in getAllowedPackages() local
1020 allowedPackages.add(pkgName); in getAllowedPackages()
1026 return allowedPackages; in getAllowedPackages()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java744 PackageAssociationInfo(String sourcePackage, ArraySet<String> allowedPackages, in PackageAssociationInfo() argument
747 mAllowedPackageAssociations = allowedPackages; in PackageAssociationInfo()