Home
last modified time | relevance | path

Searched refs:HANDLE_USER_0 (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java745 mLauncherApps.getShortcutIconResId(CALLING_PACKAGE_1, "res32x32", HANDLE_USER_0)); in testIcons()
748 mLauncherApps.getShortcutIconResId(CALLING_PACKAGE_1, "res64x64", HANDLE_USER_0)); in testIcons()
1388 HANDLE_USER_0); in testGetShortcuts_shortcutKinds()
1447 buildQueryWithFlags(ShortcutQuery.FLAG_GET_DYNAMIC), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1450 buildQueryWithFlags(ShortcutQuery.FLAG_GET_MANIFEST), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1453 buildQueryWithFlags(ShortcutQuery.FLAG_GET_PINNED), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1459 ), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1465 ), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1471 ), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1477 ), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
[all …]
DShortcutManagerTest8.java280 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in checkRequestPinShortcut()
355 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_explicitTargetActivity()
437 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_noTargetActivity_noMainActivity()
499 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_dynamicExists()
554 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_manifestExists()
635 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_dynamicExists_alreadyPinned()
715 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_manifestExists_alreadyPinned()
878 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_dynamicExists_alreadyPinnedByAnother()
941 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_manifestExists_alreadyPinnedByAnother()
999 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_launcherAlreadyHasPinned()
[all …]
DBaseShortcutManagerTest.java652 protected static final UserHandle HANDLE_USER_0 = UserHandle.of(USER_0); field in BaseShortcutManagerTest
2066 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_0);
2067 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list("s1", "s2"), HANDLE_USER_0);
2068 mLauncherApps.pinShortcuts(CALLING_PACKAGE_3, list("s1", "s2", "s3"), HANDLE_USER_0);
2073 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s2"), HANDLE_USER_0);
2074 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list("s2", "s3"), HANDLE_USER_0);
2075 mLauncherApps.pinShortcuts(CALLING_PACKAGE_3, list("s2", "s3", "s4"), HANDLE_USER_0);
2082 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s3"), HANDLE_USER_0);
2083 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list("s3", "s4"), HANDLE_USER_0);
2084 mLauncherApps.pinShortcuts(CALLING_PACKAGE_3, list("s3", "s4", "s5"), HANDLE_USER_0);
[all …]
DShortcutManagerTest3.java300 mLauncherApps.pinShortcuts(CALLING_PACKAGE, list("s2", "s4", "x2"), HANDLE_USER_0); in testUpdateShortcuts_noManifestShortcuts()
410 CALLING_PACKAGE, list("s2", "s4", "x1", "x2"), HANDLE_USER_0); in testDeleteDynamicShortcuts_noManifestShortcuts()
484 mLauncherApps.pinShortcuts(CALLING_PACKAGE, list("s2", "s4", "x2"), HANDLE_USER_0); in testDisableShortcuts_noManifestShortcuts()
DShortcutManagerTest9.java124 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in checkRequestPinAppWidget()
DShortcutManagerTest2.java1171 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("id", "id2"), HANDLE_USER_0);
1237 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("id", "id2"), HANDLE_USER_0);