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.java77 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testCreateShortcutResult_alreadyPinned()
100 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testCreateShortcutResult_alreadyPinnedByAnother()
DShortcutManagerTest1.java944 mLauncherApps.getShortcutIconResId(CALLING_PACKAGE_1, "res32x32", HANDLE_USER_P0)); in testIcons()
946 mLauncherApps.getShortcutIconFd(CALLING_PACKAGE_1, "bmp32x32", HANDLE_USER_P0)); in testIcons()
2094 assertAllStringsResolved(mLauncherApps.getShortcuts(q, HANDLE_USER_P0)), in testGetShortcuts_resolveStrings()
3820 assertCallbackReceived(c0_2, HANDLE_USER_P0, CALLING_PACKAGE_1, "s1", "s2", "s3", "s5"); in testLauncherCallback_crossProfile()
3821 assertCallbackReceived(cP0_1, HANDLE_USER_P0, CALLING_PACKAGE_1, "s1", "s2", "s3", "s4"); in testLauncherCallback_crossProfile()
5619 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5649 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5705 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5745 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
6182 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in testBackupAndRestore_disabled()
[all …]
DBaseShortcutManagerTest.java998 protected static final UserHandle HANDLE_USER_P0 = UserHandle.of(USER_P0); field in BaseShortcutManagerTest
2479 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1", "s4"), HANDLE_USER_P0);
2486 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s2", "s5"), HANDLE_USER_P0);
2495 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s3", "s6"), HANDLE_USER_P0);
2511 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s4", "s1"), HANDLE_USER_P0);