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.java43 protected ShortcutUser mShortcutUser;
45 protected ShortcutPackageItem(@NonNull ShortcutUser shortcutUser, in ShortcutPackageItem()
57 public void replaceUser(ShortcutUser user) { in replaceUser()
61 public ShortcutUser getUser() { in getUser()
DShortcutUser.java54 class ShortcutUser { class
133 public ShortcutUser(ShortcutService service, int userId) { in ShortcutUser() method in ShortcutUser
378 public static ShortcutUser loadFromXml(ShortcutService s, XmlPullParser parser, int userId, in loadFromXml()
380 final ShortcutUser ret = new ShortcutUser(s, userId); in loadFromXml()
480 public void mergeRestoredFile(ShortcutUser restored) { in mergeRestoredFile()
DShortcutLauncher.java28 import com.android.server.pm.ShortcutUser.PackageWithUser;
66 private ShortcutLauncher(@NonNull ShortcutUser shortcutUser, in ShortcutLauncher()
74 public ShortcutLauncher(@NonNull ShortcutUser shortcutUser, in ShortcutLauncher()
238 public static ShortcutLauncher loadFromXml(XmlPullParser parser, ShortcutUser shortcutUser, in loadFromXml()
DShortcutService.java103 import com.android.server.pm.ShortcutUser.PackageWithUser;
276 private final SparseArray<ShortcutUser> mUsers = new SparseArray<>();
980 private ShortcutUser loadUserLocked(@UserIdInt int userId) { in loadUserLocked()
997 final ShortcutUser ret = loadUserInternal(userId, in, /* forBackup= */ false); in loadUserLocked()
1007 private ShortcutUser loadUserInternal(@UserIdInt int userId, InputStream is, in loadUserInternal()
1013 ShortcutUser ret = null; in loadUserInternal()
1029 if ((depth == 1) && ShortcutUser.TAG_ROOT.equals(tag)) { in loadUserInternal()
1030 ret = ShortcutUser.loadFromXml(this, parser, userId, fromBackup); in loadUserInternal()
1165 ShortcutUser getUserShortcutsLocked(@UserIdInt int userId) { in getUserShortcutsLocked()
1170 ShortcutUser userPackages = mUsers.get(userId); in getUserShortcutsLocked()
[all …]
DShortcutPackage.java125 private ShortcutPackage(ShortcutUser shortcutUser, in ShortcutPackage()
133 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage()
1341 public static ShortcutPackage loadFromXml(ShortcutService s, ShortcutUser shortcutUser, in loadFromXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java95 import com.android.server.pm.ShortcutUser.PackageWithUser;
3312 final SparseArray<ShortcutUser> users = mService.getShortcutsForTest(); in testCleanupPackage()
3317 final ShortcutUser user0 = users.get(USER_0); in testCleanupPackage()
3318 final ShortcutUser user10 = users.get(USER_10); in testCleanupPackage()
4798 final ShortcutUser userP0 = mService.getUserShortcutsLocked(USER_P0); in checkBackupAndRestore_success()
4803 final ShortcutUser user0 = mService.getUserShortcutsLocked(USER_0); in checkBackupAndRestore_success()
5285 final ShortcutUser userP0 = mService.getUserShortcutsLocked(USER_P0); in testBackupAndRestore_disabled()
5290 final ShortcutUser user0 = mService.getUserShortcutsLocked(USER_0); in testBackupAndRestore_disabled()
DBaseShortcutManagerTest.java89 import com.android.server.pm.ShortcutUser.PackageWithUser;
DShortcutManagerTest2.java48 import com.android.server.pm.ShortcutUser.PackageWithUser;
/frameworks/base/services/
Dprofile-classes4932 Lcom/android/server/pm/ShortcutUser;
4933 Lcom/android/server/pm/ShortcutUser$PackageWithUser;