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.java69 public static final int FLAG_DYNAMIC = 1 << 0; field in ShortcutInfo
113 FLAG_DYNAMIC,
1527 return hasFlags(FLAG_DYNAMIC); in isDynamic()
1609 return hasFlags(FLAG_PINNED) || hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST); in isAlive()
1614 return hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST); in usesQuota()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java236 shortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_PINNED in forceDeleteShortcutInner()
268 newShortcut.addFlags(ShortcutInfo.FLAG_DYNAMIC); in addOrReplaceDynamicShortcut()
328 si.clearFlags(ShortcutInfo.FLAG_DYNAMIC); in deleteAllDynamicShortcuts()
405 oldShortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_MANIFEST); in deleteOrDisableWithId()
1411 | 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