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.java814 Preconditions.checkState(isVisibleToPublisher(), in ensureUpdatableWith()
822 if (isVisibleToPublisher()) { in ensureUpdatableWith()
1728 return isDynamic() && isVisibleToPublisher(); in isDynamicVisible()
1733 return isPinned() && isVisibleToPublisher(); in isPinnedVisible()
1738 return isDeclaredInManifest() && isVisibleToPublisher(); in isManifestVisible()
1836 public boolean isVisibleToPublisher() { in isVisibleToPublisher() method in ShortcutInfo
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java213 return si != null && !si.isVisibleToPublisher(); in isShortcutExistsAndInvisibleToPublisher()
218 return si != null && si.isVisibleToPublisher(); in isShortcutExistsAndVisibleToPublisher()
223 && (!ignoreInvisible || shortcut.isVisibleToPublisher())) { in ensureNotImmutable()
343 if (si.isDynamic() && (!ignoreInvisible || si.isVisibleToPublisher())) { in deleteAllDynamicShortcuts()
415 && (ignoreInvisible && !oldShortcut.isVisibleToPublisher())) { in deleteOrDisableWithId()
DShortcutRequestPinProcessor.java303 final boolean existingIsVisible = existsAlready && existing.isVisibleToPublisher(); in requestPinShortcutLocked()
DShortcutService.java1838 if (target == null || !target.isVisibleToPublisher()) { in updateShortcuts()
/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.txt760 method public boolean isVisibleToPublisher();
/frameworks/base/config/
Dboot-image-profile.txt4565 HPLandroid/content/pm/ShortcutInfo;->isVisibleToPublisher()Z