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.java1269 @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 …]
DShortcutUser.java225 @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()
DLauncherAppsService.java1087 final int launcherUserId = cookie.user.getIdentifier(); in onShortcutChangedInner() local
1091 launcherUserId, cookie.packageName, in onShortcutChangedInner()
1100 mShortcutServiceInternal.getShortcuts(launcherUserId, in onShortcutChangedInner()
DShortcutPackage.java604 @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/
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.java429 int launcherUserId, int requestType) { in injectGetPinConfirmationActivity() argument
430 return mPinConfirmActivityFetcher.apply(launcherPackageName, launcherUserId); in injectGetPinConfirmationActivity()