Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java843 Preconditions.checkState(isVisibleToPublisher(), in ensureUpdatableWith()
851 if (isVisibleToPublisher()) { in ensureUpdatableWith()
1780 return isDynamic() && isVisibleToPublisher(); in isDynamicVisible()
1785 return isPinned() && isVisibleToPublisher(); in isPinnedVisible()
1790 return isDeclaredInManifest() && isVisibleToPublisher(); in isManifestVisible()
1795 return !isDeclaredInManifest() && isVisibleToPublisher() in isNonManifestVisible()
1904 public boolean isVisibleToPublisher() { in isVisibleToPublisher() method in ShortcutInfo
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java225 return si != null && !si.isVisibleToPublisher(); in isShortcutExistsAndInvisibleToPublisher()
230 return si != null && si.isVisibleToPublisher(); in isShortcutExistsAndVisibleToPublisher()
235 && (!ignoreInvisible || shortcut.isVisibleToPublisher())) { in ensureNotImmutable()
437 if (si.isDynamic() && (!ignoreInvisible || si.isVisibleToPublisher())) { in deleteAllDynamicShortcuts()
529 && (ignoreInvisible && !oldShortcut.isVisibleToPublisher())) { in deleteOrDisableWithId()
DShortcutRequestPinProcessor.java305 final boolean existingIsVisible = existsAlready && existing.isVisibleToPublisher(); in requestPinShortcutLocked()
DShortcutService.java1872 ps.findAll(cachedOrPinned, (ShortcutInfo si) -> si.isVisibleToPublisher() in setDynamicShortcuts()
1942 if (target == null || !target.isVisibleToPublisher()) { in updateShortcuts()
2335 ps.findAll(changedShortcuts, (ShortcutInfo si) -> si.isVisibleToPublisher() in removeAllDynamicShortcuts()
2415 si.isVisibleToPublisher() && (si.getFlags() & shortcutFlags) != 0); in getShortcuts()
3024 sp.findAll(removedShortcuts, (ShortcutInfo si) -> si.isVisibleToPublisher() in pinShortcuts()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java945 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isVisibleToPublisher())); in areAllVisibleToPublisher()
950 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isVisibleToPublisher())); in areAllNotVisibleToPublisher()
/frameworks/base/api/
Dtest-current.txt1057 method public boolean isVisibleToPublisher();
/frameworks/base/config/
Dboot-image-profile.txt6025 PLandroid/content/pm/ShortcutInfo;->isVisibleToPublisher()Z