HomeSort by relevance Sort by last modified time
    Searched defs:PackageWithUser (Results 1 - 4 of 4) sorted by null

  /frameworks/base/services/core/java/com/android/server/pm/
ShortcutUser.java 67 static final class PackageWithUser {
71 private PackageWithUser(int userId, String packageName) {
76 public static PackageWithUser of(int userId, String packageName) {
77 return new PackageWithUser(userId, packageName);
80 public static PackageWithUser of(ShortcutPackageItem spi) {
81 return new PackageWithUser(spi.getPackageUserId(), spi.getPackageName());
91 if (!(obj instanceof PackageWithUser)) {
94 final PackageWithUser that = (PackageWithUser) obj;
112 private final ArrayMap<PackageWithUser, ShortcutLauncher> mLaunchers = new ArrayMap<>()
    [all...]
ShortcutLauncher.java 26 import com.android.server.pm.ShortcutUser.PackageWithUser;
62 final private ArrayMap<PackageWithUser, ArraySet<String>> mPinnedShortcuts = new ArrayMap<>();
88 final ArrayList<PackageWithUser> pinnedPackages =
92 final PackageWithUser pu = pinnedPackages.get(i);
113 final PackageWithUser pu = PackageWithUser.of(packageUserId, packageName);
147 return mPinnedShortcuts.get(PackageWithUser.of(packageUserId, packageName));
151 return mPinnedShortcuts.remove(PackageWithUser.of(packageUserId, packageName)) != null;
171 final PackageWithUser pu = mPinnedShortcuts.keyAt(i);
231 PackageWithUser.of(packageUserId, packageName), ids)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
BaseShortcutManagerTest.java 84 import com.android.server.pm.ShortcutUser.PackageWithUser;
525 protected Set<PackageWithUser> mUninstalledPackages;
    [all...]
ShortcutManagerTest1.java 92 import com.android.server.pm.ShortcutUser.PackageWithUser;
    [all...]

Completed in 466 milliseconds