Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java112 Set<String> packagesToDelete = mDevicePolicyManager.getDisallowedSystemApps( in getSystemAppsToRemove() local
115 return packagesToDelete; in getSystemAppsToRemove()
117 filterOutSystemAppsFromOta(packagesToDelete, userId); in getSystemAppsToRemove()
118 return packagesToDelete; in getSystemAppsToRemove()
124 private void filterOutSystemAppsFromOta(Set<String> packagesToDelete, int userId) { in filterOutSystemAppsFromOta() argument
131 packagesToDelete.retainAll(newSystemApps); in filterOutSystemAppsFromOta()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDeleteNonRequiredAppsTask.java97 Set<String> packagesToDelete = mLogic.getSystemAppsToRemove(userId); in run() local
101 removeNonInstalledPackages(packagesToDelete, userId); in run()
103 if (packagesToDelete.isEmpty()) { in run()
109 new PackageDeleteObserver(packagesToDelete.size()); in run()
110 for (String packageName : packagesToDelete) { in run()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DDatabaseWidgetPreviewLoader.java250 LongSparseArray<HashSet<String>> packagesToDelete = new LongSparseArray<>(); in removeObsoletePreviews() local
281 packages = packagesToDelete.get(userId); in removeObsoletePreviews()
284 packagesToDelete.put(userId, packages); in removeObsoletePreviews()
289 for (int i = 0; i < packagesToDelete.size(); i++) { in removeObsoletePreviews()
290 long userId = packagesToDelete.keyAt(i); in removeObsoletePreviews()
292 for (String pkg : packagesToDelete.valueAt(i)) { in removeObsoletePreviews()