Searched refs:shortcuts (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
H A D | IOnAppsChangedListener.aidl | 33 void onShortcutChanged(in UserHandle user, String packageName, in ParceledListSlice shortcuts);
|
H A D | IShortcutService.aidl | 42 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId);
|
H A D | LauncherApps.java | 168 * Indicates that one or more shortcuts of any kind (dynamic, pinned, or manifest) 174 * @param packageName The name of the package that has the shortcuts. 175 * @param shortcuts All shortcuts from the package (dynamic, manifest and/or pinned). 183 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { 192 * Include dynamic shortcuts in the result. 201 * Include pinned shortcuts in the result. 210 * Include manifest shortcuts in the result. 233 * in memory in order to show shortcuts without a delay. 274 * If non-zero, returns only shortcuts tha 182 onShortcutsChanged(@onNull String packageName, @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) argument 963 List<ShortcutInfo> shortcuts; field in class:LauncherApps.CallbackMessageHandler.CallbackInfo 1058 postOnShortcutChanged(String packageName, UserHandle user, List<ShortcutInfo> shortcuts) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutPackage.java | 107 * All the shortcuts from the package, keyed on IDs. 155 // Can't restore due to version/signature mismatch. Remove all shortcuts. 162 // we need to re-calculate the pinned shortcuts. 192 public void ensureImmutableShortcutsNotIncluded(@NonNull List<ShortcutInfo> shortcuts) { argument 193 for (int i = shortcuts.size() - 1; i >= 0; i--) { 194 ensureNotImmutable(shortcuts.get(i).getId()); 222 * It checks the max number of dynamic shortcuts. 227 "add/setDynamicShortcuts() cannot publish disabled shortcuts"); 254 * Remove all shortcuts that aren't pinned nor dynamic. 277 * Remove all dynamic shortcuts [all...] |
H A D | ShortcutUser.java | 120 * previously default launcher can still access shortcuts. 412 final ShortcutPackage shortcuts = ShortcutPackage.loadFromXml( 416 ret.mPackages.put(shortcuts.getPackageName(), shortcuts); 484 // published dynamic shortcuts, since some apps do so on BOOT_COMPLETED. 486 // shortcuts with the restored shortcuts. (Then we'll re-publish manifest shortcuts later 488 // When such a system app has allowbackup=false, then we'll keep the shortcuts that have 491 // The same logic applies to launchers, but since launchers shouldn't pin shortcuts [all...] |
H A D | ShortcutService.java | 177 static final String FILENAME_USER_PACKAGES = "shortcuts.xml"; 220 * Key name for the max dynamic shortcuts per activity. (int) 270 * Max number of dynamic + manifest shortcuts that each application can have at a time. 1541 throw new IllegalArgumentException("Max number of dynamic shortcuts exceeded"); 1546 * Return the max number of dynamic + manifest shortcuts for each launcher icon. 1623 private void fillInDefaultActivity(List<ShortcutInfo> shortcuts) { argument 1626 for (int i = shortcuts.size() - 1; i >= 0; i--) { 1627 final ShortcutInfo si = shortcuts.get(i); 1640 private void assignImplicitRanks(List<ShortcutInfo> shortcuts) { argument 1641 for (int i = shortcuts [all...] |
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
H A D | ShortcutManagerTestUtils.java | 235 runShortcutCommandForSuccess(instrumentation, "clear-shortcuts " 410 "Max number of dynamic shortcuts exceeded", r::run); 703 public static List<ShortcutInfo> sortedByRank(List<ShortcutInfo> shortcuts) { argument 704 final ArrayList<ShortcutInfo> ret = new ArrayList<>(shortcuts); 905 assertTrue("No shortcuts found.", found); 1031 final ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); 1034 shortcuts.capture(), 1036 return new ShortcutListAsserter(shortcuts.getValue());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ShortcutManagerTest1.java | 700 // Make some shortcuts with bitmap icons. 1161 // Set up shortcuts. 1266 // Pin some shortcuts. 1299 // Create 3 manifest and 3 dynamic shortcuts 1459 // Create shortcuts. 1590 // Get pinned shortcuts from launcher 1679 // Get pinned shortcuts from launcher 1802 // Create some shortcuts. 1844 // Get pinned shortcuts from launcher 2009 // Now clear pinned shortcuts [all...] |
Completed in 342 milliseconds