/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() 260 confirmActivity.first.getPackageName(), launcherUserId); in requestPinItemLocked() 266 return startRequestConfirmActivity(confirmActivity.first, launcherUserId, request, in requestPinItemLocked() 277 final int launcherUserId = mService.getParentOrSelfUserId(userId); in createShortcutResultIntent() local 278 final ComponentName defaultLauncher = mService.getDefaultLauncher(launcherUserId); in createShortcutResultIntent() 286 mService.throwIfUserLockedL(launcherUserId); in createShortcutResultIntent() [all …]
|
D | ShortcutLauncher.java | 78 @UserIdInt int launcherUserId, ShortcutPackageInfo spi) { in ShortcutLauncher() argument 79 super(shortcutUser, launcherUserId, packageName, in ShortcutLauncher() 86 @UserIdInt int launcherUserId) { in ShortcutLauncher() argument 87 this(shortcutUser, ownerUserId, packageName, launcherUserId, null); in ShortcutLauncher() 322 final int launcherUserId = in loadFromXml() local 327 launcherPackageName, launcherUserId); in loadFromXml()
|
D | ShortcutService.java | 1296 @UserIdInt int launcherUserId) { in getLauncherShortcutsLocked() argument 1298 .getLauncherShortcuts(packageName, launcherUserId); in getLauncherShortcutsLocked() 2853 public List<ShortcutInfo> getShortcuts(int launcherUserId, in getShortcuts() argument 2870 throwIfUserLockedL(launcherUserId); in getShortcuts() 2872 getLauncherShortcutsLocked(callingPackage, userId, launcherUserId) in getShortcuts() 2876 getShortcutsInnerLocked(launcherUserId, in getShortcuts() 2884 getShortcutsInnerLocked(launcherUserId, in getShortcuts() 2895 private void getShortcutsInnerLocked(int launcherUserId, @NonNull String callingPackage, in getShortcutsInnerLocked() argument 2917 canSeeAnyPinnedShortcut(callingPackage, launcherUserId, callingPid, callingUid); in getShortcutsInnerLocked() 2953 }, cloneFlag, callingPackage, launcherUserId, getPinnedByAnyLauncher); in getShortcutsInnerLocked() [all …]
|
D | ShortcutUser.java | 228 @UserIdInt int launcherUserId) { in getLauncherShortcuts() argument 229 final PackageWithUser key = PackageWithUser.of(launcherUserId, packageName); in getLauncherShortcuts() 232 ret = new ShortcutLauncher(this, mUserId, packageName, launcherUserId); in getLauncherShortcuts()
|
D | LauncherAppsService.java | 1402 final int launcherUserId = cookie.user.getIdentifier(); in onShortcutChangedInner() local 1406 launcherUserId, cookie.packageName, in onShortcutChangedInner() 1415 mShortcutServiceInternal.getShortcuts(launcherUserId, in onShortcutChangedInner()
|
D | ShortcutPackage.java | 718 @Nullable String callingLauncher, int launcherUserId, boolean getPinnedByAnyLauncher) { in findAll() argument 728 : s.getLauncherShortcutsLocked(callingLauncher, getPackageUserId(), launcherUserId) in findAll()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutServiceInternal.java | 47 getShortcuts(int launcherUserId, in getShortcuts() argument 54 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller() argument 57 public abstract void pinShortcuts(int launcherUserId, in pinShortcuts() argument 62 int launcherUserId, @NonNull String callingPackage, in createShortcutIntents() argument 71 public abstract int getShortcutIconResId(int launcherUserId, @NonNull String callingPackage, in getShortcutIconResId() argument 74 public abstract ParcelFileDescriptor getShortcutIconFd(int launcherUserId, in getShortcutIconFd() argument 78 public abstract boolean hasShortcutHostPermission(int launcherUserId, in hasShortcutHostPermission() argument 93 public abstract void cacheShortcuts(int launcherUserId, in cacheShortcuts() argument 96 public abstract void uncacheShortcuts(int launcherUserId, in uncacheShortcuts() argument 110 public abstract String getShortcutIconUri(int launcherUserId, @NonNull String launcherPackage, in getShortcutIconUri() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 433 int launcherUserId, int requestType) { in injectGetPinConfirmationActivity() argument 434 return mPinConfirmActivityFetcher.apply(launcherPackageName, launcherUserId); in injectGetPinConfirmationActivity()
|