Searched refs:allowedByType (Results 1 – 1 of 1) sorted by relevance
482 ArrayMap<Boolean, ArraySet<String>> allowedByType = mApproved.get(userId); in setPackageOrComponentEnabled() local483 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() local521 ArraySet<String> approved = allowedByType.getOrDefault(primary, new ArraySet<>()); in getApproved()529 final ArrayMap<Boolean, ArraySet<String>> allowedByType = in getAllowedComponents() local531 for (int i = 0; i < allowedByType.size(); i++) { in getAllowedComponents()[all …]