Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutUser.java84 return new PackageWithUser(spi.getPackageUserId(), spi.getPackageName()); in of()
191 mLaunchers.put(PackageWithUser.of(launcher.getPackageUserId(), in addLauncher()
256 if ((spi.getPackageUserId() == packageUserId) in forPackageItem()
368 if (!mService.shouldBackupApp(spi.getPackageName(), spi.getPackageUserId())) { in saveShortcutPackageItem()
371 if (spi.getPackageUserId() != spi.getOwnerUserId()) { in saveShortcutPackageItem()
DShortcutPackage.java140 return getPackageUserId(); in getOwnerUserId()
150 getPackageName(), getPackageUserId()); in getPackageResources()
397 mShortcutUser.mService.getUserShortcutsLocked(getPackageUserId()) in refreshPinnedFlags()
400 getPackageName(), getPackageUserId()); in refreshPinnedFlags()
530 : s.getLauncherShortcutsLocked(callingLauncher, getPackageUserId(), launcherUserId) in findAll()
531 .getPinnedShortcutIds(getPackageName(), getPackageUserId()); in findAll()
638 getPackageName(), getPackageUserId()); in rescanPackageIfNeeded()
668 getPackageName(), getPackageUserId()); in rescanPackageIfNeeded()
707 } else if (!s.injectIsMainActivity(si.getActivity(), getPackageUserId())) { in rescanPackageIfNeeded()
747 s.packageShortcutsChanged(getPackageName(), getPackageUserId()); in rescanPackageIfNeeded()
[all …]
DShortcutLauncher.java189 getPackageName(), getPackageUserId()); in ensureVersionInfo()
210 ShortcutService.writeAttr(out, ATTR_LAUNCHER_USER_ID, getPackageUserId()); in saveToXml()
303 pw.print(getPackageUserId()); in dump()
DShortcutPackageItem.java70 public int getPackageUserId() { in getPackageUserId() method in ShortcutPackageItem
DShortcutPackageInfo.java146 pkg.getPackageName(), pkg.getPackageUserId()); in refreshSignature()
DShortcutService.java2772 if (!isPackageInstalled(spi.getPackageName(), spi.getPackageUserId())) { in checkPackageChanges()
2775 + " user " + spi.getPackageUserId()); in checkPackageChanges()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java5724 .getPackageUserId()); in testSaveAndLoad_crossProfile()
5730 .getPackageUserId()); in testSaveAndLoad_crossProfile()
5737 .getPackageUserId()); in testSaveAndLoad_crossProfile()
5743 .getPackageUserId()); in testSaveAndLoad_crossProfile()