/aosp14/frameworks/base/core/java/android/service/notification/ |
H A D | ConversationChannelWrapper.java | 105 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in ConversationChannelWrapper 137 Objects.equals(getShortcutInfo(), that.getShortcutInfo()) && in equals() 145 getShortcutInfo(), getPkg(), getUid()); in hashCode()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ShortcutManagerTest8.java | 292 assertWith(request.getShortcutInfo()) in checkRequestPinShortcut() 369 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_explicitTargetActivity() 451 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_noTargetActivity_noMainActivity() 513 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_dynamicExists() 568 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_manifestExists() 649 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_dynamicExists_alreadyPinned() 729 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_manifestExists_alreadyPinned() 892 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_dynamicExists_alreadyPinnedByAnother() 955 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_manifestExists_alreadyPinnedByAnother() 1013 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_launcherAlreadyHasPinned() [all …]
|
H A D | ShortcutManagerTest10.java | 92 assertTrue(mRequest.getShortcutInfo().isPinned()); in testCreateShortcutResult_alreadyPinned() 116 assertFalse(mRequest.getShortcutInfo().isPinned()); in testCreateShortcutResult_alreadyPinnedByAnother()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/people/ |
H A D | PeopleManagerTest.java | 97 assertEquals(conversationChannel.getShortcutInfo().getId(), CONVERSATION_ID_1); in testCorrectlyMapsToProxyConversationListener() 98 assertEquals(conversationChannel.getShortcutInfo().getLabel(), in testCorrectlyMapsToProxyConversationListener() 99 conversation.getShortcutInfo().getLabel()); in testCorrectlyMapsToProxyConversationListener()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
H A D | BubbleTest.java | 173 assertThat(bubble.getShortcutInfo()).isNotNull(); in testBubbleIsConversation_hasConversationShortcut() 180 assertThat(bubble.getShortcutInfo()).isNull(); in testBubbleIsConversation_hasNoShortcut() 189 assertThat(bubble.getShortcutInfo()).isNotNull(); in testBubbleAsBubbleBarBubble_withShortcut() 205 assertThat(bubble.getShortcutInfo()).isNull(); in testBubbleAsBubbleBarBubble_withoutShortcut()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | BubbleExtractor.java | 82 && record.getShortcutInfo() != null in process() 158 String notificationShortcutId = r.getShortcutInfo() != null in canPresentAsBubble() 159 ? r.getShortcutInfo().getId() in canPresentAsBubble()
|
H A D | ShortcutHelper.java | 246 && r.getShortcutInfo() != null in maybeListenForShortcutChangesForBubbles() 247 && r.getShortcutInfo().getId().equals(shortcutId)) { in maybeListenForShortcutChangesForBubbles()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | IPinItemRequest.aidl | 28 ShortcutInfo getShortcutInfo(); in getShortcutInfo() method
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleData.java | 547 && bubble.getShortcutInfo() != null in removeBubblesWithInvalidShortcuts() 548 && bubble.getShortcutInfo().isEnabled() in removeBubblesWithInvalidShortcuts() 549 && validShortcutIds.contains(bubble.getShortcutInfo().getId()); in removeBubblesWithInvalidShortcuts() 1084 String bubbleShortcutId = bubble.getShortcutInfo() != null in getAnyBubbleWithShortcutId() 1085 ? bubble.getShortcutInfo().getId() in getAnyBubbleWithShortcutId() 1094 String bubbleShortcutId = bubble.getShortcutInfo() != null in getAnyBubbleWithShortcutId() 1095 ? bubble.getShortcutInfo().getId() in getAnyBubbleWithShortcutId()
|
H A D | BubbleViewInfoTask.java | 232 if (b.getShortcutInfo() != null) { in populateCommonInfo() 233 info.shortcutInfo = b.getShortcutInfo(); in populateCommonInfo()
|
H A D | BubbleOverflowContainerView.java | 361 CharSequence label = b.getShortcutInfo() != null in onBindViewHolder() 362 ? b.getShortcutInfo().getLabel() in onBindViewHolder()
|
H A D | Bubble.java | 369 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in Bubble 400 return getShortcutInfo() != null in getShortcutId() 401 ? getShortcutInfo().getId() in getShortcutId()
|
H A D | BubbleTaskViewHelper.java | 139 mTaskView.startShortcutActivity(mBubble.getShortcutInfo(),
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | LockscreenFragment.java | 118 Shortcut info = getShortcutInfo(getContext(), value); in setSummary() 143 public static Shortcut getShortcutInfo(Context context, String value) { in getShortcutInfo() method in LockscreenFragment 330 Shortcut shortcut = getShortcutInfo(mContext, buttonStr); in create()
|
/aosp14/frameworks/base/core/java/android/app/people/ |
H A D | ConversationChannel.java | 115 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in ConversationChannel
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationListenerServiceTest.java | 156 assertEquals(getShortcutInfo(i).getId(), ranking.getConversationShortcutInfo().getId()); in testRanking() 310 getShortcutInfo(i), in generateUpdate() 427 private ShortcutInfo getShortcutInfo(int index) { in getShortcutInfo() method in NotificationListenerServiceTest
|
H A D | ShortcutHelperTest.java | 112 when(mockRecord.getShortcutInfo()).thenReturn(mShortcutInfo); in setUpMockNotificationRecord() 202 when(validMock2.getShortcutInfo()).thenReturn(null); in testNotifNoLongerHasShortcut_listenerRemoved()
|
/aosp14/frameworks/base/services/people/java/com/android/server/people/prediction/ |
H A D | SharesheetModelScorer.java | 154 target.getAppTarget().getShortcutInfo() != null in computeScore() 155 ? target.getAppTarget().getShortcutInfo().getId() : null, in computeScore()
|
H A D | ShareTargetPredictor.java | 177 ShortcutInfo shortcutInfo = shareShortcut.getShortcutInfo(); in getDirectShareTargets()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutRequestPinProcessor.java | 70 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in ShortcutRequestPinProcessor.PinItemRequestInner 201 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in ShortcutRequestPinProcessor.PinShortcutRequestInner
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
H A D | PeopleSpaceWidgetManager.java | 225 + conversation.getShortcutInfo().getLabel()); in onConversationUpdate() 673 ShortcutInfo info = conversation.getShortcutInfo(); in updateWidgetsWithConversationChanged() 701 ShortcutInfo info = conversation.getShortcutInfo(); in updateStorageAndViewWithConversationData() 1000 .map(c -> c.getShortcutInfo()); in getPriorityTiles() 1017 .map(c -> c.getShortcutInfo()); in getRecentTiles() 1023 .map(c -> c.getShortcutInfo()); in getRecentTiles()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | DataManagerTest.java | 634 assertEquals(result.getShortcutInfo().getId(), TEST_SHORTCUT_ID); in testAddOrUpdateStatusNotifiesConversationsListeners() 681 assertEquals(shortcut.getId(), result.getShortcutInfo().getId()); in testGetConversation() 682 assertEquals(1, result.getShortcutInfo().getPersons().length); in testGetConversation() 683 assertEquals(CONTACT_URI, result.getShortcutInfo().getPersons()[0].getUri()); in testGetConversation() 962 assertEquals(result.getShortcutInfo().getId(), TEST_SHORTCUT_ID); in testShortcutAddedOrUpdated() 1337 assertEquals(shortcut.getId(), result.get(0).getShortcutInfo().getId()); in testGetRecentConversations() 1338 assertEquals(1, result.get(0).getShortcutInfo().getPersons().length); in testGetRecentConversations() 1339 assertEquals(CONTACT_URI, result.get(0).getShortcutInfo().getPersons()[0].getUri()); in testGetRecentConversations()
|
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/ |
H A D | DataManager.java | 399 && channel.getShortcutInfo() != null in isConversation() 400 && !TextUtils.isEmpty(channel.getShortcutInfo().getLabel()); in isConversation() 511 if (appTarget.getShortcutInfo() == null) { in reportShareTargetEvent() 514 String shortcutId = appTarget.getShortcutInfo().getId(); in reportShareTargetEvent() 520 addOrUpdateConversationInfo(appTarget.getShortcutInfo()); in reportShareTargetEvent()
|
/aosp14/frameworks/base/core/java/android/app/prediction/ |
H A D | AppTarget.java | 138 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in AppTarget
|
/aosp14/frameworks/base/core/java/android/app/search/ |
H A D | SearchTarget.java | 267 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in SearchTarget
|