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.java359 ArrayMap<Boolean, ArraySet<String>> allowedByType = mApproved.get(userId); in setPackageOrComponentEnabled() local
360 if (allowedByType == null) { in setPackageOrComponentEnabled()
361 allowedByType = new ArrayMap<>(); in setPackageOrComponentEnabled()
362 mApproved.put(userId, allowedByType); in setPackageOrComponentEnabled()
364 ArraySet<String> approved = allowedByType.get(isPrimary); in setPackageOrComponentEnabled()
367 allowedByType.put(isPrimary, approved); in setPackageOrComponentEnabled()
394 final ArrayMap<Boolean, ArraySet<String>> allowedByType = in getApproved() local
396 ArraySet<String> approved = allowedByType.getOrDefault(primary, new ArraySet<>()); in getApproved()
402 final ArrayMap<Boolean, ArraySet<String>> allowedByType = in getAllowedComponents() local
404 for (int i = 0; i < allowedByType.size(); i++) { in getAllowedComponents()
[all …]