D | PermissionMonitor.java | 116 List<PackageInfo> apps = mPackageManager.getInstalledPackages(GET_PERMISSIONS); in startMonitoring() local 117 if (apps == null) { in startMonitoring() 122 for (PackageInfo app : apps) { in startMonitoring() 183 private void update(Set<Integer> users, Map<Integer, Boolean> apps, boolean add) { in update() argument 186 for (Entry<Integer, Boolean> app : apps.entrySet()) { in update() 246 Map<Integer, Boolean> apps = new HashMap<Integer, Boolean>(); in onAppAdded() local 247 apps.put(appUid, isSystem); in onAppAdded() 248 update(mUsers, apps, true); in onAppAdded() 263 Map<Integer, Boolean> apps = new HashMap<Integer, Boolean>(); in onAppRemoved() local 264 apps.put(appUid, NETWORK); // doesn't matter which permission we pick here in onAppRemoved() [all …]
|