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.java751 mLauncherApps.getShortcutIconResId(CALLING_PACKAGE_1, "res32x32", HANDLE_USER_P0)); in testIcons()
753 mLauncherApps.getShortcutIconFd(CALLING_PACKAGE_1, "bmp32x32", HANDLE_USER_P0)); in testIcons()
1521 assertAllStringsResolved(mLauncherApps.getShortcuts(q, HANDLE_USER_P0)), in testGetShortcuts_resolveStrings()
3200 assertCallbackReceived(c0_2, HANDLE_USER_P0, CALLING_PACKAGE_1, "s1", "s2", "s3", "s5"); in testLauncherCallback_crossProfile()
3201 assertCallbackReceived(cP0_1, HANDLE_USER_P0, CALLING_PACKAGE_1, "s1", "s2", "s3", "s4"); in testLauncherCallback_crossProfile()
5006 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5036 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5092 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5132 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in checkBackupAndRestore_success()
5569 assertWith(mLauncherApps.getShortcuts(QUERY_ALL, HANDLE_USER_P0)) in testBackupAndRestore_disabled()
[all …]
DBaseShortcutManagerTest.java655 protected static final UserHandle HANDLE_USER_P0 = UserHandle.of(USER_P0); field in BaseShortcutManagerTest
2070 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1", "s4"), HANDLE_USER_P0);
2077 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s2", "s5"), HANDLE_USER_P0);
2086 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s3", "s6"), HANDLE_USER_P0);
2102 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s4", "s1"), HANDLE_USER_P0);