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.java3619 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s1", USER_0)); in testHandleGonePackage_crossProfile()
3620 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s2", USER_0)); in testHandleGonePackage_crossProfile()
3621 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s3", USER_0)); in testHandleGonePackage_crossProfile()
3623 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s1", USER_P0)); in testHandleGonePackage_crossProfile()
3624 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s2", USER_P0)); in testHandleGonePackage_crossProfile()
3625 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s3", USER_P0)); in testHandleGonePackage_crossProfile()
3627 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_2, "s1", USER_0)); in testHandleGonePackage_crossProfile()
3628 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_2, "s2", USER_0)); in testHandleGonePackage_crossProfile()
3629 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_2, "s3", USER_0)); in testHandleGonePackage_crossProfile()
3631 assertDynamicOnly(getPackageShortcut(CALLING_PACKAGE_1, "s1", USER_10)); in testHandleGonePackage_crossProfile()
[all …]
DBaseShortcutManagerTest.java1579 protected ShortcutInfo getPackageShortcut(String packageName, String shortcutId, int userId) { in getPackageShortcut() method in BaseShortcutManagerTest
1584 assertTrue(getPackageShortcut(packageName, shortcutId, userId) != null); in assertShortcutExists()
1588 assertTrue(getPackageShortcut(packageName, shortcutId, userId) == null); in assertShortcutNotExists()
1754 return getPackageShortcut(getCallingPackage(), shortcutId, getCallingUserId());