Home
last modified time | relevance | path

Searched refs:getPackageShortcutForTest (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java4117 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "s1", USER_0)); in checkHandlePackageDeleteInner()
4118 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_2, "s1", USER_0)); in checkHandlePackageDeleteInner()
4119 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_3, "s1", USER_0)); in checkHandlePackageDeleteInner()
4120 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "s1", USER_10)); in checkHandlePackageDeleteInner()
4121 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_2, "s1", USER_10)); in checkHandlePackageDeleteInner()
4122 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_3, "s1", USER_10)); in checkHandlePackageDeleteInner()
4133 assertNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "s1", USER_0)); in checkHandlePackageDeleteInner()
4134 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_2, "s1", USER_0)); in checkHandlePackageDeleteInner()
4135 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_3, "s1", USER_0)); in checkHandlePackageDeleteInner()
4136 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "s1", USER_10)); in checkHandlePackageDeleteInner()
[all …]
DShortcutManagerTest2.java903 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id", USER_10); in testShortcutInfoSaveAndLoad()
928 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id2", USER_10); in testShortcutInfoSaveAndLoad()
975 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id", USER_10);
1046 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id", USER_10);
1074 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id2", USER_10);
1119 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id", USER_0);
1140 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id2", USER_0);
1184 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id", USER_0);
1209 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id2", USER_0);
DBaseShortcutManagerTest.java1631 return mService.getPackageShortcutForTest(packageName, shortcutId, userId); in getPackageShortcut()
1762 final ShortcutInfo si = mService.getPackageShortcutForTest(packageName, shortcutId, userId);
1771 final ShortcutInfo si = mService.getPackageShortcutForTest(packageName, shortcutId, userId);
1786 final ShortcutPackage p = mService.getPackageShortcutForTest(
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java4328 ShortcutPackage getPackageShortcutForTest(String packageName, int userId) { in getPackageShortcutForTest() method in ShortcutService
4338 ShortcutInfo getPackageShortcutForTest(String packageName, String shortcutId, int userId) { in getPackageShortcutForTest() method in ShortcutService
4340 final ShortcutPackage pkg = getPackageShortcutForTest(packageName, userId); in getPackageShortcutForTest()