Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java482 ArrayMap<Boolean, ArraySet<String>> allowedByType = mApproved.get(userId); in setPackageOrComponentEnabled() local
483 if (allowedByType == null) { in setPackageOrComponentEnabled()
484 allowedByType = new ArrayMap<>(); in setPackageOrComponentEnabled()
485 mApproved.put(userId, allowedByType); in setPackageOrComponentEnabled()
487 ArraySet<String> approved = allowedByType.get(isPrimary); in setPackageOrComponentEnabled()
490 allowedByType.put(isPrimary, approved); in setPackageOrComponentEnabled()
519 final ArrayMap<Boolean, ArraySet<String>> allowedByType = in getApproved() local
521 ArraySet<String> approved = allowedByType.getOrDefault(primary, new ArraySet<>()); in getApproved()
529 final ArrayMap<Boolean, ArraySet<String>> allowedByType = in getAllowedComponents() local
531 for (int i = 0; i < allowedByType.size(); i++) { in getAllowedComponents()
[all …]