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.java99 public void pinShortcuts(@NonNull ShortcutService s, @UserIdInt int packageUserId, in pinShortcuts() argument
102 s.getPackageShortcutsLocked(packageName, packageUserId); in pinShortcuts()
104 final PackageWithUser pu = PackageWithUser.of(packageUserId, packageName); in pinShortcuts()
136 @UserIdInt int packageUserId) { in getPinnedShortcutIds() argument
137 return mPinnedShortcuts.get(PackageWithUser.of(packageUserId, packageName)); in getPinnedShortcutIds()
140 boolean cleanUpPackage(String packageName, @UserIdInt int packageUserId) { in cleanUpPackage() argument
141 return mPinnedShortcuts.remove(PackageWithUser.of(packageUserId, packageName)) != null; in cleanUpPackage()
216 final int packageUserId = fromBackup ? ownerUserId in loadFromXml() local
221 PackageWithUser.of(packageUserId, packageName), ids); in loadFromXml()
284 ArraySet<String> getAllPinnedShortcutsForTest(String packageName, int packageUserId) { in getAllPinnedShortcutsForTest() argument
[all …]
DShortcutUser.java140 @UserIdInt int packageUserId, @NonNull String packageName) { in removeLauncher()
141 return mLaunchers.remove(PackageWithUser.of(packageUserId, packageName)); in removeLauncher()
187 public void forPackageItem(@NonNull String packageName, @UserIdInt int packageUserId, in forPackageItem() argument
190 if ((spi.getPackageUserId() == packageUserId) in forPackageItem()
227 @UserIdInt int packageUserId) { in attemptToRestoreIfNeededAndSave() argument
228 forPackageItem(packageName, packageUserId, spi -> { in attemptToRestoreIfNeededAndSave()
DShortcutPackageItem.java40 int packageUserId, @NonNull String packageName, in ShortcutPackageItem() argument
43 mPackageUserId = packageUserId; in ShortcutPackageItem()
DShortcutPackageInfo.java108 ShortcutService s, String packageName, @UserIdInt int packageUserId) { in generateForInstalledPackage() argument
109 final PackageInfo pi = s.getPackageInfoWithSignatures(packageName, packageUserId); in generateForInstalledPackage()
DShortcutPackage.java102 int packageUserId, String packageName, ShortcutPackageInfo spi) { in ShortcutPackage() argument
103 super(shortcutUser, packageUserId, packageName, in ShortcutPackage()
106 mPackageUid = s.injectGetPackageUid(packageName, packageUserId); in ShortcutPackage()
110 int packageUserId, String packageName) { in ShortcutPackage() argument
111 this(s, shortcutUser, packageUserId, packageName, null); in ShortcutPackage()
DShortcutService.java1681 private void cleanUpPackageForAllLoadedUsers(String packageName, @UserIdInt int packageUserId) { in cleanUpPackageForAllLoadedUsers() argument
1684 cleanUpPackageLocked(packageName, user.getUserId(), packageUserId)); in cleanUpPackageForAllLoadedUsers()
1696 void cleanUpPackageLocked(String packageName, int owningUserId, int packageUserId) { in cleanUpPackageLocked() argument
1703 if (packageUserId == owningUserId) { in cleanUpPackageLocked()
1710 user.removeLauncher(packageUserId, packageName); in cleanUpPackageLocked()
1713 user.forAllLaunchers(l -> l.cleanUpPackage(packageName, packageUserId)); in cleanUpPackageLocked()
2053 private void handlePackageRemoved(String packageName, @UserIdInt int packageUserId) { in handlePackageRemoved() argument
2056 packageUserId)); in handlePackageRemoved()
2058 cleanUpPackageForAllLoadedUsers(packageName, packageUserId); in handlePackageRemoved()
2061 private void handlePackageDataCleared(String packageName, int packageUserId) { in handlePackageDataCleared() argument
[all …]
DPackageManagerService.java1541 int packageUserId = mPendingBroadcasts.userIdAt(n); in doHandleMessage() local
1543 = mPendingBroadcasts.packagesForUserId(packageUserId) in doHandleMessage()
1551 ? UserHandle.getUid(packageUserId, ps.appId) in doHandleMessage()