/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 | 74 assertEquals(SHORTCUT_ID, conversationInfo.getShortcutId()); in testBuild() 101 assertEquals(SHORTCUT_ID, conversationInfo.getShortcutId()); in testBuildEmpty() 150 assertEquals(SHORTCUT_ID, destination.getShortcutId()); in testBuildFromAnotherConversationInfo()
|
D | DataManagerTest.java | 272 when(mNotification.getShortcutId()).thenReturn(TEST_SHORTCUT_ID); in setUp() 324 assertEquals("sc_1", conversations.get(0).getShortcutId()); in testAccessConversationFromTheSameProfileGroup() 330 assertEquals("sc_2", conversations.get(1).getShortcutId()); in testAccessConversationFromTheSameProfileGroup() 349 assertEquals("sc_1", conversations.get(0).getShortcutId()); in testAccessConversationForUnlockedUsersOnly() 409 assertEquals(conversationInfo.getShortcutId(), TEST_SHORTCUT_ID); in testReportAppTargetEvent_directSharing_createConversation() 453 assertEquals(TEST_SHORTCUT_ID, conversations.get(0).getShortcutId()); in testContactsChanged() 508 when(mNotification.getShortcutId()).thenReturn(shortcutId); in testUncacheShortcutsWhenNotificationsDismissed() 895 assertEquals(TEST_SHORTCUT_ID, conversations.get(0).getShortcutId()); in testShortcutAddedOrUpdated() 921 assertEquals("sc2", conversations.get(0).getShortcutId()); in testShortcutsDeleted() 1123 when(mNotification.getShortcutId()).thenReturn(shortcutId); in testDoNotUncacheShortcutWithActiveNotifications() [all …]
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | ConversationStore.java | 262 mConversationInfoMap.put(conversationInfo.getShortcutId(), conversationInfo); in updateConversationsInMemory() 266 mLocusIdToShortcutIdMap.put(locusId, conversationInfo.getShortcutId()); in updateConversationsInMemory() 271 mContactUriToShortcutIdMap.put(contactUri, conversationInfo.getShortcutId()); in updateConversationsInMemory() 276 mPhoneNumberToShortcutIdMap.put(phoneNumber, conversationInfo.getShortcutId()); in updateConversationsInMemory() 281 mNotifChannelIdToShortcutIdMap.put(notifChannelId, conversationInfo.getShortcutId()); in updateConversationsInMemory()
|
D | DataManager.java | 314 String shortcutId = conversationInfo.getShortcutId(); in getRecentConversations() 357 String shortcutId = conversationInfo.getShortcutId(); in pruneOldRecentConversations() 786 String shortcutId = notification.getShortcutId(); in getPackageIfConversationExists() 849 if (hasActiveNotifications(cached.first, userId, cached.second.getShortcutId())) { in cleanupCachedShortcuts() 861 Collections.singletonList(toUncache.second.getShortcutId()), in cleanupCachedShortcuts() 1151 String shortcutId = sbn.getNotification().getShortcutId(); in onNotificationPosted() 1189 String shortcutId = sbn.getNotification().getShortcutId(); in onNotificationRemoved() 1320 modifiedConv.getShortcutId(), modifiedConv); in updateConversationStoreThenNotifyListeners()
|
D | UsageStatsQueryHelper.java | 92 addEventByShortcutId(packageData, e.getShortcutId(), in querySince()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | SharedPreferencesHelperTest.java | 55 widgetEditor.putString(PeopleSpaceUtils.SHORTCUT_ID, peopleTileKey.getShortcutId()); in setStorageForTile() 70 assertThat(actual.getShortcutId()).isEqualTo(SHORTCUT_ID_1); in testGetPeopleTileKey()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationChannelExtractor.java | 50 record.getSbn().getShortcutId(), true, false); in process()
|
D | BubbleExtractor.java | 148 String shortcutId = metadata.getShortcutId(); in canPresentAsBubble()
|
D | ShortcutHelper.java | 242 ? r.getNotification().getBubbleMetadata().getShortcutId() in maybeListenForShortcutChangesForBubbles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | AppWidgetOptionsHelper.java | 37 options.putString(SHORTCUT_ID, key.getShortcutId()); in setPeopleTileKey()
|
D | PeopleTileKey.java | 61 public String getShortcutId() { in getShortcutId() method in PeopleTileKey
|
D | PeopleSpaceWidgetManager.java | 401 key.getPackageName(), key.getUserId(), key.getShortcutId()); in getTileFromPersistentStorage() 451 sbn.getShortcutId(), sbn.getUser().getIdentifier(), sbn.getPackageName()); in updateWidgetsWithNotificationChangedInBackground() 802 + optionsKey.getShortcutId()); in onAppWidgetOptionsChanged() 879 key.getShortcutId(), newListener, in registerConversationListenerIfNeeded() 956 if (DEBUG) Log.d(TAG, "Uncaching shortcut for PeopleTile: " + key.getShortcutId()); in uncacheConversationShortcut() 958 Collections.singletonList(key.getShortcutId()), in uncacheConversationShortcut()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | SharedPreferencesHelper.java | 39 setPeopleTileKey(sp, key.getShortcutId(), key.getUserId(), key.getPackageName()); in setPeopleTileKey()
|
/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 | 487 public String getShortcutId() { in getShortcutId() method in StatusBarNotification 488 return getNotification().getShortcutId(); in getShortcutId()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationChannelExtractorTest.java | 97 any(), anyInt(), eq("a"), eq(r.getSbn().getShortcutId()), in testInvalidShortcutFlagEnabled_looksUpCorrectChannel()
|
D | ShortcutHelperTest.java | 102 when(mBubbleMetadata.getShortcutId()).thenReturn(SHORTCUT_ID); in setUp() 166 when(mBubbleMetadata.getShortcutId()).thenReturn(null); in testBubbleNoLongerHasShortcutId_listenerRemoved()
|
D | BubbleExtractorTest.java | 139 when(mBubbleMetadata.getShortcutId()).thenReturn(null); in setUpIntentBubble() 150 when(mBubbleMetadata.getShortcutId()).thenReturn(SHORTCUT_ID); in setUpShortcutBubble()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManagerTest.java | 1130 assertThat(tile.getId()).isEqualTo(key.getShortcutId()); in testGetPeopleTileFromPersistentStorageExistingConversation() 1451 assertThat(key1.getShortcutId()).isEqualTo(SHORTCUT_ID); in testRemapWidgetFiles() 1457 assertThat(key4.getShortcutId()).isEqualTo(OTHER_SHORTCUT_ID); in testRemapWidgetFiles() 1463 assertThat(key8.getShortcutId()).isNull(); in testRemapWidgetFiles() 1469 assertThat(key11.getShortcutId()).isNull(); in testRemapWidgetFiles() 1484 assertThat(key1.getShortcutId()).isEqualTo(THIRD_SHORTCUT_ID); in testRemapWidgetFiles_crossMapping() 1490 assertThat(key2.getShortcutId()).isEqualTo(OTHER_SHORTCUT_ID); in testRemapWidgetFiles_crossMapping() 1496 assertThat(key4.getShortcutId()).isEqualTo(SHORTCUT_ID); in testRemapWidgetFiles_crossMapping() 1598 ShortcutInfo shortcutInfo = new ShortcutInfo.Builder(mMockContext, key.getShortcutId()) in getConversationWithShortcutId()
|
/frameworks/base/services/people/java/com/android/server/people/ |
D | PeopleService.java | 368 public String getShortcutId() { in getShortcutId() method in PeopleService.ListenerKey 376 && key.getShortcutId().equals(mShortcutId); in equals()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | Bubble.java | 290 String getShortcutId() { in getShortcutId() method in Bubble 472 mMetadataShortcutId = entry.getBubbleMetadata().getShortcutId(); in setEntry()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImpl.java | 150 || (entry.getBubbleMetadata().getShortcutId() == null in shouldBubbleUp()
|