Home
last modified time | relevance | path

Searched refs:isVisibleToPublisher (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java863 Preconditions.checkState(isVisibleToPublisher(), in ensureUpdatableWith()
871 if (isVisibleToPublisher()) { in ensureUpdatableWith()
1831 return isDynamic() && isVisibleToPublisher(); in isDynamicVisible()
1836 return isPinned() && isVisibleToPublisher(); in isPinnedVisible()
1841 return isDeclaredInManifest() && isVisibleToPublisher(); in isManifestVisible()
1846 return !isDeclaredInManifest() && isVisibleToPublisher() in isNonManifestVisible()
1955 public boolean isVisibleToPublisher() { in isVisibleToPublisher() method in ShortcutInfo
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java306 final boolean existingIsVisible = existsAlready && existing.isVisibleToPublisher(); in requestPinShortcutLocked()
DShortcutPackage.java279 return si != null && !si.isVisibleToPublisher(); in isShortcutExistsAndInvisibleToPublisher()
284 return si != null && si.isVisibleToPublisher(); in isShortcutExistsAndVisibleToPublisher()
289 && (!ignoreInvisible || shortcut.isVisibleToPublisher())) { in ensureNotImmutable()
508 if (si.isDynamic() && (!ignoreInvisible || si.isVisibleToPublisher())) { in deleteAllDynamicShortcuts()
603 && (ignoreInvisible && !oldShortcut.isVisibleToPublisher())) { in deleteOrDisableWithId()
DShortcutService.java1963 (ShortcutInfo si) -> si.isVisibleToPublisher() in setDynamicShortcuts()
2044 if (target == null || !target.isVisibleToPublisher()) { in updateShortcuts()
2547 (ShortcutInfo si) -> si.isVisibleToPublisher() in removeAllDynamicShortcuts()
2660 si.isVisibleToPublisher() in getShortcuts()
3331 (ShortcutInfo si) -> si.isVisibleToPublisher() in pinShortcuts()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java1008 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isVisibleToPublisher())); in areAllVisibleToPublisher()
1013 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isVisibleToPublisher())); in areAllNotVisibleToPublisher()
/frameworks/base/core/api/
Dtest-current.txt848 method public boolean isVisibleToPublisher();