Home
last modified time | relevance | path

Searched refs:SHARE_SHORTCUT_ID (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/notification/src/android/app/notification/current/cts/
DPeopleManagerTest.java77 private static final String SHARE_SHORTCUT_ID = "shareShortcut"; field in PeopleManagerTest
107 personChannel.setConversationId(NOTIFICATION_CHANNEL_ID, SHARE_SHORTCUT_ID); in setUp()
152 ShortcutInfo shortcut = new ShortcutInfo.Builder(mContext, SHARE_SHORTCUT_ID) in createDynamicShortcut()
153 .setShortLabel(SHARE_SHORTCUT_ID) in createDynamicShortcut()
175 mShortcutManager.removeLongLivedShortcuts(Collections.singletonList(SHARE_SHORTCUT_ID)); in deleteShortcuts()
184 .setShortcutId(SHARE_SHORTCUT_ID) in getConversationNotification()
199 mPeopleManager.isConversation(mContext.getPackageName(), SHARE_SHORTCUT_ID); in testIsConversationWithoutPermission() local
214 mContext.getPackageName(), SHARE_SHORTCUT_ID)); in testIsConversationWithPermission() local
217 mContext.getPackageName(), SHARE_SHORTCUT_ID + 1)); in testIsConversationWithPermission() local
231 mPeopleManager.addOrUpdateStatus(SHARE_SHORTCUT_ID, cs); in testAddOrUpdateStatus_withExpiration()
[all …]
DBaseNotificationManagerTest.java90 protected static final String SHARE_SHORTCUT_ID = "shareShortcut"; field in BaseNotificationManagerTest
242 ShortcutInfo shortcut = new ShortcutInfo.Builder(mContext, SHARE_SHORTCUT_ID) in createDynamicShortcut()
243 .setShortLabel(SHARE_SHORTCUT_ID) in createDynamicShortcut()
258 scManager.removeLongLivedShortcuts(Collections.singletonList(SHARE_SHORTCUT_ID)); in deleteShortcuts()
271 .setShortcutId(SHARE_SHORTCUT_ID) in getConversationNotification()
DNotificationManagerBubbleTest.java599 new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID).build()); in testNotificationManagerBubblePolicy_flag_shortcutBubble()
643 new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID).build()); in testNotificationManagerBubblePolicy_noFlag_invalidNotif()
662 new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID).build()); in testNotificationManagerBubblePolicy_appAll_globalOn()
684 nb.setBubbleMetadata(new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID) in testNotificationManagerBubblePolicy_appAll_globalOff()
706 nb.setBubbleMetadata(new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID) in testNotificationManagerBubblePolicy_appAll_channelNo()
728 nb.setBubbleMetadata(new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID) in testNotificationManagerBubblePolicy_appSelected_channelNo()
750 nb.setBubbleMetadata(new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID) in testNotificationManagerBubblePolicy_appSelected_channelYes()
773 nb.setBubbleMetadata(new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID) in testNotificationManagerBubblePolicy_appNone_channelNo()
793 nb.setBubbleMetadata(new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID) in testNotificationManagerBubblePolicy_noFlag_shortcutRemoved()
DNotificationManagerTest.java2651 assertEquals(SHARE_SHORTCUT_ID, outRanking.getConversationShortcutInfo().getId()); in testConversationRankingFields()
2693 "Messages from " + SHARE_SHORTCUT_ID, IMPORTANCE_DEFAULT); in testDeleteConversationChannels()
2694 conversationChannel.setConversationId(channel.getId(), SHARE_SHORTCUT_ID); in testDeleteConversationChannels() local
/cts/tests/app/app/src/android/app/stubs/
DSendBubbleActivity.java40 private static final String SHARE_SHORTCUT_ID = "shareShortcut"; field in SendBubbleActivity
109 .setShortcutId(SHARE_SHORTCUT_ID) in sendBubble()
137 return new Notification.BubbleMetadata.Builder(SHARE_SHORTCUT_ID) in getBubbleMetadata()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java1785 private static final String SHARE_SHORTCUT_ID = "shareShortcut"; field in NotificationListenerVerifierActivity.ConversationOrderingTest
1824 new ShortcutInfo.Builder(mContext, SHARE_SHORTCUT_ID) in createDynamicShortcut()
1825 .setShortLabel(SHARE_SHORTCUT_ID) in createDynamicShortcut()
1850 .setShortcutId(SHARE_SHORTCUT_ID) in sendNotifications()