HomeSort by relevance Sort by last modified time
    Searched refs:requestPinShortcut (Results 1 - 8 of 8) sorted by null

  /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerRequestPinTest.java 66 * A test for {@link ShortcutManager#requestPinShortcut}, a very simple case.
87 // Note: Because requestPinShortcut() won't update the shortcut, but we need to
89 // manually here before requestPinShortcut().
94 Log.i(TAG, "Calling requestPinShortcut...");
95 assertTrue(getManager().requestPinShortcut(shortcut, /* intent sender */ null));
153 // Note: Because requestPinShortcut() won't update the shortcut, but we need to
155 // manually here before requestPinShortcut().
158 Log.i(TAG, "Calling requestPinShortcut...");
159 assertTrue(getManager().requestPinShortcut(shortcut, /* intent sender */ null));
213 // Note: Because requestPinShortcut() won't update the shortcut, but we need t
    [all...]
ShortcutManagerFakingPublisherTest.java 146 assertShortcutPackageMismatch("requestPinShortcut", mPackageContext1, () -> {
147 getManager().requestPinShortcut(invalid, null);
  /development/samples/ShortcutSample/src/com/example/android/shortcutsample/
ShortcutHelper.java 211 callShortcutManager(() -> mShortcutManager.requestPinShortcut(
231 public void requestPinShortcut(String id) {
232 ShortcutManagerCompat.requestPinShortcut(mContext,
Main.java 202 mHelper.requestPinShortcut(shortcut.getId());
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowShortcutManagerTest.java 131 shortcutManager.requestPinShortcut(
162 shortcutManager.requestPinShortcut(shortcut1, null /* resultIntent */);
171 shortcutManager.requestPinShortcut(shortcut1, null /* resultIntent */);
  /development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
ShortcutPublisher.java 322 requestPinShortcut(this);
325 public static void requestPinShortcut(Context context) {
327 showToast(context, "requestPinShortcut() is not supported by launcher");
339 ShortcutManagerCompat.requestPinShortcut(context,
  /cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
ShortcutManagerPostBackupTest.java 320 assertTrue(getManager().requestPinShortcut(ms2,
324 assertTrue("Didn't receive requestPinShortcut() callback.",
334 // requestPinShortcut() acts as an update in this case, so even though
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowShortcutManager.java 164 protected boolean requestPinShortcut(ShortcutInfo shortcut, IntentSender resultIntent) {

Completed in 62 milliseconds