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.java697 mLauncherApps.getShortcutIconResId(CALLING_PACKAGE_1, "res32x32", HANDLE_USER_0)); in testIcons()
700 mLauncherApps.getShortcutIconResId(CALLING_PACKAGE_1, "res64x64", HANDLE_USER_0)); in testIcons()
1337 HANDLE_USER_0); in testGetShortcuts_shortcutKinds()
1396 buildQueryWithFlags(ShortcutQuery.FLAG_GET_DYNAMIC), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1399 buildQueryWithFlags(ShortcutQuery.FLAG_GET_MANIFEST), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1402 buildQueryWithFlags(ShortcutQuery.FLAG_GET_PINNED), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1408 ), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1414 ), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1420 ), HANDLE_USER_0)) in testGetShortcuts_shortcutKinds()
1426 ), 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.java617 protected static final UserHandle HANDLE_USER_0 = UserHandle.of(USER_0); field in BaseShortcutManagerTest
1960 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_0);
1961 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list("s1", "s2"), HANDLE_USER_0);
1962 mLauncherApps.pinShortcuts(CALLING_PACKAGE_3, list("s1", "s2", "s3"), HANDLE_USER_0);
1967 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s2"), HANDLE_USER_0);
1968 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list("s2", "s3"), HANDLE_USER_0);
1969 mLauncherApps.pinShortcuts(CALLING_PACKAGE_3, list("s2", "s3", "s4"), HANDLE_USER_0);
1976 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s3"), HANDLE_USER_0);
1977 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list("s3", "s4"), HANDLE_USER_0);
1978 mLauncherApps.pinShortcuts(CALLING_PACKAGE_3, list("s3", "s4", "s5"), HANDLE_USER_0);
[all …]
DShortcutManagerTest3.java293 mLauncherApps.pinShortcuts(CALLING_PACKAGE, list("s2", "s4", "x2"), HANDLE_USER_0); in testUpdateShortcuts_noManifestShortcuts()
403 CALLING_PACKAGE, list("s2", "s4", "x1", "x2"), HANDLE_USER_0); in testDeleteDynamicShortcuts_noManifestShortcuts()
477 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.java1111 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("id", "id2"), HANDLE_USER_0);
1175 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("id", "id2"), HANDLE_USER_0);