Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DDebugModeFilterProvider.kt57 private var allowedPackages: List<String> = emptyList() variable
86 if (allowedPackages.isEmpty()) { in shouldFilterOut()
89 return entry.sbn.packageName !in allowedPackages in shouldFilterOut()
94 printCollection("allowedPackages", allowedPackages) in <lambda>()
108 allowedPackages = emptyList() in execute()
111 allowedPackages = args.drop(1) in execute()
116 Log.d(TAG, "Updated allowedPackages: $allowedPackages") in execute()
117 if (allowedPackages.isEmpty()) { in execute()
120 pw.print("Updating allowedPackages: $allowedPackages ... ") in execute()
/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/media/java/android/media/
DRouteDiscoveryPreference.java280 Set<String> allowedPackages = new HashSet<>(); in Builder() local
286 allowedPackages.addAll(preference.mAllowedPackages); in Builder()
294 mAllowedPackages = List.copyOf(allowedPackages); in Builder()
323 public Builder setAllowedPackages(@NonNull List<String> allowedPackages) { in setAllowedPackages() argument
324 Objects.requireNonNull(allowedPackages, "allowedPackages must not be null"); in setAllowedPackages()
325 mAllowedPackages = List.copyOf(allowedPackages); in setAllowedPackages()
DMediaRoute2Info.java1436 public Builder setVisibilityRestricted(@NonNull Set<String> allowedPackages) { in setVisibilityRestricted() argument
1438 mAllowedPackages = Set.copyOf(allowedPackages); in setVisibilityRestricted()
/frameworks/base/services/contentcapture/java/com/android/server/contentprotection/
DContentProtectionAllowlistManager.java108 Set<String> allowedPackages; in isAllowed() local
110 allowedPackages = mAllowedPackages; in isAllowed()
112 return allowedPackages.contains(packageName); in isAllowed()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java905 final Map<String, String[]> allowedPackages = getAllowedCompatModePackages(); in addCompatibilityModeRequestsLocked() local
909 if (allowedPackages == null || !allowedPackages.containsKey(packageName)) { in addCompatibilityModeRequestsLocked()
916 maxVersionCode, allowedPackages.get(packageName), userId); in addCompatibilityModeRequestsLocked()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java1702 PackageTagsList allowedPackages = null; in refreshAppOpsRestrictions() local
1713 allowedPackages = builder.build(); in refreshAppOpsRestrictions()
1722 allowedPackages, in refreshAppOpsRestrictions()
1728 allowedPackages, in refreshAppOpsRestrictions()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java916 final List<String> allowedPackages = new ArrayList<>(); in getAllowedPackages() local
925 allowedPackages.add(pkgName); in getAllowedPackages()
930 return allowedPackages; in getAllowedPackages()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1087 final List<String> allowedPackages = TextUtils.isEmpty(allowlistString) in loadAlwaysOnPackage() local
1090 alwaysOnPackage, alwaysOnLockdown, allowedPackages); in loadAlwaysOnPackage()