Searched refs:packageUserId (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutLauncher.java | 130 public void pinShortcuts(@UserIdInt int packageUserId, in pinShortcuts() argument 138 final PackageWithUser pu = PackageWithUser.of(packageUserId, packageName); in pinShortcuts() 178 @UserIdInt int packageUserId) { in getPinnedShortcutIds() argument 179 return mPinnedShortcuts.get(PackageWithUser.of(packageUserId, packageName)); in getPinnedShortcutIds() 194 public void addPinnedShortcut(@NonNull String packageName, @UserIdInt int packageUserId, in addPinnedShortcut() argument 196 final ArraySet<String> pinnedSet = getPinnedShortcutIds(packageName, packageUserId); in addPinnedShortcut() 206 pinShortcuts(packageUserId, packageName, pinnedList, forPinRequest); in addPinnedShortcut() 209 boolean cleanUpPackage(String packageName, @UserIdInt int packageUserId) { in cleanUpPackage() argument 210 return mPinnedShortcuts.remove(PackageWithUser.of(packageUserId, packageName)) != null; in cleanUpPackage() 343 final int packageUserId = fromBackup ? ownerUserId in loadFromXml() local [all …]
|
D | ShortcutPackageItem.java | 53 int packageUserId, @NonNull String packageName, in ShortcutPackageItem() argument 56 mPackageUserId = packageUserId; in ShortcutPackageItem()
|
D | ShortcutUser.java | 211 @UserIdInt int packageUserId, @NonNull String packageName) { in removeLauncher() 212 return mLaunchers.remove(PackageWithUser.of(packageUserId, packageName)); in removeLauncher() 267 public void forPackageItem(@NonNull String packageName, @UserIdInt int packageUserId, in forPackageItem() argument 270 if ((spi.getPackageUserId() == packageUserId) in forPackageItem() 346 @UserIdInt int packageUserId) { in attemptToRestoreIfNeededAndSave() argument 347 forPackageItem(packageName, packageUserId, spi -> { in attemptToRestoreIfNeededAndSave()
|
D | ShortcutPackageInfo.java | 166 ShortcutService s, String packageName, @UserIdInt int packageUserId) { in generateForInstalledPackageForTest() argument 167 final PackageInfo pi = s.getPackageInfoWithSignatures(packageName, packageUserId); in generateForInstalledPackageForTest()
|
D | ShortcutService.java | 3033 private void cleanUpPackageForAllLoadedUsers(String packageName, @UserIdInt int packageUserId, in cleanUpPackageForAllLoadedUsers() argument 3037 cleanUpPackageLocked(packageName, user.getUserId(), packageUserId, in cleanUpPackageForAllLoadedUsers() 3073 void cleanUpPackageLocked(String packageName, int owningUserId, int packageUserId, in cleanUpPackageLocked() argument 3081 if (packageUserId == owningUserId) { in cleanUpPackageLocked() 3088 user.removeLauncher(packageUserId, packageName); in cleanUpPackageLocked() 3091 user.forAllLaunchers(l -> l.cleanUpPackage(packageName, packageUserId)); in cleanUpPackageLocked() 3104 if (appStillExists && (packageUserId == owningUserId)) { in cleanUpPackageLocked() 3927 private void handlePackageRemoved(String packageName, @UserIdInt int packageUserId) { 3930 packageUserId)); 3932 cleanUpPackageForAllLoadedUsers(packageName, packageUserId, /* appStillExists = */ false); [all …]
|
D | ShortcutPackage.java | 199 int packageUserId, String packageName, ShortcutPackageInfo spi) { in ShortcutPackage() argument 200 super(shortcutUser, packageUserId, packageName, in ShortcutPackage() 203 mPackageUid = shortcutUser.mService.injectGetPackageUid(packageName, packageUserId); in ShortcutPackage() 206 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage() argument 207 this(shortcutUser, packageUserId, packageName, null); in ShortcutPackage()
|
D | PackageManagerService.java | 5820 final int packageUserId = mPendingBroadcasts.userIdAt(n); in doHandleMessage() local 5822 mPendingBroadcasts.packagesForUserId(packageUserId); in doHandleMessage() 5829 ? UserHandle.getUid(packageUserId, ps.appId) in doHandleMessage()
|