Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest8.java300 .assertCallbackCalledForPackageAndUser(CALLING_PACKAGE_1, HANDLE_USER_P0) in checkRequestPinShortcut()
373 .assertCallbackCalledForPackageAndUser(CALLING_PACKAGE_1, HANDLE_USER_P0) in testRequestPinShortcut_explicitTargetActivity()
455 .assertCallbackCalledForPackageAndUser(CALLING_PACKAGE_1, HANDLE_USER_P0) in testRequestPinShortcut_noTargetActivity_noMainActivity()
603 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testRequestPinShortcut_dynamicExists_alreadyPinned()
681 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("ms1"), HANDLE_USER_P0); in testRequestPinShortcut_manifestExists_alreadyPinned()
763 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testRequestPinShortcut_wasDynamic_alreadyPinned()
791 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testRequestPinShortcut_wasDynamic_disabled_alreadyPinned()
822 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("ms1"), HANDLE_USER_P0); in testRequestPinShortcut_wasManifest_alreadyPinned()
854 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testRequestPinShortcut_dynamicExists_alreadyPinnedByAnother()
916 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("ms1"), HANDLE_USER_P0); in testRequestPinShortcut_manifestExists_alreadyPinnedByAnother()
[all …]
DShortcutManagerTest10.java84 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testCreateShortcutResult_alreadyPinned()
107 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testCreateShortcutResult_alreadyPinnedByAnother()
DShortcutManagerTest1.java703 mLauncherApps.getShortcutIconResId(CALLING_PACKAGE_1, "res32x32", HANDLE_USER_P0)); in testIcons()
705 mLauncherApps.getShortcutIconFd(CALLING_PACKAGE_1, "bmp32x32", HANDLE_USER_P0)); in testIcons()
1470 assertAllStringsResolved(mLauncherApps.getShortcuts(q, HANDLE_USER_P0)), in testGetShortcuts_resolveStrings()
3060 assertCallbackReceived(c0_2, HANDLE_USER_P0, CALLING_PACKAGE_1, "s1", "s2", "s3", "s5"); in testLauncherCallback_crossProfile()
3061 assertCallbackReceived(cP0_1, HANDLE_USER_P0, CALLING_PACKAGE_1, "s1", "s2", "s3", "s4"); in testLauncherCallback_crossProfile()
4853 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
4880 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
4922 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
4949 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5343 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in testBackupAndRestore_disabled()
[all …]
DBaseShortcutManagerTest.java620 protected static final UserHandle HANDLE_USER_P0 = UserHandle.of(USER_P0); field in BaseShortcutManagerTest
1964 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1", "s4"), HANDLE_USER_P0);
1971 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s2", "s5"), HANDLE_USER_P0);
1980 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s3", "s6"), HANDLE_USER_P0);
1996 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s4", "s1"), HANDLE_USER_P0);