Searched refs:ShortcutPackageInfo (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackageInfo.java42 class ShortcutPackageInfo { class
64 private ShortcutPackageInfo(int versionCode, long lastUpdateTime, method in class:ShortcutPackageInfo
72 public static ShortcutPackageInfo newEmpty() {
73 return new ShortcutPackageInfo(VERSION_UNKNOWN, /* last update time =*/ 0,
125 public static ShortcutPackageInfo generateForInstalledPackageForTest(
132 final ShortcutPackageInfo ret = new ShortcutPackageInfo(pi.versionCode, pi.lastUpdateTime,
H A DShortcutPackageItem.java41 private final ShortcutPackageInfo mPackageInfo;
47 @NonNull ShortcutPackageInfo packageInfo) {
84 public ShortcutPackageInfo getPackageInfo() {
H A DShortcutLauncher.java68 @UserIdInt int launcherUserId, ShortcutPackageInfo spi) {
70 spi != null ? spi : ShortcutPackageInfo.newEmpty());
263 case ShortcutPackageInfo.TAG_ROOT:
H A DShortcutPackage.java126 int packageUserId, String packageName, ShortcutPackageInfo spi) {
128 spi != null ? spi : ShortcutPackageInfo.newEmpty());
1372 case ShortcutPackageInfo.TAG_ROOT:
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest1.java3856 protected void checkCanRestoreTo(boolean expected, ShortcutPackageInfo spi,
3866 final ShortcutPackageInfo spi1 = ShortcutPackageInfo.generateForInstalledPackageForTest(
3868 final ShortcutPackageInfo spi2 = ShortcutPackageInfo.generateForInstalledPackageForTest(

Completed in 166 milliseconds