Home
last modified time | relevance | path

Searched refs:FLAG_DYNAMIC (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java68 public static final int FLAG_DYNAMIC = 1 << 0; field in ShortcutInfo
106 FLAG_DYNAMIC,
1365 return hasFlags(FLAG_DYNAMIC); in isDynamic()
1432 return hasFlags(FLAG_PINNED) || hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST); in isAlive()
1437 return hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST); in usesQuota()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java202 shortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_PINNED in deleteShortcutInner()
229 newShortcut.addFlags(ShortcutInfo.FLAG_DYNAMIC); in addOrUpdateDynamicShortcut()
289 si.clearFlags(ShortcutInfo.FLAG_DYNAMIC); in deleteAllDynamicShortcuts()
358 oldShortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_MANIFEST); in deleteOrDisableWithId()
1305 | ShortcutInfo.FLAG_DYNAMIC)); in saveShortcut()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java920 assertEquals(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_HAS_ICON_FILE in testShortcutInfoSaveAndLoad()
992 assertEquals(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_HAS_ICON_FILE
1066 assertEquals(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_HAS_ICON_RES