Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterImpl.java617 String usesPermissionName = usesPermission.getName(); in addPackageInternal() local
620 if (mPermissionToUids.containsKey(usesPermissionName)) { in addPackageInternal()
622 mPermissionToUids.get(usesPermissionName); in addPackageInternal()
633 if (!mUsesPermissionToUids.containsKey(usesPermissionName)) { in addPackageInternal()
634 mUsesPermissionToUids.put(usesPermissionName, new ArraySet<>()); in addPackageInternal()
636 mUsesPermissionToUids.get(usesPermissionName).add(newPkgSetting.getAppId()); in addPackageInternal()
1160 String usesPermissionName = usesPermission.getName(); in removePackageInternal() local
1161 if (mUsesPermissionToUids.containsKey(usesPermissionName)) { in removePackageInternal()
1162 mUsesPermissionToUids.get(usesPermissionName).remove(setting.getAppId()); in removePackageInternal()
1163 if (mUsesPermissionToUids.get(usesPermissionName).isEmpty()) { in removePackageInternal()
[all …]