Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java77 public static final int FLAG_DYNAMIC = 1 << 0; field in ShortcutInfo
145 FLAG_DYNAMIC,
1737 return hasFlags(FLAG_DYNAMIC); in isDynamic()
1825 return hasFlags(FLAG_PINNED) || hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST) in isAlive()
1831 return hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST); in usesQuota()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java289 shortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_PINNED in forceDeleteShortcutInner()
323 newShortcut.addFlags(ShortcutInfo.FLAG_DYNAMIC); in addOrReplaceDynamicShortcut()
354 newShortcut.addFlags(ShortcutInfo.FLAG_DYNAMIC); in pushDynamicShortcut()
441 si.clearFlags(ShortcutInfo.FLAG_DYNAMIC); in deleteAllDynamicShortcuts()
538 oldShortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_MANIFEST); in deleteOrDisableWithId()
1658 | ShortcutInfo.FLAG_DYNAMIC in saveShortcut()
DLauncherAppsService.java1171 final int shortcutFlags = (matchDynamic ? ShortcutInfo.FLAG_DYNAMIC : 0) in filterShortcutsByQuery()
DShortcutService.java2407 final int shortcutFlags = (matchDynamic ? ShortcutInfo.FLAG_DYNAMIC : 0) in getShortcuts()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java995 assertEquals(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_HAS_ICON_FILE in testShortcutInfoSaveAndLoad()
1071 assertEquals(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_HAS_ICON_FILE
1146 assertEquals(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_HAS_ICON_RES
1226 assertEquals(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_HAS_ICON_URI
1238 assertEquals(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_HAS_ICON_URI