Home
last modified time | relevance | path

Searched refs:packageUser (Results 1 – 9 of 9) sorted by relevance

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/data/
DAutoRevokedPackagesLiveData.kt110 val packageUser = packagePermGroup.first to packagePermGroup.third in <lambda>() constant
111 packageAutoRevokedPermsList[packageUser]?.remove(packagePermGroup.second) in <lambda>()
112 if (packageAutoRevokedPermsList[packageUser]?.isEmpty() == true) { in <lambda>()
113 packageAutoRevokedPermsList.remove(packageUser) in <lambda>()
127 val packageUser = packagePermGroup.first to packagePermGroup.third in <lambda>() constant
137 packageAutoRevokedPermsList.getOrPut(packageUser) { mutableSetOf() } in <lambda>()
146 packageAutoRevokedPermsList[packageUser]?.remove(packagePermGroup.second) in <lambda>()
147 if (packageAutoRevokedPermsList[packageUser]?.isEmpty() == true) { in <lambda>()
148 packageAutoRevokedPermsList.remove(packageUser) in <lambda>()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java91 LauncherAppState app, @Nullable PackageUserKey packageUser) { in update() argument
103 for (AppWidgetProviderInfo widgetInfo : widgetManager.getAllProviders(packageUser)) { in update()
114 queryList(context, packageUser)) { in update()
118 setWidgetsAndShortcuts(widgetsAndShortcuts, app, packageUser); in update()
130 app.getWidgetCache().removeObsoletePreviews(widgetsAndShortcuts, packageUser); in update()
135 LauncherAppState app, @Nullable PackageUserKey packageUser) { in setWidgetsAndShortcuts() argument
145 if (packageUser == null) { in setWidgetsAndShortcuts()
151 if (item.packageName.equals(packageUser.mPackageName)) { in setWidgetsAndShortcuts()
164 if (nextWidget.componentName.getPackageName().equals(packageUser.mPackageName) in setWidgetsAndShortcuts()
165 && nextWidget.user.equals(packageUser.mUser)) { in setWidgetsAndShortcuts()
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DShortcutConfigActivityInfo.java174 Context context, @Nullable PackageUserKey packageUser) { in queryList() argument
181 if (packageUser == null) { in queryList()
186 users.add(packageUser.mUser); in queryList()
187 packageName = packageUser.mPackageName; in queryList()
201 if (packageUser == null || packageUser.mUser.equals(myUser)) { in queryList()
203 if (packageUser != null) { in queryList()
204 intent.setPackage(packageUser.mPackageName); in queryList()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetManagerHelper.java78 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders() argument
83 if (packageUser == null) { in getAllProviders()
89 packageUser.mPackageName, packageUser.mUser); in getAllProviders()
92 String pkg = packageUser.mPackageName; in getAllProviders()
95 mAppWidgetManager.getInstalledProvidersForProfile(packageUser.mUser) in getAllProviders()
98 Process.myUserHandle().equals(packageUser.mUser) in getAllProviders()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java233 @Nullable PackageUserKey packageUser) { in removeObsoletePreviews() argument
249 long passedUserId = packageUser == null ? 0 in removeObsoletePreviews()
250 : mUserCache.getSerialNumberForUser(packageUser.mUser); in removeObsoletePreviews()
263 if (packageUser != null && (!pkg.equals(packageUser.mPackageName) in removeObsoletePreviews()
DLauncherModel.java573 public void refreshAndBindWidgetsAndShortcuts(@Nullable final PackageUserKey packageUser) { in refreshAndBindWidgetsAndShortcuts() argument
577 dataModel.widgetsModel.update(app, packageUser); in refreshAndBindWidgetsAndShortcuts()
DLauncher.java2550 public void refreshAndBindWidgetsForPackageUser(@Nullable PackageUserKey packageUser) { in refreshAndBindWidgetsForPackageUser() argument
2551 mModel.refreshAndBindWidgetsAndShortcuts(packageUser); in refreshAndBindWidgetsForPackageUser()
/packages/apps/Launcher3/go/src/com/android/launcher3/model/
DWidgetsModel.java64 @Nullable PackageUserKey packageUser) { in update() argument
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java605 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo);
606 if (updatedDots.test(packageUser)) {