Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompatVL.java155 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) { in onPackagesAvailable() argument
156 mCallback.onPackagesAvailable(packageNames, user, replacing); in onPackagesAvailable()
160 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument
162 mCallback.onPackagesUnavailable(packageNames, user, replacing); in onPackagesUnavailable()
166 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended() argument
167 mCallback.onPackagesSuspended(packageNames, user); in onPackagesSuspended()
171 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended() argument
172 mCallback.onPackagesUnsuspended(packageNames, user); in onPackagesUnsuspended()
DLauncherAppsCompat.java39 void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing); in onPackagesAvailable() argument
40 void onPackagesUnavailable(String[] packageNames, UserHandle user, boolean replacing); in onPackagesUnavailable() argument
41 void onPackagesSuspended(String[] packageNames, UserHandle user); in onPackagesSuspended() argument
42 void onPackagesUnsuspended(String[] packageNames, UserHandle user); in onPackagesUnsuspended() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java337 public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable() argument
340 new PackageUpdatedTask(PackageUpdatedTask.OP_UPDATE, user, packageNames)); in onPackagesAvailable()
344 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument
348 PackageUpdatedTask.OP_UNAVAILABLE, user, packageNames)); in onPackagesUnavailable()
353 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended() argument
355 PackageUpdatedTask.OP_SUSPEND, user, packageNames)); in onPackagesSuspended()
359 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended() argument
361 PackageUpdatedTask.OP_UNSUSPEND, user, packageNames)); in onPackagesUnsuspended()
DInstallShortcutReceiver.java111 public static void removeFromInstallQueue(Context context, HashSet<String> packageNames, in removeFromInstallQueue() argument
113 if (packageNames.isEmpty()) { in removeFromInstallQueue()
121 + ", removing packages: " + packageNames); in removeFromInstallQueue()
132 if (packageNames.contains(getIntentPackage(decoder.launcherIntent)) && in removeFromInstallQueue()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DRealSystemFacade.java101 String[] packageNames = packageManager.getPackagesForUid(uid); in isCleartextTrafficPermitted() local
102 if (ArrayUtils.isEmpty(packageNames)) { in isCleartextTrafficPermitted()
109 for (String packageName : packageNames) { in isCleartextTrafficPermitted()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsTestStreamingService.java80 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
81 if (packageNames == null) {
84 boolean isUidAllowed = Arrays.stream(packageNames).anyMatch(ALLOWED_PACKAGES::contains);
DEmbmsSampleDownloadService.java74 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
75 if (packageNames == null) {
78 boolean isUidAllowed = Arrays.stream(packageNames).anyMatch(ALLOWED_PACKAGES::contains);
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DPackageDeletionTask.java35 public PackageDeletionTask(PackageManager pm, Set<String> packageNames, Callback callback) { in PackageDeletionTask() argument
36 mPackages = packageNames; in PackageDeletionTask()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java281 final String[] packageNames = mPackageManager.getPackagesForUid(uid); in getPackageName() local
283 return ArrayUtils.isEmpty(packageNames) ? null : packageNames[0]; in getPackageName()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DItemInfoMatcher.java116 final HashSet<String> packageNames, final UserHandle user) {
120 return packageNames.contains(cn.getPackageName()) && info.user.equals(user);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DSystemAppsSnapshot.java100 private void writeSystemApps(Set<String> packageNames, File systemAppsFile) { in writeSystemApps() argument
107 for (String packageName : packageNames) { in writeSystemApps()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
DOverlayPackagesProviderTest.java348 private void setSystemInputMethods(String... packageNames) { in setSystemInputMethods() argument
350 for (String packageName : packageNames) { in setSystemInputMethods()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java168 public void bindComponentsRemoved(ArrayList<String> packageNames, in bindComponentsRemoved() argument
819 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) { in onPackagesAvailable() argument
822 PackageUpdatedTask.OP_ADD, packageNames, user)); in onPackagesAvailable()
831 PackageUpdatedTask.OP_UPDATE, packageNames, user)); in onPackagesAvailable()
836 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument
840 PackageUpdatedTask.OP_UNAVAILABLE, packageNames, user)); in onPackagesUnavailable()
DWorkspace.java3646 HashSet<String> packageNames = new HashSet<String>();
3647 packageNames.addAll(packages);
3662 if ((cn != null) && packageNames.contains(cn.getPackageName())
3670 if ((cn != null) && packageNames.contains(cn.getPackageName())
3678 if ((cn != null) && packageNames.contains(cn.getPackageName())
DLauncher.java3830 public void bindComponentsRemoved(final ArrayList<String> packageNames, in bindComponentsRemoved() argument
3835 bindComponentsRemoved(packageNames, appInfos, matchPackageNamesOnly, user); in bindComponentsRemoved()
3842 mWorkspace.removeItemsByPackageName(packageNames, user); in bindComponentsRemoved()