Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java167 ArrayMap<Pair<Integer, String>, Pair<Boolean, Boolean>> notifPermissions = new ArrayMap<>(); in getNotificationPermissionValues() local
171 notifPermissions.put(pair, new Pair(allApprovedUids.contains(pair), in getNotificationPermissionValues()
174 return notifPermissions; in getNotificationPermissionValues()
DPreferencesHelper.java618 ArrayMap<Pair<Integer, String>, Pair<Boolean, Boolean>> notifPermissions = new ArrayMap<>(); in writeXml() local
620 notifPermissions = mPermissionHelper.getNotificationPermissionValues(userId); in writeXml()
630 writePackageXml(r, out, notifPermissions, forBackup); in writeXml()
637 writePackageXml(r, out, notifPermissions, false); in writeXml()
642 if (!notifPermissions.isEmpty()) { in writeXml()
643 for (Pair<Integer, String> app : notifPermissions.keySet()) { in writeXml()
647 notifPermissions.get(app).first ? IMPORTANCE_DEFAULT : IMPORTANCE_NONE); in writeXml()
655 ArrayMap<Pair<Integer, String>, Pair<Boolean, Boolean>> notifPermissions, in writePackageXml() argument
660 if (!notifPermissions.isEmpty()) { in writePackageXml()
662 final Pair<Boolean, Boolean> permission = notifPermissions.get(app); in writePackageXml()
[all …]