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.java303 .assertCallbackCalledForPackageAndUser(CALLING_PACKAGE_1, HANDLE_USER_P0) in checkRequestPinShortcut()
378 .assertCallbackCalledForPackageAndUser(CALLING_PACKAGE_1, HANDLE_USER_P0) in testRequestPinShortcut_explicitTargetActivity()
460 .assertCallbackCalledForPackageAndUser(CALLING_PACKAGE_1, HANDLE_USER_P0) in testRequestPinShortcut_noTargetActivity_noMainActivity()
608 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testRequestPinShortcut_dynamicExists_alreadyPinned()
686 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("ms1"), HANDLE_USER_P0); in testRequestPinShortcut_manifestExists_alreadyPinned()
768 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testRequestPinShortcut_wasDynamic_alreadyPinned()
796 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testRequestPinShortcut_wasDynamic_disabled_alreadyPinned()
827 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("ms1"), HANDLE_USER_P0); in testRequestPinShortcut_wasManifest_alreadyPinned()
859 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testRequestPinShortcut_dynamicExists_alreadyPinnedByAnother()
921 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("ms1"), HANDLE_USER_P0); in testRequestPinShortcut_manifestExists_alreadyPinnedByAnother()
[all …]
DShortcutManagerTest10.java81 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testCreateShortcutResult_alreadyPinned()
104 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testCreateShortcutResult_alreadyPinnedByAnother()
DShortcutManagerTest1.java1000 mLauncherApps.getShortcutIconResId(CALLING_PACKAGE_1, "res32x32", HANDLE_USER_P0)); in testIcons()
1002 mLauncherApps.getShortcutIconFd(CALLING_PACKAGE_1, "bmp32x32", HANDLE_USER_P0)); in testIcons()
2150 assertAllStringsResolved(mLauncherApps.getShortcuts(q, HANDLE_USER_P0)), in testGetShortcuts_resolveStrings()
3876 assertCallbackReceived(c0_2, HANDLE_USER_P0, CALLING_PACKAGE_1, "s1", "s2", "s3", "s5"); in testLauncherCallback_crossProfile()
3877 assertCallbackReceived(cP0_1, HANDLE_USER_P0, CALLING_PACKAGE_1, "s1", "s2", "s3", "s4"); in testLauncherCallback_crossProfile()
5844 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5874 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5930 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5970 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
6399 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in testBackupAndRestore_disabled()
[all …]
DBaseShortcutManagerTest.java752 protected static final UserHandle HANDLE_USER_P0 = UserHandle.of(USER_P0); field in BaseShortcutManagerTest
2286 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1", "s4"), HANDLE_USER_P0);
2293 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s2", "s5"), HANDLE_USER_P0);
2302 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s3", "s6"), HANDLE_USER_P0);
2318 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s4", "s1"), HANDLE_USER_P0);