Searched refs:cacheFlags (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutServiceInternal.java | 102 @NonNull List<String> shortcutIds, int userId, int cacheFlags); in cacheShortcuts() argument 105 @NonNull List<String> shortcutIds, int userId, int cacheFlags); in uncacheShortcuts() argument
|
D | ILauncherApps.aidl | 107 in UserHandle user, int cacheFlags); in cacheShortcuts() argument 109 in UserHandle user, int cacheFlags); in uncacheShortcuts() argument
|
D | LauncherApps.java | 1223 @NonNull UserHandle user, @ShortcutCacheFlags int cacheFlags) { in cacheShortcuts() argument 1227 mContext.getPackageName(), packageName, shortcutIds, user, cacheFlags); in cacheShortcuts() local 1254 @NonNull UserHandle user, @ShortcutCacheFlags int cacheFlags) { in uncacheShortcuts() argument 1258 mContext.getPackageName(), packageName, shortcutIds, user, cacheFlags); in uncacheShortcuts() local
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 902 UserHandle targetUser, int cacheFlags) { in cacheShortcuts() argument 910 targetUser.getIdentifier(), toShortcutsCacheFlags(cacheFlags)); in cacheShortcuts() 915 UserHandle targetUser, int cacheFlags) { in uncacheShortcuts() argument 923 targetUser.getIdentifier(), toShortcutsCacheFlags(cacheFlags)); in uncacheShortcuts() 1262 private int toShortcutsCacheFlags(int cacheFlags) { in toShortcutsCacheFlags() argument 1264 if (cacheFlags == FLAG_CACHE_NOTIFICATION_SHORTCUTS) { in toShortcutsCacheFlags() 1266 } else if (cacheFlags == FLAG_CACHE_BUBBLE_SHORTCUTS) { in toShortcutsCacheFlags() 1268 } else if (cacheFlags == FLAG_CACHE_PEOPLE_TILE_SHORTCUTS) { in toShortcutsCacheFlags()
|
D | ShortcutService.java | 3359 @NonNull List<String> shortcutIds, int userId, int cacheFlags) { in cacheShortcuts() argument 3361 userId, cacheFlags, /* doCache= */ true); in cacheShortcuts() 3367 @NonNull List<String> shortcutIds, int userId, int cacheFlags) { in uncacheShortcuts() argument 3369 userId, cacheFlags, /* doCache= */ false); in uncacheShortcuts() 3398 @NonNull List<String> shortcutIds, int userId, int cacheFlags, boolean doCache) { in updateCachedShortcutsInternal() argument 3403 (cacheFlags & ShortcutInfo.FLAG_CACHED_ALL) != 0, "invalid cacheFlags"); in updateCachedShortcutsInternal() 3422 if (si == null || doCache == si.hasFlags(cacheFlags)) { in updateCachedShortcutsInternal() 3429 shortcut -> shortcut.addFlags(cacheFlags)); in updateCachedShortcutsInternal() 3441 shortcut.clearFlags(cacheFlags)); in updateCachedShortcutsInternal()
|