Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutUser.java113 private final ArrayMap<String, ShortcutPackage> mPackages = new ArrayMap<>();
161 ArrayMap<String, ShortcutPackage> getAllPackagesForTest() { in getAllPackagesForTest()
169 private void addPackage(@NonNull ShortcutPackage p) { in addPackage()
174 public ShortcutPackage removePackage(@NonNull String packageName) { in removePackage()
175 final ShortcutPackage removed = mPackages.remove(packageName); in removePackage()
202 public ShortcutPackage getPackageShortcutsIfExists(@NonNull String packageName) { in getPackageShortcutsIfExists()
203 final ShortcutPackage ret = mPackages.get(packageName); in getPackageShortcutsIfExists()
211 public ShortcutPackage getPackageShortcuts(@NonNull String packageName) { in getPackageShortcuts()
212 ShortcutPackage ret = getPackageShortcutsIfExists(packageName); in getPackageShortcuts()
214 ret = new ShortcutPackage(this, mUserId, packageName); in getPackageShortcuts()
[all …]
DShortcutService.java1196 ShortcutPackage getPackageShortcutsLocked( in getPackageShortcutsLocked()
1204 ShortcutPackage getPackageShortcutsForPublisherLocked( in getPackageShortcutsForPublisherLocked()
1206 final ShortcutPackage ret = getUserShortcutsLocked(userId).getPackageShortcuts(packageName); in getPackageShortcutsForPublisherLocked()
1681 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in setDynamicShortcuts()
1732 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in updateShortcuts()
1812 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in addDynamicShortcuts()
1914 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in disableShortcuts()
1943 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in enableShortcuts()
1965 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in removeDynamicShortcuts()
1989 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in removeAllDynamicShortcuts()
[all …]
DShortcutLauncher.java95 final ShortcutPackage p = mShortcutUser.getPackageShortcutsIfExists(pu.packageName); in onRestoreBlocked()
112 final ShortcutPackage packageShortcuts = in pinShortcuts()
DShortcutRequestPinProcessor.java298 final ShortcutPackage ps = mService.getPackageShortcutsForPublisherLocked( in requestPinShortcutLocked()
471 final ShortcutPackage ps = mService.getPackageShortcutsForPublisherLocked( in directPinShortcut()
DShortcutPackage.java61 class ShortcutPackage extends ShortcutPackageItem { class
125 private ShortcutPackage(ShortcutUser shortcutUser, in ShortcutPackage() method in ShortcutPackage
133 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage() method in ShortcutPackage
1341 public static ShortcutPackage loadFromXml(ShortcutService s, ShortcutUser shortcutUser, in loadFromXml()
1348 final ShortcutPackage ret = new ShortcutPackage(shortcutUser, in loadFromXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1736 final ShortcutPackage p = mService.getPackageShortcutForTest(
/frameworks/base/services/
Dprofile-classes4917 Lcom/android/server/pm/ShortcutPackage;