/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | ConversationStoreTest.java | 86 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()
|
D | ConversationInfoTest.java | 60 assertEquals(SHORTCUT_ID, conversationInfo.getShortcutId()); in testBuild() 82 assertEquals(SHORTCUT_ID, conversationInfo.getShortcutId()); in testBuildEmpty() 120 assertEquals(SHORTCUT_ID, destination.getShortcutId()); in testBuildFromAnotherConversationInfo()
|
D | DataManagerTest.java | 201 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/ |
D | ConversationStore.java | 251 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()
|
D | DataManager.java | 299 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()
|
D | UsageStatsQueryHelper.java | 85 addEventByShortcutId(packageData, e.getShortcutId(), in querySince()
|
D | ConversationInfo.java | 110 public String getShortcutId() { in getShortcutId() method in ConversationInfo
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationChannelExtractor.java | 50 record.getSbn().getShortcutId(), true, false); in process()
|
D | BubbleExtractor.java | 147 String shortcutId = metadata.getShortcutId(); in canPresentAsBubble()
|
D | ShortcutHelper.java | 232 ? r.getNotification().getBubbleMetadata().getShortcutId() in maybeListenForShortcutChangesForBubbles()
|
D | NotificationRecord.java | 597 pw.println(prefix + "shortcut=" + notification.getShortcutId() in dump()
|
D | NotificationManagerService.java | 5678 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/ |
D | NotificationChannelHelper.java | 46 final String conversationId = entry.getSbn().getShortcutId(); in createConversationChannelIfNeeded()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | Cat.java | 250 ShortcutInfo shortcut = new ShortcutInfo.Builder(context, getShortcutId()) 283 .setShortcutId(getShortcutId()) 291 .setKey(getShortcutId()) 435 public String getShortcutId() {
|
D | NekoService.java | 129 noman.notify(cat.getShortcutId(), CAT_NOTIFICATION, builder.build()); in notifyCat()
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 489 public String getShortcutId() { in getShortcutId() method in StatusBarNotification 490 return getNotification().getShortcutId(); in getShortcutId()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ShortcutHelperTest.java | 92 when(mBubbleMetadata.getShortcutId()).thenReturn(SHORTCUT_ID); in setUp() 155 when(mBubbleMetadata.getShortcutId()).thenReturn(null); in testBubbleNoLongerHasShortcutId_listenerRemoved()
|
D | NotificationChannelExtractorTest.java | 97 any(), anyInt(), eq("a"), eq(r.getSbn().getShortcutId()), in testInvalidShortcutFlagEnabled_looksUpCorrectChannel()
|
D | BubbleExtractorTest.java | 139 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/ |
D | BubbleExperimentConfig.java | 148 String shortcutId = entry.getSbn().getNotification().getShortcutId(); in adjustForExperiments()
|
D | Bubble.java | 393 ? entry.getBubbleMetadata().getShortcutId() : null); in setEntry()
|
D | BubbleController.java | 1654 && entry.getBubbleMetadata().getShortcutId() != null) { in canLaunchInActivityView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImpl.java | 150 || (entry.getBubbleMetadata().getShortcutId() == null in shouldBubbleUp()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageEvents.java | 607 public String getShortcutId() { in getShortcutId() method in UsageEvents.Event
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 3075 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
|