Home
last modified time | relevance | path

Searched refs:getShortcutInfo (Results 1 – 25 of 51) sorted by relevance

123

/aosp14/frameworks/base/core/java/android/service/notification/
H A DConversationChannelWrapper.java105 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 DShortcutManagerTest8.java292 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 DShortcutManagerTest10.java92 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 DPeopleManagerTest.java97 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 DBubbleTest.java173 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 DBubbleExtractor.java82 && record.getShortcutInfo() != null in process()
158 String notificationShortcutId = r.getShortcutInfo() != null in canPresentAsBubble()
159 ? r.getShortcutInfo().getId() in canPresentAsBubble()
H A DShortcutHelper.java246 && r.getShortcutInfo() != null in maybeListenForShortcutChangesForBubbles()
247 && r.getShortcutInfo().getId().equals(shortcutId)) { in maybeListenForShortcutChangesForBubbles()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DIPinItemRequest.aidl28 ShortcutInfo getShortcutInfo(); in getShortcutInfo() method
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleData.java547 && 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 DBubbleViewInfoTask.java232 if (b.getShortcutInfo() != null) { in populateCommonInfo()
233 info.shortcutInfo = b.getShortcutInfo(); in populateCommonInfo()
H A DBubbleOverflowContainerView.java361 CharSequence label = b.getShortcutInfo() != null in onBindViewHolder()
362 ? b.getShortcutInfo().getLabel() in onBindViewHolder()
H A DBubble.java369 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in Bubble
400 return getShortcutInfo() != null in getShortcutId()
401 ? getShortcutInfo().getId() in getShortcutId()
H A DBubbleTaskViewHelper.java139 mTaskView.startShortcutActivity(mBubble.getShortcutInfo(),
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DLockscreenFragment.java118 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 DConversationChannel.java115 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in ConversationChannel
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationListenerServiceTest.java156 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 DShortcutHelperTest.java112 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 DSharesheetModelScorer.java154 target.getAppTarget().getShortcutInfo() != null in computeScore()
155 ? target.getAppTarget().getShortcutInfo().getId() : null, in computeScore()
H A DShareTargetPredictor.java177 ShortcutInfo shortcutInfo = shareShortcut.getShortcutInfo(); in getDirectShareTargets()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutRequestPinProcessor.java70 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 DPeopleSpaceWidgetManager.java225 + 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 DDataManagerTest.java634 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 DDataManager.java399 && 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 DAppTarget.java138 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in AppTarget
/aosp14/frameworks/base/core/java/android/app/search/
H A DSearchTarget.java267 public ShortcutInfo getShortcutInfo() { in getShortcutInfo() method in SearchTarget

123