Home
last modified time | relevance | path

Searched refs:FLAG_PINNED (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java257 si.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoParcel()
279 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoParcel()
310 si.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoParcel_resId()
334 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoParcel_resId()
359 sorig.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoClone()
385 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
408 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
429 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
450 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_KEY_FIELDS_ONLY in testShortcutInfoClone()
475 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java255 shortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_PINNED in forceDeleteShortcutInner()
305 newShortcut.addFlags(ShortcutInfo.FLAG_PINNED); in addOrReplaceDynamicShortcut()
461 shortcut.addFlags(ShortcutInfo.FLAG_PINNED); in updateInvisibleShortcutForPinRequestWith()
477 mShortcuts.valueAt(i).clearFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()
498 si.addFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()
640 clone.clearFlags(ShortcutInfo.FLAG_PINNED); in findAll()
645 clone.clearFlags(ShortcutInfo.FLAG_PINNED); in findAll()
1006 newShortcut.addFlags(ShortcutInfo.FLAG_PINNED); in publishManifestShortcuts()
DShortcutRequestPinProcessor.java339 shortcutForLauncher.clearFlags(ShortcutInfo.FLAG_PINNED); in requestPinShortcutLocked()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java79 public static final int FLAG_PINNED = 1 << 1; field in ShortcutInfo
124 FLAG_PINNED,
1690 return hasFlags(FLAG_PINNED); in isPinned()
1767 return hasFlags(FLAG_PINNED) || hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST); in isAlive()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt16131 Landroid/content/pm/ShortcutInfo;->FLAG_PINNED:I