Searched refs:shortcutId (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DShortcutServiceInternal.java58 @NonNull String packageName, @NonNull String shortcutId, int userId);
63 @NonNull String packageName, @NonNull String shortcutId, int userId);
67 @NonNull String packageName, @NonNull String shortcutId, int userId);
56 createShortcutIntents( int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, int userId) argument
62 getShortcutIconResId(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, int userId) argument
65 getShortcutIconFd(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, int userId) argument
H A DIShortcutService.aidl57 void reportShortcutUsed(String packageName, String shortcutId, int userId);
H A DLauncherApps.java587 public int getShortcutIconResId(@NonNull String packageName, @NonNull String shortcutId, argument
591 q.setShortcutIds(Arrays.asList(shortcutId));
611 @NonNull String packageName, @NonNull String shortcutId, @NonNull UserHandle user) {
612 return getShortcutIconFd(packageName, shortcutId, user.getIdentifier());
616 @NonNull String packageName, @NonNull String shortcutId, int userId) {
619 packageName, shortcutId, userId);
704 * @param shortcutId The target shortcut ID.
714 public void startShortcut(@NonNull String packageName, @NonNull String shortcutId, argument
717 startShortcut(packageName, shortcutId, sourceBounds, startActivityOptions,
743 private void startShortcut(@NonNull String packageName, @NonNull String shortcutId, argument
610 getShortcutIconFd( @onNull String packageName, @NonNull String shortcutId, @NonNull UserHandle user) argument
615 getShortcutIconFd( @onNull String packageName, @NonNull String shortcutId, int userId) argument
[all...]
H A DShortcutManager.java174 * android:shortcutId="compose"
195 * <dt>{@code android:shortcutId}</dt>
795 public void reportShortcutUsed(String shortcutId) { argument
797 mService.reportShortcutUsed(mContext.getPackageName(), shortcutId,
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManagerInternal.java62 * @param shortcutId The ID of the shortcut in question
67 public abstract void reportShortcutUsage(String packageName, String shortcutId, int userId); argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java1435 protected ShortcutInfo getPackageShortcut(String packageName, String shortcutId, int userId) { argument
1436 return mService.getPackageShortcutForTest(packageName, shortcutId, userId);
1439 protected void assertShortcutExists(String packageName, String shortcutId, int userId) { argument
1440 assertTrue(getPackageShortcut(packageName, shortcutId, userId) != null);
1443 protected void assertShortcutNotExists(String packageName, String shortcutId, int userId) { argument
1444 assertTrue(getPackageShortcut(packageName, shortcutId, userId) == null);
1448 @NonNull String packageName, @NonNull String shortcutId, int userId) {
1462 @NonNull String packageName, @NonNull String shortcutId, int userId) {
1465 mLauncherApps.startShortcut(packageName, shortcutId, null, null,
1467 }, packageName, shortcutId, userI
1447 launchShortcutAndGetIntentsInner(Runnable shortcutStarter, @NonNull String packageName, @NonNull String shortcutId, int userId) argument
1461 launchShortcutAndGetIntents( @onNull String packageName, @NonNull String shortcutId, int userId) argument
1471 launchShortcutAndGetIntent( @onNull String packageName, @NonNull String shortcutId, int userId) argument
1478 launchShortcutAndGetIntents_withShortcutInfo( @onNull String packageName, @NonNull String shortcutId, int userId) argument
1488 launchShortcutAndGetIntent_withShortcutInfo( @onNull String packageName, @NonNull String shortcutId, int userId) argument
1496 assertShortcutLaunchable(@onNull String packageName, @NonNull String shortcutId, int userId) argument
1502 assertShortcutNotLaunched(@onNull String packageName, @NonNull String shortcutId, int userId) argument
1519 assertStartShortcutThrowsException(@onNull String packageName, @NonNull String shortcutId, int userId, Class<?> expectedException) argument
1567 getBitmapFilename(int userId, String packageName, String shortcutId) argument
1599 getCallerShortcut(String shortcutId) argument
1617 getShortcutInfoAsLauncher(String packageName, String shortcutId, int userId) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackage.java305 public boolean deleteDynamicWithId(@NonNull String shortcutId) { argument
307 shortcutId, /* disable =*/ false, /* overrideImmutable=*/ false);
318 private boolean disableDynamicWithId(@NonNull String shortcutId) { argument
320 shortcutId, /* disable =*/ true, /* overrideImmutable=*/ false);
328 public void disableWithId(@NonNull String shortcutId, String disabledMessage, argument
330 final ShortcutInfo disabled = deleteOrDisableWithId(shortcutId, /* disable =*/ true,
345 private ShortcutInfo deleteOrDisableWithId(@NonNull String shortcutId, boolean disable, argument
347 final ShortcutInfo oldShortcut = mShortcuts.get(shortcutId);
366 deleteShortcutInner(shortcutId);
371 public void enableWithId(@NonNull String shortcutId) { argument
[all...]
H A DShortcutService.java2007 public void reportShortcutUsed(String packageName, String shortcutId, int userId) { argument
2010 Preconditions.checkNotNull(shortcutId);
2014 shortcutId, packageName, userId));
2022 if (ps.findShortcutById(shortcutId) == null) {
2024 packageName, shortcutId));
2031 mUsageStatsManagerInternal.reportShortcutUsage(packageName, shortcutId, userId);
2338 @NonNull String packageName, @NonNull String shortcutId, int userId) {
2340 Preconditions.checkStringNotEmpty(shortcutId, "shortcutId");
2350 launcherUserId, callingPackage, packageName, shortcutId, userI
2337 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, int userId) argument
2355 getShortcutInfoLocked( int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, int userId) argument
2401 createShortcutIntents(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, int userId) argument
2435 getShortcutIconResId(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, int userId) argument
2461 getShortcutIconFd(int launcherUserId, @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, int userId) argument
3724 getPackageShortcutForTest(String packageName, String shortcutId, int userId) argument
[all...]
H A DLauncherAppsService.java439 public boolean startShortcut(String callingPackage, String packageName, String shortcutId, argument
451 callingPackage, packageName, shortcutId, userId)) {
456 getCallingUserId(), callingPackage, packageName, shortcutId, userId);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsService.java1445 public void reportShortcutUsage(String packageName, String shortcutId, int userId) { argument
1446 if (packageName == null || shortcutId == null) {
1453 event.mShortcutId = shortcutId.intern();

Completed in 249 milliseconds