/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 700 mLauncherApps.getShortcutIconResId( in testIcons() 705 mLauncherApps.getShortcutIconResId( in testIcons() 710 mLauncherApps.getShortcutIconResId( in testIcons() 714 mLauncherApps.getShortcutIconResId( in testIcons() 718 mLauncherApps.getShortcutIconResId( in testIcons() 721 bmp = pfdToBitmap(mLauncherApps.getShortcutIconFd( in testIcons() 725 bmp = pfdToBitmap(mLauncherApps.getShortcutIconFd( in testIcons() 729 bmp = pfdToBitmap(mLauncherApps.getShortcutIconFd( in testIcons() 735 mLauncherApps.getShortcutIconResId( in testIcons() 738 bmp = pfdToBitmap(mLauncherApps.getShortcutIconFd( in testIcons() [all …]
|
D | ShortcutManagerTest8.java | 285 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in checkRequestPinShortcut() 298 assertForLauncherCallbackNoThrow(mLauncherApps, in checkRequestPinShortcut() 360 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in testRequestPinShortcut_explicitTargetActivity() 371 assertForLauncherCallbackNoThrow(mLauncherApps, in testRequestPinShortcut_explicitTargetActivity() 442 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in testRequestPinShortcut_noTargetActivity_noMainActivity() 453 assertForLauncherCallbackNoThrow(mLauncherApps, in testRequestPinShortcut_noTargetActivity_noMainActivity() 504 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in testRequestPinShortcut_dynamicExists() 559 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in testRequestPinShortcut_manifestExists() 603 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("s1"), HANDLE_USER_P0); in testRequestPinShortcut_dynamicExists_alreadyPinned() 640 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in testRequestPinShortcut_dynamicExists_alreadyPinned() [all …]
|
D | ShortcutManagerTest10.java | 48 PinItemRequest request = mLauncherApps.getPinItemRequest(resultIntent); in verifyAndGetCreateShortcutResult() 84 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() 171 assertNotNull(mLauncherApps.getShortcutConfigActivityIntent(info)) in testStartConfigActivity_defaultLauncher() 180 mLauncherApps.getShortcutConfigActivityIntent(info)) in testStartConfigActivity_nonDefaultLauncher()
|
D | BaseShortcutManagerTest.java | 590 protected LauncherAppsTestable mLauncherApps; // Current one field in BaseShortcutManagerTest 1001 mLauncherApps = null; in initService() 1024 mLauncherApps = null; in shutdownServices() 1252 mLauncherApps = mLauncherAppsMap.get(key); in setCaller() 1696 mLauncherApps.startShortcut(packageName, shortcutId, null, null, in launchShortcutAndGetIntents() 1713 mLauncherApps.startShortcut( in launchShortcutAndGetIntents_withShortcutInfo() 1736 mLauncherApps.startShortcut(packageName, shortcutId, null, null, 1753 mLauncherApps.startShortcut(packageName, shortcutId, null, null, 1868 ret[0] = mLauncherApps.getShortcuts(q, UserHandle.of(userId)); 1881 return mLauncherApps.getShortcuts(q, UserHandle.of(targetUserId)); [all …]
|
D | SuspendPackagesTest.java | 109 private LauncherApps mLauncherApps; field in SuspendPackagesTest 180 mLauncherApps = (LauncherApps) mContext.getSystemService(Context.LAUNCHER_APPS_SERVICE); in setUp() 354 final Bundle extrasWhenUnsuspended = mLauncherApps.getSuspendedPackageLauncherExtras( in testGetLauncherExtrasNonNull() 359 final Bundle receivedExtras = mLauncherApps.getSuspendedPackageLauncherExtras( in testGetLauncherExtrasNonNull() 368 final Bundle extrasWhenNoneGiven = mLauncherApps.getSuspendedPackageLauncherExtras( in testGetLauncherExtrasNull() 375 final Bundle extrasForInvalidPackage = mLauncherApps.getSuspendedPackageLauncherExtras( in testGetLauncherExtrasInvalidPackage() 417 mLauncherApps.registerCallback(mTestCallback, mReceiverHandler); in testOnPackagesSuspendedNewAndOld() 451 mLauncherApps.registerCallback(mTestCallback, mReceiverHandler); in testOnPackagesSuspendedOld() 599 mLauncherApps.unregisterCallback(mTestCallback); in tearDown()
|
D | ShortcutManagerTest3.java | 300 mLauncherApps.pinShortcuts(CALLING_PACKAGE, list("s2", "s4", "x2"), HANDLE_USER_0); in testUpdateShortcuts_noManifestShortcuts() 409 mLauncherApps.pinShortcuts( in testDeleteDynamicShortcuts_noManifestShortcuts() 484 mLauncherApps.pinShortcuts(CALLING_PACKAGE, list("s2", "s4", "x2"), HANDLE_USER_0); in testDisableShortcuts_noManifestShortcuts()
|
D | ShortcutManagerTest9.java | 129 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in checkRequestPinAppWidget()
|
D | ShortcutManagerTest7.java | 299 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("ms2", "s2"), HANDLE_USER_10); in testClearShortcuts()
|
D | ShortcutManagerTest2.java | 1171 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("id", "id2"), HANDLE_USER_0); 1237 mLauncherApps.pinShortcuts(CALLING_PACKAGE_1, list("id", "id2"), HANDLE_USER_0);
|