Searched refs:LAUNCHER_2 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest10.java | 103 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 130 setDefaultLauncher(USER_0, LAUNCHER_2); in testCreateShortcutResult_defaultLauncherChanges() 132 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges() 176 runWithCaller(LAUNCHER_2, USER_0, () -> in testStartConfigActivity_nonDefaultLauncher()
|
D | ShortcutManagerTest8.java | 96 setDefaultLauncher(USER_10, LAUNCHER_2); in testIsRequestPinShortcutSupported() 111 assertEquals(LAUNCHER_2, actual.first.getPackageName()); in testIsRequestPinShortcutSupported() 139 !LAUNCHER_2.equals(packageName) in testIsRequestPinShortcutSupported() 146 assertEquals(LAUNCHER_2, actual.first.getPackageName()); in testIsRequestPinShortcutSupported() 176 !LAUNCHER_2.equals(packageName) in testRequestPinShortcut_notSupported() 256 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinShortcut() 341 setDefaultLauncher(USER_10, LAUNCHER_2); in testRequestPinShortcut_explicitTargetActivity() 415 setDefaultLauncher(USER_10, LAUNCHER_2); in testRequestPinShortcut_noTargetActivity_noMainActivity() 858 runWithCaller(LAUNCHER_2, USER_0, () -> { in testRequestPinShortcut_dynamicExists_alreadyPinnedByAnother() 920 runWithCaller(LAUNCHER_2, USER_0, () -> { in testRequestPinShortcut_manifestExists_alreadyPinnedByAnother() [all …]
|
D | ShortcutManagerTest1.java | 1989 setCaller(LAUNCHER_2); in testGetShortcuts() 2628 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi() 2714 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi() 2813 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi() 2852 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_assistant() 2864 mInternal.setShortcutHostPackage("assistant", LAUNCHER_2, USER_0); in testPinShortcutAndGetPinnedShortcuts_assistant() 2880 mInternal.setShortcutHostPackage("assistant", LAUNCHER_2, USER_0); in testPinShortcutAndGetPinnedShortcuts_assistant() 2927 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch() 2935 runWithCaller(LAUNCHER_2, USER_10, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch() 3057 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch() [all …]
|
D | ShortcutManagerTest9.java | 112 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinAppWidget()
|
D | BaseShortcutManagerTest.java | 731 protected static final String LAUNCHER_2 = "com.android.launcher.2"; field in BaseShortcutManagerTest 791 LAUNCHER_1.equals(callingPackage) || LAUNCHER_2.equals(callingPackage) 900 addPackage(LAUNCHER_2, LAUNCHER_UID_2, 5); in setUp() 1300 addApplicationInfo(getInjectedPackageInfo(LAUNCHER_2, userId, false), ret); in getInstalledApplications() 1321 addPackageInfo(getInjectedPackageInfo(LAUNCHER_2, userId, false), ret); in getInstalledPackagesWithUninstalled() 2228 LAUNCHER_1, LAUNCHER_2, LAUNCHER_3)) { 2288 runWithCaller(LAUNCHER_2, USER_0, () -> {
|