Searched refs:ShortcutUser (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 44 protected ShortcutUser mShortcutUser; 46 protected ShortcutPackageItem(@NonNull ShortcutUser shortcutUser, in ShortcutPackageItem() 58 public void replaceUser(ShortcutUser user) { in replaceUser() 62 public ShortcutUser getUser() { in getUser()
|
D | ShortcutUser.java | 52 class ShortcutUser { class 133 public ShortcutUser(ShortcutService service, int userId) { in ShortcutUser() method in ShortcutUser 380 public static ShortcutUser loadFromXml(ShortcutService s, XmlPullParser parser, int userId, in loadFromXml() 382 final ShortcutUser ret = new ShortcutUser(s, userId); in loadFromXml() 484 public void mergeRestoredFile(ShortcutUser restored) { in mergeRestoredFile()
|
D | ShortcutService.java | 104 import com.android.server.pm.ShortcutUser.PackageWithUser; 281 private final SparseArray<ShortcutUser> mUsers = new SparseArray<>(); 1012 private ShortcutUser loadUserLocked(@UserIdInt int userId) { in loadUserLocked() 1029 final ShortcutUser ret = loadUserInternal(userId, in, /* forBackup= */ false); in loadUserLocked() 1039 private ShortcutUser loadUserInternal(@UserIdInt int userId, InputStream is, in loadUserInternal() 1045 ShortcutUser ret = null; in loadUserInternal() 1061 if ((depth == 1) && ShortcutUser.TAG_ROOT.equals(tag)) { in loadUserInternal() 1062 ret = ShortcutUser.loadFromXml(this, parser, userId, fromBackup); in loadUserInternal() 1198 ShortcutUser getUserShortcutsLocked(@UserIdInt int userId) { in getUserShortcutsLocked() 1203 ShortcutUser userPackages = mUsers.get(userId); in getUserShortcutsLocked() [all …]
|
D | ShortcutLauncher.java | 29 import com.android.server.pm.ShortcutUser.PackageWithUser; 67 private ShortcutLauncher(@NonNull ShortcutUser shortcutUser, in ShortcutLauncher() 75 public ShortcutLauncher(@NonNull ShortcutUser shortcutUser, in ShortcutLauncher() 260 public static ShortcutLauncher loadFromXml(XmlPullParser parser, ShortcutUser shortcutUser, in loadFromXml()
|
D | ShortcutPackage.java | 127 private ShortcutPackage(ShortcutUser shortcutUser, in ShortcutPackage() 135 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage() 1457 public static ShortcutPackage loadFromXml(ShortcutService s, ShortcutUser shortcutUser, in loadFromXml()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 103 import com.android.server.pm.ShortcutUser.PackageWithUser; 3441 final SparseArray<ShortcutUser> users = mService.getShortcutsForTest(); in testCleanupPackage() 3446 final ShortcutUser user0 = users.get(USER_0); in testCleanupPackage() 3447 final ShortcutUser user10 = users.get(USER_10); in testCleanupPackage() 4949 final ShortcutUser userP0 = mService.getUserShortcutsLocked(USER_P0); in checkBackupAndRestore_success() 4954 final ShortcutUser user0 = mService.getUserShortcutsLocked(USER_0); in checkBackupAndRestore_success() 5512 final ShortcutUser userP0 = mService.getUserShortcutsLocked(USER_P0); in testBackupAndRestore_disabled() 5517 final ShortcutUser user0 = mService.getUserShortcutsLocked(USER_0); in testBackupAndRestore_disabled()
|
D | BaseShortcutManagerTest.java | 93 import com.android.server.pm.ShortcutUser.PackageWithUser;
|
D | ShortcutManagerTest2.java | 48 import com.android.server.pm.ShortcutUser.PackageWithUser;
|