Searched refs:FLAG_LONG_LIVED (Results 1 – 9 of 9) sorted by relevance
55 .setFlags(ShortcutInfo.FLAG_LONG_LIVED) in testBuildShortcutAndGetValue()67 assertThat(shortcut.getFlags()).isEqualTo(ShortcutInfo.FLAG_LONG_LIVED); in testBuildShortcutAndGetValue()
61 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED in testBuild()134 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in testBuildFromAnotherConversationInfo()
70 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in setUp()176 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in testPruneOrphanEvents()
330 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in buildConversationInfo()
121 public static final int FLAG_LONG_LIVED = 1 << 13; field in ShortcutInfo172 FLAG_LONG_LIVED,1768 return hasFlags(FLAG_LONG_LIVED); in isLongLived()1773 addFlags(FLAG_LONG_LIVED); in setLongLived()
854 case ShortcutInfo.FLAG_LONG_LIVED: in flagToString()909 return ShortcutInfo.FLAG_LONG_LIVED; in parseFlag()
281 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()
175 return hasShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED); in isShortcutLongLived()
1869 shortcut.replaceFlags(shortcut.getFlags() & ShortcutInfo.FLAG_LONG_LIVED); in fixUpIncomingShortcutInfo()