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.java200 @UserIdInt int packageUserId, @NonNull String packageName) { in removeLauncher()
201 return mLaunchers.remove(PackageWithUser.of(packageUserId, packageName)); in removeLauncher()
256 public void forPackageItem(@NonNull String packageName, @UserIdInt int packageUserId, in forPackageItem() argument
259 if ((spi.getPackageUserId() == packageUserId) in forPackageItem()
331 @UserIdInt int packageUserId) { in attemptToRestoreIfNeededAndSave() argument
332 forPackageItem(packageName, packageUserId, spi -> { in attemptToRestoreIfNeededAndSave()
DShortcutService.java2499 private void cleanUpPackageForAllLoadedUsers(String packageName, @UserIdInt int packageUserId, in cleanUpPackageForAllLoadedUsers() argument
2503 cleanUpPackageLocked(packageName, user.getUserId(), packageUserId, in cleanUpPackageForAllLoadedUsers()
2517 void cleanUpPackageLocked(String packageName, int owningUserId, int packageUserId, in cleanUpPackageLocked() argument
2525 if (packageUserId == owningUserId) { in cleanUpPackageLocked()
2532 user.removeLauncher(packageUserId, packageName); in cleanUpPackageLocked()
2535 user.forAllLaunchers(l -> l.cleanUpPackage(packageName, packageUserId)); in cleanUpPackageLocked()
2548 if (appStillExists && (packageUserId == owningUserId)) { in cleanUpPackageLocked()
3092 private void handlePackageRemoved(String packageName, @UserIdInt int packageUserId) { in handlePackageRemoved() argument
3095 packageUserId)); in handlePackageRemoved()
3097 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.java147 int packageUserId, String packageName, ShortcutPackageInfo spi) { in ShortcutPackage() argument
148 super(shortcutUser, packageUserId, packageName, in ShortcutPackage()
151 mPackageUid = shortcutUser.mService.injectGetPackageUid(packageName, packageUserId); in ShortcutPackage()
154 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage() argument
155 this(shortcutUser, packageUserId, packageName, null); in ShortcutPackage()
DPackageManagerService.java1507 int packageUserId = mPendingBroadcasts.userIdAt(n); in doHandleMessage() local
1509 = mPendingBroadcasts.packagesForUserId(packageUserId) in doHandleMessage()
1517 ? UserHandle.getUid(packageUserId, ps.appId) in doHandleMessage()