Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageItem.java50 protected ShortcutUser mShortcutUser;
52 protected ShortcutPackageItem(@NonNull ShortcutUser shortcutUser, in ShortcutPackageItem()
64 public void replaceUser(ShortcutUser user) { in replaceUser()
68 public ShortcutUser getUser() { in getUser()
DShortcutLauncher.java33 import com.android.server.pm.ShortcutUser.PackageWithUser;
75 private ShortcutLauncher(@NonNull ShortcutUser shortcutUser, in ShortcutLauncher()
83 public ShortcutLauncher(@NonNull ShortcutUser shortcutUser, in ShortcutLauncher()
265 public static ShortcutLauncher loadFromFile(File path, ShortcutUser shortcutUser, in loadFromFile()
312 public static ShortcutLauncher loadFromXml(TypedXmlPullParser parser, ShortcutUser shortcutUser, in loadFromXml()
DShortcutUser.java62 class ShortcutUser { class
141 public ShortcutUser(ShortcutService service, int userId) { in ShortcutUser() method in ShortcutUser
431 public static ShortcutUser loadFromXml(ShortcutService s, TypedXmlPullParser parser, int userId, in loadFromXml()
433 final ShortcutUser ret = new ShortcutUser(s, userId); in loadFromXml()
537 public void mergeRestoredFile(ShortcutUser restored) { in mergeRestoredFile()
DShortcutService.java120 import com.android.server.pm.ShortcutUser.PackageWithUser;
316 private final SparseArray<ShortcutUser> mUsers = new SparseArray<>();
1100 private ShortcutUser loadUserLocked(@UserIdInt int userId) { in loadUserLocked()
1117 final ShortcutUser ret = loadUserInternal(userId, in, /* forBackup= */ false); in loadUserLocked()
1127 private ShortcutUser loadUserInternal(@UserIdInt int userId, InputStream is, in loadUserInternal()
1131 ShortcutUser ret = null; in loadUserInternal()
1152 if ((depth == 1) && ShortcutUser.TAG_ROOT.equals(tag)) { in loadUserInternal()
1153 ret = ShortcutUser.loadFromXml(this, parser, userId, fromBackup); in loadUserInternal()
1294 ShortcutUser getUserShortcutsLocked(@UserIdInt int userId) { in getUserShortcutsLocked()
1305 ShortcutUser userPackages = mUsers.get(userId); in getUserShortcutsLocked()
[all …]
DOWNERS60 per-file ShortcutUser.java = omakoto@google.com, yamasani@google.com, sunnygoyal@google.com, mett@g…
DShortcutPackage.java198 private ShortcutPackage(ShortcutUser shortcutUser, in ShortcutPackage()
206 public ShortcutPackage(ShortcutUser shortcutUser, int packageUserId, String packageName) { in ShortcutPackage()
1892 public static ShortcutPackage loadFromFile(ShortcutService s, ShortcutUser shortcutUser, in loadFromFile()
1936 public static ShortcutPackage loadFromXml(ShortcutService s, ShortcutUser shortcutUser, in loadFromXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java108 import com.android.server.pm.ShortcutUser.PackageWithUser;
4065 final SparseArray<ShortcutUser> users = mService.getShortcutsForTest(); in testCleanupPackage()
4070 final ShortcutUser user0 = users.get(USER_0); in testCleanupPackage()
4071 final ShortcutUser user10 = users.get(USER_10); in testCleanupPackage()
5573 final ShortcutUser userP0 = mService.getUserShortcutsLocked(USER_P0); in checkBackupAndRestore_success()
5578 final ShortcutUser user0 = mService.getUserShortcutsLocked(USER_0); in checkBackupAndRestore_success()
6136 final ShortcutUser userP0 = mService.getUserShortcutsLocked(USER_P0); in testBackupAndRestore_disabled()
6141 final ShortcutUser user0 = mService.getUserShortcutsLocked(USER_0); in testBackupAndRestore_disabled()
DBaseShortcutManagerTest.java112 import com.android.server.pm.ShortcutUser.PackageWithUser;
DShortcutManagerTest2.java50 import com.android.server.pm.ShortcutUser.PackageWithUser;
/frameworks/base/services/
Dart-profile32320 PLcom/android/server/pm/ShortcutLauncher;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lang/S…
32321 PLcom/android/server/pm/ShortcutLauncher;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lang/S…
32329 …/ShortcutLauncher;->loadFromFile(Ljava/io/File;Lcom/android/server/pm/ShortcutUser;IZ)Lcom/android…
32330 …->loadFromXml(Landroid/util/TypedXmlPullParser;Lcom/android/server/pm/ShortcutUser;IZ)Lcom/android…
32440 HPLcom/android/server/pm/ShortcutPackage;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lang/S…
32441 HPLcom/android/server/pm/ShortcutPackage;-><init>(Lcom/android/server/pm/ShortcutUser;ILjava/lang/S…
32446 …d/server/pm/ShortcutPackage;]Lcom/android/server/pm/ShortcutUser;Lcom/android/server/pm/ShortcutUs…
32510 …yList;,Ljava/util/ArrayList;]Lcom/android/server/pm/ShortcutUser;Lcom/android/server/pm/ShortcutUs…
32511 …l/List;Ljava/util/ArrayList;]Lcom/android/server/pm/ShortcutUser;Lcom/android/server/pm/ShortcutUs…
32534 …romFile(Lcom/android/server/pm/ShortcutService;Lcom/android/server/pm/ShortcutUser;Ljava/io/File;Z…
[all …]