Searched refs:isLongLived (Results 1 – 6 of 6) 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()
571 when(info.isLongLived()).thenReturn(true); in setUp()7200 when(info.isLongLived()).thenReturn(true); in testNotificationBubbles_shortcut_stopListeningWhenNotifRemoved()7554 when(si.isLongLived()).thenReturn(true); in testGetConversationsForPackage_hasShortcut()7595 when(si.isLongLived()).thenReturn(false); in testGetConversationsForPackage_shortcut_notLongLived()
177 if (shortcutInfo == null || !shortcutInfo.isLongLived() || !shortcutInfo.isEnabled()) { in isConversationShortcut()224 if (shortcutInfo.isLongLived() && !shortcutInfo.isCached()) { in cacheShortcut()
1767 public boolean isLongLived() { in isLongLived() method in ShortcutInfo2346 if (isLongLived()) { in toStringInner()
2053 if (target.isLongLived() != source.isLongLived()) { in updateShortcuts()3427 if (si.isLongLived()) { in updateCachedShortcutsInternal()
317 if (!si.isLongLived()) { in ensureNoBitmapIconIfShortcutIsLongLived()