/frameworks/base/core/java/android/content/pm/ |
D | ShortcutServiceInternal.java | 61 @NonNull String packageName, @NonNull String shortcutId, int userId, in createShortcutIntents() argument 67 @NonNull String packageName, @NonNull String shortcutId, int userId); in getShortcutIconResId() argument 71 @NonNull String packageName, @NonNull String shortcutId, int userId); in getShortcutIconFd() argument
|
D | LauncherApps.java | 979 public int getShortcutIconResId(@NonNull String packageName, @NonNull String shortcutId, in getShortcutIconResId() argument 983 q.setShortcutIds(Arrays.asList(shortcutId)); in getShortcutIconResId() 1003 @NonNull String packageName, @NonNull String shortcutId, @NonNull UserHandle user) { in getShortcutIconFd() argument 1004 return getShortcutIconFd(packageName, shortcutId, user.getIdentifier()); in getShortcutIconFd() 1008 @NonNull String packageName, @NonNull String shortcutId, int userId) { in getShortcutIconFd() argument 1011 packageName, shortcutId, userId); in getShortcutIconFd() 1133 public void startShortcut(@NonNull String packageName, @NonNull String shortcutId, in startShortcut() argument 1138 startShortcut(packageName, shortcutId, sourceBounds, startActivityOptions, in startShortcut() 1165 private void startShortcut(@NonNull String packageName, @NonNull String shortcutId, in startShortcut() argument 1170 mService.startShortcut(mContext.getPackageName(), packageName, shortcutId, in startShortcut()
|
D | IShortcutService.aidl | 65 void reportShortcutUsed(String packageName, String shortcutId, int userId); in reportShortcutUsed() argument
|
D | ShortcutManager.java | 425 public void reportShortcutUsed(String shortcutId) { in reportShortcutUsed() argument 427 mService.reportShortcutUsed(mContext.getPackageName(), shortcutId, in reportShortcutUsed() local
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 453 final String shortcutId = original.getId(); in directPinShortcut() local 474 final ShortcutInfo current = ps.findShortcutById(shortcutId); in directPinShortcut() 493 Slog.d(TAG, "Temporarily adding " + shortcutId + " as dynamic"); in directPinShortcut() 506 Slog.d(TAG, "Pinning " + shortcutId); in directPinShortcut() 509 launcher.addPinnedShortcut(appPackageName, appUserId, shortcutId, in directPinShortcut() 514 Slog.d(TAG, "Removing " + shortcutId + " as dynamic"); in directPinShortcut() 516 ps.deleteDynamicWithId(shortcutId, /*ignoreInvisible=*/ false); in directPinShortcut()
|
D | ShortcutService.java | 2248 public void reportShortcutUsed(String packageName, String shortcutId, int userId) { in reportShortcutUsed() argument 2251 Preconditions.checkNotNull(shortcutId); in reportShortcutUsed() 2255 shortcutId, packageName, userId)); in reportShortcutUsed() 2263 if (ps.findShortcutById(shortcutId) == null) { in reportShortcutUsed() 2265 packageName, shortcutId)); in reportShortcutUsed() 2272 mUsageStatsManagerInternal.reportShortcutUsage(packageName, shortcutId, userId); in reportShortcutUsed() 2660 @NonNull String packageName, @NonNull String shortcutId, int userId) { in isPinnedByCaller() argument 2662 Preconditions.checkStringNotEmpty(shortcutId, "shortcutId"); in isPinnedByCaller() 2672 launcherUserId, callingPackage, packageName, shortcutId, userId, in isPinnedByCaller() 2681 @NonNull String packageName, @NonNull String shortcutId, int userId, in getShortcutInfoLocked() argument [all …]
|
D | ShortcutPackage.java | 363 public boolean deleteDynamicWithId(@NonNull String shortcutId, boolean ignoreInvisible) { in deleteDynamicWithId() argument 365 shortcutId, /* disable =*/ false, /* overrideImmutable=*/ false, ignoreInvisible, in deleteDynamicWithId() 377 private boolean disableDynamicWithId(@NonNull String shortcutId, boolean ignoreInvisible, in disableDynamicWithId() argument 380 shortcutId, /* disable =*/ true, /* overrideImmutable=*/ false, ignoreInvisible, in disableDynamicWithId() 389 public void disableWithId(@NonNull String shortcutId, String disabledMessage, in disableWithId() argument 392 final ShortcutInfo disabled = deleteOrDisableWithId(shortcutId, /* disable =*/ true, in disableWithId() 407 private ShortcutInfo deleteOrDisableWithId(@NonNull String shortcutId, boolean disable, in deleteOrDisableWithId() argument 412 final ShortcutInfo oldShortcut = mShortcuts.get(shortcutId); in deleteOrDisableWithId() 441 forceDeleteShortcutInner(shortcutId); in deleteOrDisableWithId() 446 public void enableWithId(@NonNull String shortcutId) { in enableWithId() argument [all …]
|
D | LauncherAppsService.java | 720 public boolean startShortcut(String callingPackage, String packageName, String shortcutId, in startShortcut() argument 729 callingPackage, packageName, shortcutId, targetUserId)) { in startShortcut() 734 getCallingUserId(), callingPackage, packageName, shortcutId, targetUserId, in startShortcut()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 1666 protected ShortcutInfo getPackageShortcut(String packageName, String shortcutId, int userId) { in getPackageShortcut() argument 1667 return mService.getPackageShortcutForTest(packageName, shortcutId, userId); in getPackageShortcut() 1670 protected void assertShortcutExists(String packageName, String shortcutId, int userId) { in assertShortcutExists() argument 1671 assertTrue(getPackageShortcut(packageName, shortcutId, userId) != null); in assertShortcutExists() 1674 protected void assertShortcutNotExists(String packageName, String shortcutId, int userId) { in assertShortcutNotExists() argument 1675 assertTrue(getPackageShortcut(packageName, shortcutId, userId) == null); in assertShortcutNotExists() 1679 @NonNull String packageName, @NonNull String shortcutId, int userId) { in launchShortcutAndGetIntentsInner() argument 1693 @NonNull String packageName, @NonNull String shortcutId, int userId) { in launchShortcutAndGetIntents() argument 1696 mLauncherApps.startShortcut(packageName, shortcutId, null, null, in launchShortcutAndGetIntents() 1698 }, packageName, shortcutId, userId in launchShortcutAndGetIntents() field in BaseShortcutManagerTest [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManagerInternal.java | 86 public abstract void reportShortcutUsage(String packageName, String shortcutId, in reportShortcutUsage() argument
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 1683 public void reportShortcutUsage(String packageName, String shortcutId, int userId) { in reportShortcutUsage() argument 1684 if (packageName == null || shortcutId == null) { in reportShortcutUsage() 1691 event.mShortcutId = shortcutId.intern(); in reportShortcutUsage()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 2364 CharSequence shortcutId = extras.getCharSequence(Intent.EXTRA_SHORTCUT_ID); 2369 q.setShortcutIds(Arrays.asList(shortcutId.toString()));
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 3533 public Builder setShortcutId(String shortcutId) { in setShortcutId() argument 3534 mN.mShortcutId = shortcutId; in setShortcutId()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 1227 field public static final int shortcutId = 16844072; // 0x1010528
|
/frameworks/base/api/ |
D | current.txt | 1227 field public static final int shortcutId = 16844072; // 0x1010528
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 90846 Lcom/android/internal/R$attr;->shortcutId:I
|