Lines Matching defs:packages
822 String[] packages = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
824 enqueuePackageUpdated(new PackageUpdatedTask(PackageUpdatedTask.OP_ADD, packages));
831 // If we are replacing then just update the packages in the list
833 packages));
838 String[] packages = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
840 PackageUpdatedTask.OP_UNAVAILABLE, packages));
842 // else, we are replacing the packages, so ignore this event and wait for
843 // EXTERNAL_APPLICATIONS_AVAILABLE to update the packages at that time
2020 public PackageUpdatedTask(int op, String[] packages) {
2022 mPackages = packages;
2028 final String[] packages = mPackages;
2029 final int N = packages.length;
2033 if (DEBUG_LOADERS) Log.d(TAG, "mAllAppsList.addPackage " + packages[i]);
2034 mBgAllAppsList.addPackage(context, packages[i]);
2039 if (DEBUG_LOADERS) Log.d(TAG, "mAllAppsList.updatePackage " + packages[i]);
2040 mBgAllAppsList.updatePackage(context, packages[i]);
2044 app.getWidgetPreviewCacheDb(), packages[i]);
2050 if (DEBUG_LOADERS) Log.d(TAG, "mAllAppsList.removePackage " + packages[i]);
2051 mBgAllAppsList.removePackage(packages[i]);
2055 app.getWidgetPreviewCacheDb(), packages[i]);
2110 new ArrayList<String>(Arrays.asList(packages));