Searched refs:ShortcutPackage (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutUser.java | 112 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 …]
|
D | ShortcutService.java | 1242 ShortcutPackage getPackageShortcutsLocked( in getPackageShortcutsLocked() 1250 ShortcutPackage getPackageShortcutsForPublisherLocked( in getPackageShortcutsForPublisherLocked() 1252 final ShortcutPackage ret = getUserShortcutsLocked(userId).getPackageShortcuts(packageName); in getPackageShortcutsForPublisherLocked() 1731 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in setDynamicShortcuts() 1785 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in updateShortcuts() 1870 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in addDynamicShortcuts() 1958 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked( in requestPinItem() 1988 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in disableShortcuts() 2023 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in enableShortcuts() 2050 final ShortcutPackage ps = getPackageShortcutsForPublisherLocked(packageName, userId); in removeDynamicShortcuts() [all …]
|
D | ShortcutLauncher.java | 101 final ShortcutPackage p = mShortcutUser.getPackageShortcutsIfExists(pu.packageName); in onRestoreBlocked() 124 final ShortcutPackage packageShortcuts = in pinShortcuts()
|
D | ShortcutRequestPinProcessor.java | 298 final ShortcutPackage ps = mService.getPackageShortcutsForPublisherLocked( in requestPinShortcutLocked() 472 final ShortcutPackage ps = mService.getPackageShortcutsForPublisherLocked( in directPinShortcut()
|
D | ShortcutPackage.java | 62 class ShortcutPackage extends ShortcutPackageItem { class 127 private ShortcutPackage(ShortcutUser shortcutUser, in ShortcutPackage() method in ShortcutPackage 135 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage() method in ShortcutPackage 1457 public static ShortcutPackage loadFromXml(ShortcutService s, ShortcutUser shortcutUser, in loadFromXml() 1464 final ShortcutPackage ret = new ShortcutPackage(shortcutUser, in loadFromXml()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 1786 final ShortcutPackage p = mService.getPackageShortcutForTest(
|