/frameworks/base/core/java/android/content/pm/ |
D | ShortcutServiceInternal.java | 49 getShortcuts(int launcherUserId, in getShortcuts() argument 61 getShortcutsAsync(int launcherUserId, in getShortcutsAsync() argument 69 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller() argument 72 public abstract void pinShortcuts(int launcherUserId, in pinShortcuts() argument 77 int launcherUserId, @NonNull String callingPackage, in createShortcutIntents() argument 85 int launcherUserId, @NonNull String callingPackage, in createShortcutIntentsAsync() argument 94 public abstract int getShortcutIconResId(int launcherUserId, @NonNull String callingPackage, in getShortcutIconResId() argument 100 public abstract @Nullable String getShortcutStartingThemeResName(int launcherUserId, in getShortcutStartingThemeResName() argument 104 public abstract ParcelFileDescriptor getShortcutIconFd(int launcherUserId, in getShortcutIconFd() argument 111 public abstract void getShortcutIconFdAsync(int launcherUserId, @NonNull String callingPackage, in getShortcutIconFdAsync() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 185 public final int launcherUserId; field in ShortcutRequestPinProcessor.PinShortcutRequestInner 191 String launcherPackage, int launcherUserId, int launcherUid, boolean preExisting) { in PinShortcutRequestInner() argument 196 this.launcherUserId = launcherUserId; in PinShortcutRequestInner() 248 final int launcherUserId = confirmActivity.second; in requestPinItemLocked() local 252 mService.throwIfUserLockedL(launcherUserId); in requestPinItemLocked() 261 confirmActivity.first.getPackageName(), launcherUserId); in requestPinItemLocked() 267 return startRequestConfirmActivity(confirmActivity.first, launcherUserId, request, in requestPinItemLocked() 278 final int launcherUserId = mService.getParentOrSelfUserId(userId); in createShortcutResultIntent() local 279 final String defaultLauncher = mService.getDefaultLauncher(launcherUserId); in createShortcutResultIntent() 287 mService.throwIfUserLockedL(launcherUserId); in createShortcutResultIntent() [all …]
|
D | ShortcutService.java | 1420 @UserIdInt int launcherUserId) { in getLauncherShortcutsLocked() argument 1422 .getLauncherShortcuts(packageName, launcherUserId); in getLauncherShortcutsLocked() 2970 public List<ShortcutInfo> getShortcuts(int launcherUserId, 2995 throwIfUserLockedL(launcherUserId); 2997 getLauncherShortcutsLocked(callingPackage, userId, launcherUserId) 3001 getShortcutsInnerLocked(launcherUserId, 3009 getShortcutsInnerLocked(launcherUserId, 3020 private void getShortcutsInnerLocked(int launcherUserId, @NonNull String callingPackage, 3040 canSeeAnyPinnedShortcut(callingPackage, launcherUserId, callingPid, callingUid); 3049 p.findAll(ret, filter, cloneFlag, callingPackage, launcherUserId, [all …]
|
D | ShortcutLauncher.java | 74 @UserIdInt int launcherUserId, ShortcutPackageInfo spi) { in ShortcutLauncher() argument 75 super(shortcutUser, launcherUserId, packageName, in ShortcutLauncher() 82 @UserIdInt int launcherUserId) { in ShortcutLauncher() argument 83 this(shortcutUser, ownerUserId, packageName, launcherUserId, null); in ShortcutLauncher() 340 final int launcherUserId = in loadFromXml() local 345 launcherPackageName, launcherUserId); in loadFromXml()
|
D | ShortcutUser.java | 206 @UserIdInt int launcherUserId) { in getLauncherShortcuts() argument 207 final UserPackage key = UserPackage.of(launcherUserId, packageName); in getLauncherShortcuts() 210 ret = new ShortcutLauncher(this, mUserId, packageName, launcherUserId); in getLauncherShortcuts()
|
D | BroadcastHelper.java | 354 final int launcherUserId = (parent != null) ? parent.id : userId; in sendSessionCommitBroadcast() local 355 final ComponentName launcherComponent = snapshot.getDefaultHomeActivity(launcherUserId); in sendSessionCommitBroadcast() 361 mContext.sendBroadcastAsUser(launcherIntent, UserHandle.of(launcherUserId)); in sendSessionCommitBroadcast() 368 mContext.sendBroadcastAsUser(predictorIntent, UserHandle.of(launcherUserId)); in sendSessionCommitBroadcast()
|
D | LauncherAppsService.java | 2695 final int launcherUserId = cookie.user.getIdentifier(); in onShortcutChangedInner() local 2699 launcherUserId, cookie.packageName, in onShortcutChangedInner() 2708 mShortcutServiceInternal.getShortcuts(launcherUserId, in onShortcutChangedInner()
|
D | ShortcutPackage.java | 851 @Nullable String callingLauncher, int launcherUserId, boolean getPinnedByAnyLauncher) { in findAll() argument 862 : s.getLauncherShortcutsLocked(callingLauncher, getPackageUserId(), launcherUserId) in findAll()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 491 int launcherUserId, int requestType) { in injectGetPinConfirmationActivity() argument 492 return mPinConfirmActivityFetcher.apply(launcherPackageName, launcherUserId); in injectGetPinConfirmationActivity()
|