/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 183 public final int launcherUserId; field in ShortcutRequestPinProcessor.PinShortcutRequestInner 189 String launcherPackage, int launcherUserId, int launcherUid, boolean preExisting) { in PinShortcutRequestInner() argument 194 this.launcherUserId = launcherUserId; in PinShortcutRequestInner() 246 final int launcherUserId = confirmActivity.second; in requestPinItemLocked() local 250 mService.throwIfUserLockedL(launcherUserId); in requestPinItemLocked() 258 confirmActivity.first.getPackageName(), launcherUserId); in requestPinItemLocked() 264 return startRequestConfirmActivity(confirmActivity.first, launcherUserId, request, in requestPinItemLocked() 275 final int launcherUserId = mService.getParentOrSelfUserId(userId); in createShortcutResultIntent() local 276 final ComponentName defaultLauncher = mService.getDefaultLauncher(launcherUserId); in createShortcutResultIntent() 284 mService.throwIfUserLockedL(launcherUserId); in createShortcutResultIntent() [all …]
|
D | ShortcutLauncher.java | 69 @UserIdInt int launcherUserId, ShortcutPackageInfo spi) { in ShortcutLauncher() argument 70 super(shortcutUser, launcherUserId, packageName, in ShortcutLauncher() 77 @UserIdInt int launcherUserId) { in ShortcutLauncher() argument 78 this(shortcutUser, ownerUserId, packageName, launcherUserId, null); in ShortcutLauncher() 266 final int launcherUserId = in loadFromXml() local 271 launcherPackageName, launcherUserId); in loadFromXml()
|
D | ShortcutService.java | 1269 @UserIdInt int launcherUserId) { in getLauncherShortcutsLocked() argument 1271 .getLauncherShortcuts(packageName, launcherUserId); in getLauncherShortcutsLocked() 2566 public List<ShortcutInfo> getShortcuts(int launcherUserId, in getShortcuts() argument 2583 throwIfUserLockedL(launcherUserId); in getShortcuts() 2585 getLauncherShortcutsLocked(callingPackage, userId, launcherUserId) in getShortcuts() 2589 getShortcutsInnerLocked(launcherUserId, in getShortcuts() 2596 getShortcutsInnerLocked(launcherUserId, in getShortcuts() 2607 private void getShortcutsInnerLocked(int launcherUserId, @NonNull String callingPackage, in getShortcutsInnerLocked() argument 2625 canSeeAnyPinnedShortcut(callingPackage, launcherUserId, callingPid, callingUid); in getShortcutsInnerLocked() 2655 }, cloneFlag, callingPackage, launcherUserId, getPinnedByAnyLauncher); in getShortcutsInnerLocked() [all …]
|
D | ShortcutUser.java | 225 @UserIdInt int launcherUserId) { in getLauncherShortcuts() argument 226 final PackageWithUser key = PackageWithUser.of(launcherUserId, packageName); in getLauncherShortcuts() 229 ret = new ShortcutLauncher(this, mUserId, packageName, launcherUserId); in getLauncherShortcuts()
|
D | LauncherAppsService.java | 1087 final int launcherUserId = cookie.user.getIdentifier(); in onShortcutChangedInner() local 1091 launcherUserId, cookie.packageName, in onShortcutChangedInner() 1100 mShortcutServiceInternal.getShortcuts(launcherUserId, in onShortcutChangedInner()
|
D | ShortcutPackage.java | 604 @Nullable String callingLauncher, int launcherUserId, boolean getPinnedByAnyLauncher) { in findAll() argument 614 : s.getLauncherShortcutsLocked(callingLauncher, getPackageUserId(), launcherUserId) in findAll()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutServiceInternal.java | 45 getShortcuts(int launcherUserId, in getShortcuts() argument 52 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller() argument 55 public abstract void pinShortcuts(int launcherUserId, in pinShortcuts() argument 60 int launcherUserId, @NonNull String callingPackage, in createShortcutIntents() argument 66 public abstract int getShortcutIconResId(int launcherUserId, @NonNull String callingPackage, in getShortcutIconResId() argument 69 public abstract ParcelFileDescriptor getShortcutIconFd(int launcherUserId, in getShortcutIconFd() argument 73 public abstract boolean hasShortcutHostPermission(int launcherUserId, in hasShortcutHostPermission() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 429 int launcherUserId, int requestType) { in injectGetPinConfirmationActivity() argument 430 return mPinConfirmActivityFetcher.apply(launcherPackageName, launcherUserId); in injectGetPinConfirmationActivity()
|