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.java3959 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "s1", USER_0)); in checkHandlePackageDeleteInner()
3960 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_2, "s1", USER_0)); in checkHandlePackageDeleteInner()
3961 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_3, "s1", USER_0)); in checkHandlePackageDeleteInner()
3962 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "s1", USER_10)); in checkHandlePackageDeleteInner()
3963 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_2, "s1", USER_10)); in checkHandlePackageDeleteInner()
3964 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_3, "s1", USER_10)); in checkHandlePackageDeleteInner()
3975 assertNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "s1", USER_0)); in checkHandlePackageDeleteInner()
3976 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_2, "s1", USER_0)); in checkHandlePackageDeleteInner()
3977 assertNotNull(mService.getPackageShortcutForTest(CALLING_PACKAGE_3, "s1", USER_0)); in checkHandlePackageDeleteInner()
3978 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);
1139 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id2", USER_0);
1183 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id", USER_0);
1207 si = mService.getPackageShortcutForTest(CALLING_PACKAGE_1, "id2", USER_0);
DBaseShortcutManagerTest.java1580 return mService.getPackageShortcutForTest(packageName, shortcutId, userId); in getPackageShortcut()
1712 final ShortcutInfo si = mService.getPackageShortcutForTest(packageName, shortcutId, userId);
1721 final ShortcutInfo si = mService.getPackageShortcutForTest(packageName, shortcutId, userId);
1736 final ShortcutPackage p = mService.getPackageShortcutForTest(
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java3933 ShortcutPackage getPackageShortcutForTest(String packageName, int userId) { in getPackageShortcutForTest() method in ShortcutService
3943 ShortcutInfo getPackageShortcutForTest(String packageName, String shortcutId, int userId) { in getPackageShortcutForTest() method in ShortcutService
3945 final ShortcutPackage pkg = getPackageShortcutForTest(packageName, userId); in getPackageShortcutForTest()