Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationInfoTest.java64 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED in testBuild()
140 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in testBuildFromAnotherConversationInfo()
189 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED) in testBuildFromAnotherConversation_identicalConversation()
238 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED in testBuildFromBackupPayload()
290 .setShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED in testBuildFromProtoPayload()
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/tests/coretests/src/android/content/pm/
DAppSearchShortcutInfoTest.java57 .setFlags(ShortcutInfo.FLAG_LONG_LIVED) in testBuildShortcutAndGetValue()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java129 public static final int FLAG_LONG_LIVED = 1 << 13; field in ShortcutInfo
180 FLAG_LONG_LIVED,
1889 return hasFlags(FLAG_LONG_LIVED); in isLongLived()
1894 addFlags(FLAG_LONG_LIVED); in setLongLived()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java304 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoParcel()
427 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
451 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
473 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
496 | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
521 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationInfo.java192 return hasShortcutFlags(ShortcutInfo.FLAG_LONG_LIVED); in isShortcutLongLived()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1948 shortcut.replaceFlags(shortcut.getFlags() & ShortcutInfo.FLAG_LONG_LIVED);