Home
last modified time | relevance | path

Searched refs:ShortcutUser (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageItem.java53 protected ShortcutUser mShortcutUser;
60 protected ShortcutPackageItem(@NonNull ShortcutUser shortcutUser, in ShortcutPackageItem()
73 public void replaceUser(ShortcutUser user) { in replaceUser()
77 public ShortcutUser getUser() { in getUser()
DShortcutLauncher.java72 private ShortcutLauncher(@NonNull ShortcutUser shortcutUser, in ShortcutLauncher()
80 public ShortcutLauncher(@NonNull ShortcutUser shortcutUser, in ShortcutLauncher()
291 public static ShortcutLauncher loadFromFile(File path, ShortcutUser shortcutUser, in loadFromFile()
334 public static ShortcutLauncher loadFromXml(TypedXmlPullParser parser, ShortcutUser shortcutUser, in loadFromXml()
450 mShortcutUser.getUserId()), ShortcutUser.DIRECTORY_LUANCHERS); in getShortcutPackageItemFile()
DShortcutUser.java65 class ShortcutUser { class
111 public ShortcutUser(ShortcutService service, int userId) { in ShortcutUser() method in ShortcutUser
376 public static ShortcutUser loadFromXml(ShortcutService s, TypedXmlPullParser parser, int userId, in loadFromXml()
378 final ShortcutUser ret = new ShortcutUser(s, userId); in loadFromXml()
484 public void mergeRestoredFile(ShortcutUser restored) { in mergeRestoredFile()
DShortcutService.java336 private final SparseArray<ShortcutUser> mUsers = new SparseArray<>();
1154 private ShortcutUser loadUserLocked(@UserIdInt int userId) { in loadUserLocked()
1177 private ShortcutUser loadUserInternal(@UserIdInt int userId, InputStream is, in loadUserInternal()
1181 ShortcutUser ret = null; in loadUserInternal()
1202 if ((depth == 1) && ShortcutUser.TAG_ROOT.equals(tag)) { in loadUserInternal()
1203 ret = ShortcutUser.loadFromXml(this, parser, userId, fromBackup); in loadUserInternal()
1351 ShortcutUser getUserShortcutsLocked(@UserIdInt int userId) { in getUserShortcutsLocked()
1362 ShortcutUser userPackages = mUsers.get(userId); in getUserShortcutsLocked()
1366 userPackages = new ShortcutUser(this, userId); in getUserShortcutsLocked()
1389 void forEachLoadedUserLocked(@NonNull Consumer<ShortcutUser> c) { in forEachLoadedUserLocked()
[all …]
DOWNERS52 per-file ShortcutUser.java = omakoto@google.com, yamasani@google.com, sunnygoyal@google.com, mett@g…
DShortcutPackage.java202 private ShortcutPackage(ShortcutUser shortcutUser, in ShortcutPackage()
211 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage()
1995 public static ShortcutPackage loadFromFile(ShortcutService s, ShortcutUser shortcutUser, in loadFromFile()
2035 public static ShortcutPackage loadFromXml(ShortcutService s, ShortcutUser shortcutUser, in loadFromXml()
2719 mShortcutUser.getUserId()), ShortcutUser.DIRECTORY_PACKAGES); in getShortcutPackageItemFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java4066 ShortcutUser user = new ShortcutUser(mService, 0); in testLoadCorruptedShortcuts()
4291 final SparseArray<ShortcutUser> users = mService.getShortcutsForTest(); in testCleanupPackage()
4296 final ShortcutUser user0 = users.get(USER_0); in testCleanupPackage()
4297 final ShortcutUser user10 = users.get(USER_10); in testCleanupPackage()
5798 final ShortcutUser userP0 = mService.getUserShortcutsLocked(USER_P0); in checkBackupAndRestore_success()
5803 final ShortcutUser user0 = mService.getUserShortcutsLocked(USER_0); in checkBackupAndRestore_success()
6353 final ShortcutUser userP0 = mService.getUserShortcutsLocked(USER_P0); in testBackupAndRestore_disabled()
6358 final ShortcutUser user0 = mService.getUserShortcutsLocked(USER_0); in testBackupAndRestore_disabled()
/frameworks/base/services/
Dart-wear-profile19515 PLcom/android/server/pm/ShortcutLauncher;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lang/S…
19516 PLcom/android/server/pm/ShortcutLauncher;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lang/S…
19537 PLcom/android/server/pm/ShortcutPackage;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lang/St…
19538 PLcom/android/server/pm/ShortcutPackage;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lang/St…
19558 …romFile(Lcom/android/server/pm/ShortcutService;Lcom/android/server/pm/ShortcutUser;Ljava/io/File;Z…
19559 …FromXml(Lcom/android/server/pm/ShortcutService;Lcom/android/server/pm/ShortcutUser;Lcom/android/mo…
19579 PLcom/android/server/pm/ShortcutPackageItem;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lan…
19585 PLcom/android/server/pm/ShortcutPackageItem;->getUser()Lcom/android/server/pm/ShortcutUser;
19601 …ticLambda26;-><init>(Lcom/android/server/pm/ShortcutService;Lcom/android/server/pm/ShortcutUser;I)V
19685 …m/android/server/pm/ShortcutService;->getUserShortcutsLocked(I)Lcom/android/server/pm/ShortcutUser;
[all …]
Dart-profile2633 HPLcom/android/server/pm/ShortcutPackage;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lang/S…
2636 …d/server/pm/ShortcutPackage;]Lcom/android/server/pm/ShortcutUser;Lcom/android/server/pm/ShortcutUs…
2642 HPLcom/android/server/pm/ShortcutPackageItem;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/la…
2646 …d/server/pm/ShortcutService;]Lcom/android/server/pm/ShortcutUser;Lcom/android/server/pm/ShortcutUs…
2647 …d/server/pm/ShortcutService;]Lcom/android/server/pm/ShortcutUser;Lcom/android/server/pm/ShortcutUs…
2649 …/pm/ShortcutService;->getUserShortcutsLocked(I)Lcom/android/server/pm/ShortcutUser;+]Landroid/util…
2653ShortcutUser;->getAppSearch(Landroid/app/appsearch/AppSearchManager$SearchContext;)Lcom/android/in…
2654 HPLcom/android/server/pm/ShortcutUser;->getLauncherShortcuts(Ljava/lang/String;I)Lcom/android/serve…
2655 HPLcom/android/server/pm/ShortcutUser;->getPackageShortcutsIfExists(Ljava/lang/String;)Lcom/android…
2656ShortcutUser;->rescanPackageIfNeeded(Ljava/lang/String;Z)V+]Lcom/android/server/pm/ShortcutPackage…