Searched refs:shortcutInfo (Results 1 – 2 of 2) sorted by relevance
377 private void validateExistingShortcut(ShortcutInfo shortcutInfo) { in validateExistingShortcut() argument381 Preconditions.checkArgument(shortcutInfo.isEnabled(), in validateExistingShortcut()382 "Shortcut ID=" + shortcutInfo + " already exists but disabled."); in validateExistingShortcut() local
2721 final ShortcutInfo shortcutInfo = p.findShortcutById(shortcutId); in getShortcutIconResId() local2722 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()2723 ? shortcutInfo.getIconResourceId() : 0; in getShortcutIconResId()2748 final ShortcutInfo shortcutInfo = p.findShortcutById(shortcutId); in getShortcutIconFd() local2749 if (shortcutInfo == null || !shortcutInfo.hasIconFile()) { in getShortcutIconFd()2752 final String path = mShortcutBitmapSaver.getBitmapPathMayWaitLocked(shortcutInfo); in getShortcutIconFd()