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.java762 Preconditions.checkState(isVisibleToPublisher(), in ensureUpdatableWith()
770 if (isVisibleToPublisher()) { in ensureUpdatableWith()
1570 return isDynamic() && isVisibleToPublisher(); in isDynamicVisible()
1575 return isPinned() && isVisibleToPublisher(); in isPinnedVisible()
1580 return isDeclaredInManifest() && isVisibleToPublisher(); in isManifestVisible()
1678 public boolean isVisibleToPublisher() { in isVisibleToPublisher() method in ShortcutInfo
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java194 return si != null && !si.isVisibleToPublisher(); in isShortcutExistsAndInvisibleToPublisher()
199 return si != null && si.isVisibleToPublisher(); in isShortcutExistsAndVisibleToPublisher()
204 && (!ignoreInvisible || shortcut.isVisibleToPublisher())) { in ensureNotImmutable()
324 if (si.isDynamic() && (!ignoreInvisible || si.isVisibleToPublisher())) { in deleteAllDynamicShortcuts()
396 && (ignoreInvisible && !oldShortcut.isVisibleToPublisher())) { in deleteOrDisableWithId()
DShortcutRequestPinProcessor.java303 final boolean existingIsVisible = existsAlready && existing.isVisibleToPublisher(); in requestPinShortcutLocked()
DShortcutService.java1810 if (target == null || !target.isVisibleToPublisher()) { in updateShortcuts()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java939 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isVisibleToPublisher())); in areAllVisibleToPublisher()
944 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isVisibleToPublisher())); in areAllNotVisibleToPublisher()
/frameworks/base/api/
Dtest-current.txt270 method public boolean isVisibleToPublisher();
/frameworks/base/config/
Dhiddenapi-public-dex.txt8802 Landroid/content/pm/ShortcutInfo;->isVisibleToPublisher()Z