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.java926 Preconditions.checkState(isVisibleToPublisher(), in ensureUpdatableWith()
934 if (isVisibleToPublisher()) { in ensureUpdatableWith()
1952 return isDynamic() && isVisibleToPublisher(); in isDynamicVisible()
1957 return isPinned() && isVisibleToPublisher(); in isPinnedVisible()
1962 return isDeclaredInManifest() && isVisibleToPublisher(); in isManifestVisible()
1967 return !isDeclaredInManifest() && isVisibleToPublisher() in isNonManifestVisible()
2076 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.java286 return si != null && !si.isVisibleToPublisher(); in isShortcutExistsAndInvisibleToPublisher()
291 return si != null && si.isVisibleToPublisher(); in isShortcutExistsAndVisibleToPublisher()
296 && (!ignoreInvisible || shortcut.isVisibleToPublisher())) { in ensureNotImmutable()
561 if (si.isDynamic() && si.isVisibleToPublisher()) { in deleteAllDynamicShortcuts()
659 && (ignoreInvisible && !oldShortcut.isVisibleToPublisher())) { in deleteOrDisableWithId()
DShortcutService.java2056 (ShortcutInfo si) -> si.isVisibleToPublisher()
2127 if (target == null || !target.isVisibleToPublisher()) {
2506 (ShortcutInfo si) -> si.isVisibleToPublisher()
2572 si.isVisibleToPublisher()
3228 sp.findAll(removedShortcuts, (ShortcutInfo si) -> si.isVisibleToPublisher()
/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.txt1160 method public boolean isVisibleToPublisher();