Home
last modified time | relevance | path

Searched refs:requestPinShortcut (Results 1 – 15 of 15) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest8.java179 assertFalse(mManager.requestPinShortcut(s1, in testRequestPinShortcut_notSupported()
191 assertFalse(mManager.requestPinShortcut(s1, in testRequestPinShortcut_notSupported()
203 assertFalse(mManager.requestPinShortcut(s1, in testRequestPinShortcut_notSupported()
229 assertTrue(mManager.requestPinShortcut(makeShortcut("s1"), in testNotForeground()
267 assertTrue(mManager.requestPinShortcut(s, resultIntent)); in checkRequestPinShortcut()
342 assertTrue(mManager.requestPinShortcut(s1, null)); in testRequestPinShortcut_explicitTargetActivity()
424 assertTrue(mManager.requestPinShortcut(s, null)); in testRequestPinShortcut_noTargetActivity_noMainActivity()
483 assertTrue(mManager.requestPinShortcut(makeShortcutIdOnly("s1"), in testRequestPinShortcut_dynamicExists()
805 mManager.requestPinShortcut(makeShortcutIdOnly("s1"), in testRequestPinShortcut_wasDynamic_disabled_alreadyPinned()
837 mManager.requestPinShortcut(makeShortcutIdOnly("ms1"), in testRequestPinShortcut_wasManifest_alreadyPinned()
[all …]
H A DShortcutManagerTest1.java6578 mManager.requestPinShortcut( in testBackupAndRestore_disabledShortcutsAreIgnored()
6604 mManager.requestPinShortcut( in testBackupAndRestore_disabledShortcutsAreIgnored()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DSettingsInitializeTest.java64 mShortcutManager.requestPinShortcut(info, null); in refreshExistingShortcuts_shouldUpdateLaunchIntentFlagsForExistingShortcut()
91 mShortcutManager.requestPinShortcut(info, null); in refreshExistingShortcuts_shouldNotUpdateImmutableShortcut()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/
H A DAddToHomeScreenPreferenceController.java60 mBackend.requestPinShortcut(mContext, mConversationInfo); in handlePreferenceTreeClick()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DIShortcutService.aidl42 AndroidFuture requestPinShortcut(String packageName, in ShortcutInfo shortcut, in requestPinShortcut() method
H A DShortcutManager.java601 public boolean requestPinShortcut(@NonNull ShortcutInfo shortcut, in requestPinShortcut() method in ShortcutManager
604 return (boolean) getFutureOrThrow(mService.requestPinShortcut(mContext.getPackageName(), in requestPinShortcut()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
H A DRequestPinItemActivity.java81 sm.requestPinShortcut(info, callback); in pinShortcut()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
H A DAddToHomeScreenPreferenceControllerTest.java114 verify(mBackend).requestPinShortcut(any(), eq(si)); in testHandlePreferenceTreeClick()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java634 public void requestPinShortcut(Context context, ShortcutInfo shortcutInfo) { in requestPinShortcut() method in NotificationBackend
636 sm.requestPinShortcut(shortcutInfo, null); in requestPinShortcut()
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactActivity.java2252 shortcutManager.requestPinShortcut(shortcutInfo, null); in createLauncherShortcutWithContact()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutService.java2262 public AndroidFuture requestPinShortcut(String packageName, ShortcutInfo shortcut, in requestPinShortcut() method in ShortcutService
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt14984 Landroid/content/pm/IShortcutService$Stub$Proxy;->requestPinShortcut(Ljava/lang/String;Landroid/con…
15030 Landroid/content/pm/IShortcutService;->requestPinShortcut(Ljava/lang/String;Landroid/content/pm/Sho…
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt13104 …method @WorkerThread public boolean requestPinShortcut(@NonNull android.content.pm.ShortcutInfo, @…
/aosp12/frameworks/base/services/
H A Dart-profile32961 PLcom/android/server/pm/ShortcutService;->lambda$requestPinShortcut$10$ShortcutService(Lcom/android…
33004 PLcom/android/server/pm/ShortcutService;->requestPinShortcut(Ljava/lang/String;Landroid/content/pm/…