Home
last modified time | relevance | path

Searched refs:getPackageShortcut (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java3759 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s1", USER_0)); in testHandleGonePackage_crossProfile()
3760 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s2", USER_0)); in testHandleGonePackage_crossProfile()
3761 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s3", USER_0)); in testHandleGonePackage_crossProfile()
3763 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s1", USER_P0)); in testHandleGonePackage_crossProfile()
3764 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s2", USER_P0)); in testHandleGonePackage_crossProfile()
3765 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s3", USER_P0)); in testHandleGonePackage_crossProfile()
3767 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_2, "s1", USER_0)); in testHandleGonePackage_crossProfile()
3768 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_2, "s2", USER_0)); in testHandleGonePackage_crossProfile()
3769 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_2, "s3", USER_0)); in testHandleGonePackage_crossProfile()
3771 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s1", USER_10)); in testHandleGonePackage_crossProfile()
[all …]
DBaseShortcutManagerTest.java1666 protected ShortcutInfo getPackageShortcut(String packageName, String shortcutId, int userId) { in getPackageShortcut() method in BaseShortcutManagerTest
1671 assertTrue(getPackageShortcut(packageName, shortcutId, userId) != null); in assertShortcutExists()
1675 assertTrue(getPackageShortcut(packageName, shortcutId, userId) == null); in assertShortcutNotExists()
1860 return getPackageShortcut(getCallingPackage(), shortcutId, getCallingUserId());