Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationInfoTest.java49 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED in testBuild()
106 .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.java120 public static final int FLAG_LONG_LIVED = 1 << 13; field in ShortcutInfo
158 FLAG_LONG_LIVED,
1717 return hasFlags(FLAG_LONG_LIVED); in isLongLived()
1722 addFlags(FLAG_LONG_LIVED); in setLongLived()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java280 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoParcel()
390 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
414 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
436 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
459 | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
484 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationInfo.java142 return hasShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED); in isShortcutLongLived()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1786 shortcut.replaceFlags(shortcut.getFlags() & ShortcutInfo.FLAG_LONG_LIVED); in fixUpIncomingShortcutInfo()