Home
last modified time | relevance | path

Searched refs:FLAG_LONG_LIVED (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppSearchShortcutInfoTest.java55 .setFlags(ShortcutInfo.FLAG_LONG_LIVED) in testBuildShortcutAndGetValue()
67 assertThat(shortcut.getFlags()).isEqualTo(ShortcutInfo.FLAG_LONG_LIVED); in testBuildShortcutAndGetValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationInfoTest.java61 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED in testBuild()
134 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in testBuildFromAnotherConversationInfo()
DPackageDataTest.java70 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in setUp()
176 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in testPruneOrphanEvents()
DConversationStoreTest.java330 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in buildConversationInfo()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java121 public static final int FLAG_LONG_LIVED = 1 << 13; field in ShortcutInfo
172 FLAG_LONG_LIVED,
1768 return hasFlags(FLAG_LONG_LIVED); in isLongLived()
1773 addFlags(FLAG_LONG_LIVED); in setLongLived()
DAppSearchShortcutInfo.java854 case ShortcutInfo.FLAG_LONG_LIVED: in flagToString()
909 return ShortcutInfo.FLAG_LONG_LIVED; in parseFlag()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java281 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoParcel()
396 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
420 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
442 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
465 | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
490 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationInfo.java175 return hasShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED); in isShortcutLongLived()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1869 shortcut.replaceFlags(shortcut.getFlags() & ShortcutInfo.FLAG_LONG_LIVED); in fixUpIncomingShortcutInfo()