Home
last modified time | relevance | path

Searched refs:isRequestPinShortcutSupported (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/compat/tests/java/android/support/v4/content/pm/
DShortcutManagerCompatTest.java95 when(mockShortcutManager.isRequestPinShortcutSupported()).thenReturn(true, false, true); in testIsRequestPinShortcutSupported_v26()
97 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext)); in testIsRequestPinShortcutSupported_v26()
98 assertFalse(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext)); in testIsRequestPinShortcutSupported_v26()
99 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext)); in testIsRequestPinShortcutSupported_v26()
100 verify(mockShortcutManager, times(3)).isRequestPinShortcutSupported(); in testIsRequestPinShortcutSupported_v26()
153 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext)); in testIsRequestPinShortcutSupported_v4()
157 assertFalse(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext)); in testIsRequestPinShortcutSupported_v4()
161 assertFalse(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext)); in testIsRequestPinShortcutSupported_v4()
166 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext)); in testIsRequestPinShortcutSupported_v4()
170 assertTrue(ShortcutManagerCompat.isRequestPinShortcutSupported(mContext)); in testIsRequestPinShortcutSupported_v4()
/frameworks/support/compat/java/android/support/v4/content/pm/
DShortcutManagerCompat.java53 public static boolean isRequestPinShortcutSupported(@NonNull Context context) { in isRequestPinShortcutSupported() method in ShortcutManagerCompat
55 return context.getSystemService(ShortcutManager.class).isRequestPinShortcutSupported(); in isRequestPinShortcutSupported()
96 if (!isRequestPinShortcutSupported(context)) { in requestPinShortcut()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest8.java122 assertTrue(mManager.isRequestPinShortcutSupported()); in testIsRequestPinShortcutSupported()
125 assertTrue(mManager.isRequestPinShortcutSupported()); in testIsRequestPinShortcutSupported()
128 assertTrue(mManager.isRequestPinShortcutSupported()); in testIsRequestPinShortcutSupported()
131 assertTrue(mManager.isRequestPinShortcutSupported()); in testIsRequestPinShortcutSupported()
155 assertFalse(mManager.isRequestPinShortcutSupported()); in testIsRequestPinShortcutSupported()
158 assertFalse(mManager.isRequestPinShortcutSupported()); in testIsRequestPinShortcutSupported()
161 assertTrue(mManager.isRequestPinShortcutSupported()); in testIsRequestPinShortcutSupported()
164 assertFalse(mManager.isRequestPinShortcutSupported()); in testIsRequestPinShortcutSupported()
/frameworks/base/core/java/android/content/pm/
DShortcutManager.java962 public boolean isRequestPinShortcutSupported() { in isRequestPinShortcutSupported() method in ShortcutManager
/frameworks/support/api/
D26.0.0-alpha1.txt6057 method public static boolean isRequestPinShortcutSupported(android.content.Context);
D26.0.0-beta1.txt6922 method public static boolean isRequestPinShortcutSupported(android.content.Context);
D26.0.0-SNAPSHOT.txt7048 method public static boolean isRequestPinShortcutSupported(android.content.Context);
D26.0.0-beta2.txt7037 method public static boolean isRequestPinShortcutSupported(android.content.Context);
/frameworks/base/api/
Dcurrent.txt10989 method public boolean isRequestPinShortcutSupported();
Dsystem-current.txt11755 method public boolean isRequestPinShortcutSupported();