Searched refs:getPackageShortcut (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ShortcutManagerTest1.java | 4662 assertNull(getPackageShortcut(CALLING_PACKAGE_1, "s1", USER_10)); in testHandleGonePackage_crossProfile() 4663 assertNull(getPackageShortcut(CALLING_PACKAGE_1, "s2", USER_10)); in testHandleGonePackage_crossProfile() 4664 assertNull(getPackageShortcut(CALLING_PACKAGE_1, "s3", USER_10)); in testHandleGonePackage_crossProfile() 4681 assertNull(getPackageShortcut(CALLING_PACKAGE_1, "s1", USER_10)); in testHandleGonePackage_crossProfile() 4682 assertNull(getPackageShortcut(CALLING_PACKAGE_1, "s2", USER_10)); in testHandleGonePackage_crossProfile() 4683 assertNull(getPackageShortcut(CALLING_PACKAGE_1, "s3", USER_10)); in testHandleGonePackage_crossProfile() 4699 assertNull(getPackageShortcut(CALLING_PACKAGE_1, "s1", USER_10)); in testHandleGonePackage_crossProfile() 4700 assertNull(getPackageShortcut(CALLING_PACKAGE_1, "s2", USER_10)); in testHandleGonePackage_crossProfile() 4768 assertNull(getPackageShortcut(CALLING_PACKAGE_2, "s1", USER_0)); in testHandleGonePackage_crossProfile() 4769 assertNull(getPackageShortcut(CALLING_PACKAGE_2, "s2", USER_0)); in testHandleGonePackage_crossProfile() [all …]
|
H A D | BaseShortcutManagerTest.java | 1823 protected ShortcutInfo getPackageShortcut(String packageName, String shortcutId, int userId) { in getPackageShortcut() method in BaseShortcutManagerTest 1833 assertTrue(getPackageShortcut(packageName, shortcutId, userId) != null); in assertShortcutExists() 1837 assertTrue(getPackageShortcut(packageName, shortcutId, userId) == null); in assertShortcutNotExists() 2048 return getPackageShortcut(getCallingPackage(), shortcutId, getCallingUserId());
|