Searched refs:isRequestPinShortcutSupported (Results 1 – 10 of 10) sorted by relevance
95 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()
53 public static boolean isRequestPinShortcutSupported(@NonNull Context context) { in isRequestPinShortcutSupported() method in ShortcutManagerCompat55 return context.getSystemService(ShortcutManager.class).isRequestPinShortcutSupported(); in isRequestPinShortcutSupported()96 if (!isRequestPinShortcutSupported(context)) { in requestPinShortcut()
122 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()
962 public boolean isRequestPinShortcutSupported() { in isRequestPinShortcutSupported() method in ShortcutManager
6057 method public static boolean isRequestPinShortcutSupported(android.content.Context);
6922 method public static boolean isRequestPinShortcutSupported(android.content.Context);
7048 method public static boolean isRequestPinShortcutSupported(android.content.Context);
7037 method public static boolean isRequestPinShortcutSupported(android.content.Context);
10989 method public boolean isRequestPinShortcutSupported();
11755 method public boolean isRequestPinShortcutSupported();