Home
last modified time | relevance | path

Searched refs:launcherUserId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java183 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 …]
DShortcutLauncher.java69 @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()
DShortcutService.java1261 @UserIdInt int launcherUserId) { in getLauncherShortcutsLocked() argument
1263 .getLauncherShortcuts(packageName, launcherUserId); in getLauncherShortcutsLocked()
2502 public List<ShortcutInfo> getShortcuts(int launcherUserId, in getShortcuts() argument
2519 throwIfUserLockedL(launcherUserId); in getShortcuts()
2521 getLauncherShortcutsLocked(callingPackage, userId, launcherUserId) in getShortcuts()
2525 getShortcutsInnerLocked(launcherUserId, in getShortcuts()
2532 getShortcutsInnerLocked(launcherUserId, in getShortcuts()
2543 private void getShortcutsInnerLocked(int launcherUserId, @NonNull String callingPackage, in getShortcutsInnerLocked() argument
2561 canSeeAnyPinnedShortcut(callingPackage, launcherUserId, callingPid, callingUid); in getShortcutsInnerLocked()
2591 }, cloneFlag, callingPackage, launcherUserId, getPinnedByAnyLauncher); in getShortcutsInnerLocked()
[all …]
DShortcutUser.java222 @UserIdInt int launcherUserId) { in getLauncherShortcuts() argument
223 final PackageWithUser key = PackageWithUser.of(launcherUserId, packageName); in getLauncherShortcuts()
226 ret = new ShortcutLauncher(this, mUserId, packageName, launcherUserId); in getLauncherShortcuts()
DLauncherAppsService.java836 final int launcherUserId = cookie.user.getIdentifier(); in onShortcutChangedInner() local
840 launcherUserId, cookie.packageName, in onShortcutChangedInner()
849 mShortcutServiceInternal.getShortcuts(launcherUserId, in onShortcutChangedInner()
DShortcutPackage.java585 @Nullable String callingLauncher, int launcherUserId, boolean getPinnedByAnyLauncher) { in findAll() argument
595 : s.getLauncherShortcutsLocked(callingLauncher, getPackageUserId(), launcherUserId) in findAll()
/frameworks/base/core/java/android/content/pm/
DShortcutServiceInternal.java45 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/
DBaseShortcutManagerTest.java426 int launcherUserId, int requestType) { in injectGetPinConfirmationActivity() argument
427 return mPinConfirmActivityFetcher.apply(launcherPackageName, launcherUserId); in injectGetPinConfirmationActivity()