Searched refs:isLongLived (Results 1 – 8 of 8) sorted by relevance
258 when(si.isLongLived()).thenReturn(false); in testGetValidShortcutInfo_notLongLived()276 when(si.isLongLived()).thenReturn(true); in testGetValidShortcutInfo_notSharingShortcut()293 when(si.isLongLived()).thenReturn(true); in testGetValidShortcutInfo_notEnabled()310 when(si.isLongLived()).thenReturn(true); in testGetValidShortcutInfo_isValid()331 when(si.isLongLived()).thenReturn(true); in testGetValidShortcutInfo_isValidButUserLocked()
677 when(info.isLongLived()).thenReturn(true); in setUp()9604 when(info.isLongLived()).thenReturn(true);9947 when(si.isLongLived()).thenReturn(true);9988 when(si.isLongLived()).thenReturn(false);
177 if (shortcutInfo == null || !shortcutInfo.isLongLived() || !shortcutInfo.isEnabled()) { in isConversationShortcut()224 if (shortcutInfo.isLongLived() && !shortcutInfo.isCached()) { in cacheShortcut()
161 if (si.isDynamic() || si.isLongLived() in pinShortcuts()
2126 if (target.isLongLived() != source.isLongLived()) {3293 if (si.isLongLived()) {
323 if (!si.isLongLived()) { in ensureNoBitmapIconIfShortcutIsLongLived()
1888 public boolean isLongLived() { in isLongLived() method in ShortcutInfo2572 if (isLongLived()) { in toStringInner()
758 assertThat(isLongLived).isEqualTo(true)