Home
last modified time | relevance | path

Searched refs:packageUserId (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java129 public void pinShortcuts(@UserIdInt int packageUserId, in pinShortcuts() argument
137 final UserPackage up = UserPackage.of(packageUserId, packageName); in pinShortcuts()
189 @UserIdInt int packageUserId) { in getPinnedShortcutIds() argument
192 UserPackage.of(packageUserId, packageName)); in getPinnedShortcutIds()
211 public void addPinnedShortcut(@NonNull String packageName, @UserIdInt int packageUserId, in addPinnedShortcut() argument
216 UserPackage.of(packageUserId, packageName)); in addPinnedShortcut()
226 pinShortcuts(packageUserId, packageName, pinnedList, forPinRequest); in addPinnedShortcut()
229 boolean cleanUpPackage(String packageName, @UserIdInt int packageUserId) { in cleanUpPackage() argument
231 return mPinnedShortcuts.remove(UserPackage.of(packageUserId, packageName)) != null; in cleanUpPackage()
365 final int packageUserId = fromBackup ? ownerUserId in loadFromXml() local
[all …]
DShortcutUser.java181 @UserIdInt int packageUserId, @NonNull String packageName) { in removeLauncher()
182 return mLaunchers.remove(UserPackage.of(packageUserId, packageName)); in removeLauncher()
236 public void forPackageItem(@NonNull String packageName, @UserIdInt int packageUserId, in forPackageItem() argument
239 if ((spi.getPackageUserId() == packageUserId) in forPackageItem()
315 @UserIdInt int packageUserId) { in attemptToRestoreIfNeededAndSave() argument
316 forPackageItem(packageName, packageUserId, spi -> { in attemptToRestoreIfNeededAndSave()
DShortcutPackageItem.java61 int packageUserId, @NonNull String packageName, in ShortcutPackageItem() argument
64 mPackageUserId = packageUserId; in ShortcutPackageItem()
DShortcutPackageInfo.java166 ShortcutService s, String packageName, @UserIdInt int packageUserId) { in generateForInstalledPackageForTest() argument
167 final PackageInfo pi = s.getPackageInfoWithSignatures(packageName, packageUserId); in generateForInstalledPackageForTest()
DShortcutService.java2902 private void cleanUpPackageForAllLoadedUsers(String packageName, @UserIdInt int packageUserId,
2906 cleanUpPackageLocked(packageName, user.getUserId(), packageUserId,
2920 void cleanUpPackageLocked(String packageName, int owningUserId, int packageUserId,
2927 final ShortcutPackage sp = (packageUserId == owningUserId)
2934 user.removeLauncher(packageUserId, packageName);
2937 user.forAllLaunchers(l -> l.cleanUpPackage(packageName, packageUserId));
2948 if (appStillExists && (packageUserId == owningUserId)) {
2953 if (!appStillExists && (packageUserId == owningUserId) && sp != null) {
3974 private void handlePackageRemoved(String packageName, @UserIdInt int packageUserId) {
3977 packageUserId));
[all …]
DShortcutPackage.java203 int packageUserId, String packageName, ShortcutPackageInfo spi) { in ShortcutPackage() argument
204 super(shortcutUser, packageUserId, packageName, in ShortcutPackage()
207 mPackageUid = shortcutUser.mService.injectGetPackageUid(packageName, packageUserId); in ShortcutPackage()
211 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage() argument
212 this(shortcutUser, packageUserId, packageName, null); in ShortcutPackage()
DInstallPackageHelper.java2802 final int packageUserId = userIdToPackagesToComponents.keyAt(n); in sendPendingBroadcasts() local
2811 ? UserHandle.getUid(packageUserId, ps.getAppId()) in sendPendingBroadcasts()