Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java257 si.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoParcel()
280 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoParcel()
312 si.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoParcel_resId()
337 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoParcel_resId()
363 sorig.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoClone()
390 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
414 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
436 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
458 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_KEY_FIELDS_ONLY in testShortcutInfoClone()
484 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java289 shortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_PINNED in forceDeleteShortcutInner()
333 & (ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_CACHED_ALL)); in addOrReplaceDynamicShortcut()
392 & (ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_CACHED_ALL)); in pushDynamicShortcut()
575 shortcut.addFlags(ShortcutInfo.FLAG_PINNED); in updateInvisibleShortcutForPinRequestWith()
591 mShortcuts.valueAt(i).clearFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()
612 si.addFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()
754 clone.clearFlags(ShortcutInfo.FLAG_PINNED); in findAll()
759 clone.clearFlags(ShortcutInfo.FLAG_PINNED); in findAll()
1122 newShortcut.addFlags(ShortcutInfo.FLAG_PINNED); in publishManifestShortcuts()
DShortcutRequestPinProcessor.java341 shortcutForLauncher.clearFlags(ShortcutInfo.FLAG_PINNED); in requestPinShortcutLocked()
DLauncherAppsService.java1172 | (matchPinned ? ShortcutInfo.FLAG_PINNED : 0) in filterShortcutsByQuery()
DShortcutService.java2408 | (matchPinned ? ShortcutInfo.FLAG_PINNED : 0) in getShortcuts()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java80 public static final int FLAG_PINNED = 1 << 1; field in ShortcutInfo
146 FLAG_PINNED,
1742 return hasFlags(FLAG_PINNED); in isPinned()
1825 return hasFlags(FLAG_PINNED) || hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST) in isAlive()