Searched refs:packageUser (Results 1 – 12 of 12) sorted by relevance
84 …ublic List<ComponentWithLabel> update(LauncherAppState app, @Nullable PackageUserKey packageUser) { in update() argument96 for (AppWidgetProviderInfo widgetInfo : widgetManager.getAllProviders(packageUser)) { in update()107 .getCustomShortcutActivityList(packageUser)) { in update()111 setWidgetsAndShortcuts(widgetsAndShortcuts, app, packageUser); in update()123 app.getWidgetCache().removeObsoletePreviews(widgetsAndShortcuts, packageUser); in update()128 LauncherAppState app, @Nullable PackageUserKey packageUser) { in setWidgetsAndShortcuts() argument138 if (packageUser == null) { in setWidgetsAndShortcuts()144 if (item.packageName.equals(packageUser.mPackageName)) { in setWidgetsAndShortcuts()157 if (nextWidget.componentName.getPackageName().equals(packageUser.mPackageName) in setWidgetsAndShortcuts()158 && nextWidget.user.equals(packageUser.mUser)) { in setWidgetsAndShortcuts()
52 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders() argument56 if (packageUser == null) { in getAllProviders()69 .getInstalledProvidersForProfile(packageUser.mUser)); in getAllProviders()72 if (!iterator.next().provider.getPackageName().equals(packageUser.mPackageName)) { in getAllProviders()77 if (FeatureFlags.ENABLE_CUSTOM_WIDGETS && Process.myUserHandle().equals(packageUser.mUser) in getAllProviders()78 && mContext.getPackageName().equals(packageUser.mPackageName)) { in getAllProviders()
37 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders() argument41 if (packageUser == null) { in getAllProviders()44 return mAppWidgetManager.getInstalledProvidersForPackage(packageUser.mPackageName, in getAllProviders()45 packageUser.mUser); in getAllProviders()
188 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()190 if (packageUser != null && !packageUser.mUser.equals(Process.myUserHandle())) { in getCustomShortcutActivityList()196 if (packageUser == null || packageUser.mPackageName in getCustomShortcutActivityList()
66 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()72 if (packageUser == null) { in getCustomShortcutActivityList()77 users.add(packageUser.mUser); in getCustomShortcutActivityList()78 packageName = packageUser.mPackageName; in getCustomShortcutActivityList()
76 @Nullable PackageUserKey packageUser); in getAllProviders()
88 @Nullable PackageUserKey packageUser); in getCustomShortcutActivityList()
184 @Nullable PackageUserKey packageUser) { in removeObsoletePreviews() argument200 long passedUserId = packageUser == null ? 0 in removeObsoletePreviews()201 : mUserManager.getSerialNumberForUser(packageUser.mUser); in removeObsoletePreviews()214 if (packageUser != null && (!pkg.equals(packageUser.mPackageName) in removeObsoletePreviews()
558 public void refreshAndBindWidgetsAndShortcuts(@Nullable final PackageUserKey packageUser) { in refreshAndBindWidgetsAndShortcuts() argument562 dataModel.widgetsModel.update(app, packageUser); in refreshAndBindWidgetsAndShortcuts()
2427 public void refreshAndBindWidgetsForPackageUser(@Nullable PackageUserKey packageUser) { in refreshAndBindWidgetsForPackageUser() argument2428 mModel.refreshAndBindWidgetsAndShortcuts(packageUser); in refreshAndBindWidgetsForPackageUser()
59 @Nullable PackageUserKey packageUser) { in update() argument
496 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo);497 if (updatedDots.test(packageUser)) {