Home
last modified time | relevance | path

Searched refs:getShortcutId (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationStoreTest.java86 assertEquals(SHORTCUT_ID, out.getShortcutId()); in testAddConversation()
124 conversationInfo -> shortcutIds.add(conversationInfo.getShortcutId())); in testForAllConversations()
137 assertEquals(SHORTCUT_ID, out.getShortcutId()); in testGetConversationByLocusId()
150 assertEquals(SHORTCUT_ID, out.getShortcutId()); in testGetConversationByContactUri()
163 assertEquals(SHORTCUT_ID, out.getShortcutId()); in testGetConversationByPhoneNumber()
177 assertEquals(SHORTCUT_ID, out.getShortcutId()); in testGetConversationByNotificationChannelId()
DConversationInfoTest.java60 assertEquals(SHORTCUT_ID, conversationInfo.getShortcutId()); in testBuild()
82 assertEquals(SHORTCUT_ID, conversationInfo.getShortcutId()); in testBuildEmpty()
120 assertEquals(SHORTCUT_ID, destination.getShortcutId()); in testBuildFromAnotherConversationInfo()
DDataManagerTest.java201 when(mNotification.getShortcutId()).thenReturn(TEST_SHORTCUT_ID); in setUp()
250 assertEquals("sc_1", conversations.get(0).getShortcutId()); in testAccessConversationFromTheSameProfileGroup()
256 assertEquals("sc_2", conversations.get(1).getShortcutId()); in testAccessConversationFromTheSameProfileGroup()
275 assertEquals("sc_1", conversations.get(0).getShortcutId()); in testAccessConversationForUnlockedUsersOnly()
335 assertEquals(conversationInfo.getShortcutId(), TEST_SHORTCUT_ID); in testReportAppTargetEvent_directSharing_createConversation()
379 assertEquals(TEST_SHORTCUT_ID, conversations.get(0).getShortcutId()); in testContactsChanged()
622 assertEquals(TEST_SHORTCUT_ID, conversations.get(0).getShortcutId()); in testShortcutAddedOrUpdated()
641 assertEquals("sc2", conversations.get(0).getShortcutId()); in testShortcutDeleted()
810 assertEquals(conversationInfo.getShortcutId(), TEST_SHORTCUT_ID); in testBackupAndRestoration()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationStore.java251 mConversationInfoMap.put(conversationInfo.getShortcutId(), conversationInfo); in updateConversationsInMemory()
255 mLocusIdToShortcutIdMap.put(locusId, conversationInfo.getShortcutId()); in updateConversationsInMemory()
260 mContactUriToShortcutIdMap.put(contactUri, conversationInfo.getShortcutId()); in updateConversationsInMemory()
265 mPhoneNumberToShortcutIdMap.put(phoneNumber, conversationInfo.getShortcutId()); in updateConversationsInMemory()
270 mNotifChannelIdToShortcutIdMap.put(notifChannelId, conversationInfo.getShortcutId()); in updateConversationsInMemory()
DDataManager.java299 packageName, conversationInfo.getShortcutId())) { in pruneDataForUser()
302 Collections.singletonList(conversationInfo.getShortcutId()), in pruneDataForUser()
511 String shortcutId = notification.getShortcutId(); in getPackageIfConversationExists()
791 String shortcutId = sbn.getNotification().getShortcutId(); in onNotificationPosted()
812 String shortcutId = sbn.getNotification().getShortcutId(); in onNotificationRemoved()
827 Collections.singletonList(conversationInfo.getShortcutId()), in onNotificationRemoved()
DUsageStatsQueryHelper.java85 addEventByShortcutId(packageData, e.getShortcutId(), in querySince()
DConversationInfo.java110 public String getShortcutId() { in getShortcutId() method in ConversationInfo
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelExtractor.java50 record.getSbn().getShortcutId(), true, false); in process()
DBubbleExtractor.java147 String shortcutId = metadata.getShortcutId(); in canPresentAsBubble()
DShortcutHelper.java232 ? r.getNotification().getBubbleMetadata().getShortcutId() in maybeListenForShortcutChangesForBubbles()
DNotificationRecord.java597 pw.println(prefix + "shortcut=" + notification.getShortcutId() in dump()
DNotificationManagerService.java5678 String shortcutId = n.getShortcutId();
5742 ? mShortcutHelper.getValidShortcutInfo(notification.getShortcutId(), pkg, user)
5744 if (notification.getShortcutId() != null && info == null) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationChannelHelper.java46 final String conversationId = entry.getSbn().getShortcutId(); in createConversationChannelIfNeeded()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DCat.java250 ShortcutInfo shortcut = new ShortcutInfo.Builder(context, getShortcutId())
283 .setShortcutId(getShortcutId())
291 .setKey(getShortcutId())
435 public String getShortcutId() {
DNekoService.java129 noman.notify(cat.getShortcutId(), CAT_NOTIFICATION, builder.build()); in notifyCat()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java489 public String getShortcutId() { in getShortcutId() method in StatusBarNotification
490 return getNotification().getShortcutId(); in getShortcutId()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DShortcutHelperTest.java92 when(mBubbleMetadata.getShortcutId()).thenReturn(SHORTCUT_ID); in setUp()
155 when(mBubbleMetadata.getShortcutId()).thenReturn(null); in testBubbleNoLongerHasShortcutId_listenerRemoved()
DNotificationChannelExtractorTest.java97 any(), anyInt(), eq("a"), eq(r.getSbn().getShortcutId()), in testInvalidShortcutFlagEnabled_looksUpCorrectChannel()
DBubbleExtractorTest.java139 when(mBubbleMetadata.getShortcutId()).thenReturn(null); in setUpIntentBubble()
150 when(mBubbleMetadata.getShortcutId()).thenReturn(SHORTCUT_ID); in setUpShortcutBubble()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleExperimentConfig.java148 String shortcutId = entry.getSbn().getNotification().getShortcutId(); in adjustForExperiments()
DBubble.java393 ? entry.getBubbleMetadata().getShortcutId() : null); in setEntry()
DBubbleController.java1654 && entry.getBubbleMetadata().getShortcutId() != null) { in canLaunchInActivityView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java150 || (entry.getBubbleMetadata().getShortcutId() == null in shouldBubbleUp()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java607 public String getShortcutId() { in getShortcutId() method in UsageEvents.Event
/frameworks/base/core/java/android/app/
DNotification.java3075 sb.append(getShortcutId()); in toString()
3241 public String getShortcutId() { in getShortcutId() method in Notification
6005 && mN.mBubbleMetadata.getShortcutId() != null
6006 && !mN.mShortcutId.equals(mN.mBubbleMetadata.getShortcutId())) {
6010 + " vs bubble: " + mN.mBubbleMetadata.getShortcutId());
8890 public String getShortcutId() { in getShortcutId() method in Notification.Builder.BubbleMetadata

12