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

  /frameworks/support/compat/tests/java/android/support/v4/content/pm/
ShortcutManagerCompatTest.java 95 when(mockShortcutManager.isRequestPinShortcutSupported()).thenReturn(true, false, true);
97 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext));
98 assertFalse(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext));
99 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext));
100 verify(mockShortcutManager, times(3)).isRequestPinShortcutSupported();
153 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext));
157 assertFalse(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext));
161 assertFalse(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext));
166 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext));
170 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext))
    [all...]
  /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerRequestPinTest.java 43 assertTrue(getManager().isRequestPinShortcutSupported());
50 assertFalse(getManager().isRequestPinShortcutSupported());
63 assertTrue(getManager().isRequestPinShortcutSupported());
  /frameworks/support/compat/java/android/support/v4/content/pm/
ShortcutManagerCompat.java 53 public static boolean isRequestPinShortcutSupported(@NonNull Context context) {
55 return context.getSystemService(ShortcutManager.class).isRequestPinShortcutSupported();
85 * @see #isRequestPinShortcutSupported
96 if (!isRequestPinShortcutSupported(context)) {
  /development/samples/ShortcutSample/src/com/example/android/shortcutsample/
Main.java 92 ShortcutManagerCompat.isRequestPinShortcutSupported(this)
314 ShortcutManagerCompat.isRequestPinShortcutSupported(mContext)
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
ShortcutManagerTest8.java 122 assertTrue(mManager.isRequestPinShortcutSupported());
125 assertTrue(mManager.isRequestPinShortcutSupported());
128 assertTrue(mManager.isRequestPinShortcutSupported());
131 assertTrue(mManager.isRequestPinShortcutSupported());
155 assertFalse(mManager.isRequestPinShortcutSupported());
158 assertFalse(mManager.isRequestPinShortcutSupported());
161 assertTrue(mManager.isRequestPinShortcutSupported());
164 assertFalse(mManager.isRequestPinShortcutSupported());
    [all...]
  /frameworks/base/core/java/android/content/pm/
ShortcutManager.java 303 *if (mShortcutManager.isRequestPinShortcutSupported()) {
337 * {@link #isRequestPinShortcutSupported()}. Based on this return value, you might decide to hide
341 * {@link android.support.v4.content.pm.ShortcutManagerCompat#isRequestPinShortcutSupported(
    [all...]
  /development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
ShortcutPublisher.java 326 if (!ShortcutManagerCompat.isRequestPinShortcutSupported(context)) {
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactActivity.java     [all...]
  /prebuilts/sdk/current/support/compat/libs/
android-support-compat.jar 
  /prebuilts/sdk/26/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 1097 milliseconds