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.java122 public void pinShortcuts(@UserIdInt int packageUserId, in pinShortcuts() argument
130 final PackageWithUser pu = PackageWithUser.of(packageUserId, packageName); in pinShortcuts()
170 @UserIdInt int packageUserId) { in getPinnedShortcutIds() argument
171 return mPinnedShortcuts.get(PackageWithUser.of(packageUserId, packageName)); in getPinnedShortcutIds()
186 public void addPinnedShortcut(@NonNull String packageName, @UserIdInt int packageUserId, in addPinnedShortcut() argument
188 final ArraySet<String> pinnedSet = getPinnedShortcutIds(packageName, packageUserId); in addPinnedShortcut()
198 pinShortcuts(packageUserId, packageName, pinnedList, forPinRequest); in addPinnedShortcut()
201 boolean cleanUpPackage(String packageName, @UserIdInt int packageUserId) { in cleanUpPackage() argument
202 return mPinnedShortcuts.remove(PackageWithUser.of(packageUserId, packageName)) != null; in cleanUpPackage()
291 final int packageUserId = fromBackup ? ownerUserId in loadFromXml() local
[all …]
DShortcutPackageItem.java47 int packageUserId, @NonNull String packageName, in ShortcutPackageItem() argument
50 mPackageUserId = packageUserId; in ShortcutPackageItem()
DShortcutUser.java197 @UserIdInt int packageUserId, @NonNull String packageName) { in removeLauncher()
198 return mLaunchers.remove(PackageWithUser.of(packageUserId, packageName)); in removeLauncher()
253 public void forPackageItem(@NonNull String packageName, @UserIdInt int packageUserId, in forPackageItem() argument
256 if ((spi.getPackageUserId() == packageUserId) in forPackageItem()
327 @UserIdInt int packageUserId) { in attemptToRestoreIfNeededAndSave() argument
328 forPackageItem(packageName, packageUserId, spi -> { in attemptToRestoreIfNeededAndSave()
DShortcutService.java2435 private void cleanUpPackageForAllLoadedUsers(String packageName, @UserIdInt int packageUserId, in cleanUpPackageForAllLoadedUsers() argument
2439 cleanUpPackageLocked(packageName, user.getUserId(), packageUserId, in cleanUpPackageForAllLoadedUsers()
2453 void cleanUpPackageLocked(String packageName, int owningUserId, int packageUserId, in cleanUpPackageLocked() argument
2461 if (packageUserId == owningUserId) { in cleanUpPackageLocked()
2468 user.removeLauncher(packageUserId, packageName); in cleanUpPackageLocked()
2471 user.forAllLaunchers(l -> l.cleanUpPackage(packageName, packageUserId)); in cleanUpPackageLocked()
2484 if (appStillExists && (packageUserId == owningUserId)) { in cleanUpPackageLocked()
3028 private void handlePackageRemoved(String packageName, @UserIdInt int packageUserId) { in handlePackageRemoved() argument
3031 packageUserId)); in handlePackageRemoved()
3033 cleanUpPackageForAllLoadedUsers(packageName, packageUserId, /* appStillExists = */ false); in handlePackageRemoved()
[all …]
DShortcutPackageInfo.java165 ShortcutService s, String packageName, @UserIdInt int packageUserId) { in generateForInstalledPackageForTest() argument
166 final PackageInfo pi = s.getPackageInfoWithSignatures(packageName, packageUserId); in generateForInstalledPackageForTest()
DShortcutPackage.java128 int packageUserId, String packageName, ShortcutPackageInfo spi) { in ShortcutPackage() argument
129 super(shortcutUser, packageUserId, packageName, in ShortcutPackage()
132 mPackageUid = shortcutUser.mService.injectGetPackageUid(packageName, packageUserId); in ShortcutPackage()
135 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage() argument
136 this(shortcutUser, packageUserId, packageName, null); in ShortcutPackage()
DPackageManagerService.java1638 int packageUserId = mPendingBroadcasts.userIdAt(n); in doHandleMessage() local
1640 = mPendingBroadcasts.packagesForUserId(packageUserId) in doHandleMessage()
1648 ? UserHandle.getUid(packageUserId, ps.appId) in doHandleMessage()