/frameworks/base/core/tests/coretests/src/android/accessibilityservice/ |
D | AccessibilityShortcutInfoTest.java | 57 private AccessibilityShortcutInfo mShortcutInfo; field in AccessibilityShortcutInfoTest 65 mShortcutInfo = getAccessibilityShortcutInfo(mComponentName); in setUp() 66 assertNotNull("Can't find " + mComponentName, mShortcutInfo); in setUp() 76 mShortcutInfo.loadDescription(mPackageManager), is(description)); in testDescription() 86 mShortcutInfo.loadSummary(mPackageManager), is(summary)); in testSummary() 92 mShortcutInfo.getAnimatedImageRes(), is(R.drawable.bitmap_drawable)); in testAnimatedImageRes() 98 mShortcutInfo.loadAnimatedImage(mTargetContext)); in testLoadAnimatedImage() 108 mShortcutInfo.loadHtmlDescription(mPackageManager), is(htmlDescription)); in testHtmlDescription() 114 mShortcutInfo.getSettingsActivityName(), is(SETTINGS_ACTIVITY_NAME)); in testSettingsActivity() 119 assertTrue(mShortcutInfo.equals(mShortcutInfo)); in testEquals() [all …]
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppTarget.java | 44 private final ShortcutInfo mShortcutInfo; field in AppTarget 56 mShortcutInfo = null; in AppTarget() 72 mShortcutInfo = Objects.requireNonNull(shortcutInfo); in AppTarget() 74 mPackageName = mShortcutInfo.getPackage(); in AppTarget() 75 mUser = mShortcutInfo.getUserHandle(); in AppTarget() 83 mShortcutInfo = shortcutInfo; in AppTarget() 92 mShortcutInfo = parcel.readTypedObject(ShortcutInfo.CREATOR); in AppTarget() 93 if (mShortcutInfo == null) { in AppTarget() 97 mPackageName = mShortcutInfo.getPackage(); in AppTarget() 98 mUser = mShortcutInfo.getUserHandle(); in AppTarget() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ConversationChannelWrapper.java | 35 private ShortcutInfo mShortcutInfo; field in ConversationChannelWrapper 45 mShortcutInfo = in.readParcelable(ShortcutInfo.class.getClassLoader()); in ConversationChannelWrapper() 55 dest.writeParcelable(mShortcutInfo, flags); in writeToParcel() 105 return mShortcutInfo; in getShortcutInfo() 109 mShortcutInfo = shortcutInfo; in setShortcutInfo()
|
D | NotificationListenerService.java | 1571 private ShortcutInfo mShortcutInfo; field in NotificationListenerService.Ranking 1606 out.writeParcelable(mShortcutInfo, flags); in writeToParcel() 1642 mShortcutInfo = in.readParcelable(cl); in Ranking() 1860 return mShortcutInfo; in getShortcutInfo() 1899 mShortcutInfo = shortcutInfo; in populate() 1928 other.mShortcutInfo, 1985 && Objects.equals((mShortcutInfo == null ? 0 : mShortcutInfo.getId()), 1986 (other.mShortcutInfo == null ? 0 : other.mShortcutInfo.getId()))
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | RankingBuilder.java | 57 private ShortcutInfo mShortcutInfo = null; field in RankingBuilder 85 mShortcutInfo = ranking.getShortcutInfo(); in RankingBuilder() 113 mShortcutInfo, in build() 200 mShortcutInfo = shortcutInfo; in setShortcutInfo()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutManager.java | 671 private final ShortcutInfo mShortcutInfo; field in ShortcutManager.ShareShortcutInfo 686 mShortcutInfo = shortcutInfo; in ShareShortcutInfo() 691 mShortcutInfo = in.readParcelable(ShortcutInfo.class.getClassLoader()); in ShareShortcutInfo() 697 return mShortcutInfo; in getShortcutInfo() 712 dest.writeParcelable(mShortcutInfo, flags); in writeToParcel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | Bubble.java | 73 private ShortcutInfo mShortcutInfo; field in Bubble 159 mShortcutInfo = shortcutInfo; in Bubble() 227 return mShortcutInfo; in getShortcutInfo() 339 mShortcutInfo = info.shortcutInfo; in setViewInfo() 391 mShortcutInfo = (entry.getRanking() != null ? entry.getRanking().getShortcutInfo() : null); in setEntry() 619 final ApplicationInfo info = pm.getApplicationInfo(mShortcutInfo.getPackage(), 0); in getUid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfo.java | 101 private ShortcutInfo mShortcutInfo; field in NotificationConversationInfo 248 mShortcutInfo = entry.getRanking().getShortcutInfo(); in bindNotification() 249 if (mShortcutInfo == null) { in bindNotification() 332 mShortcutInfo, mPackageName, mAppUid, important)); in bindIcon() 547 .setIcon(mIconFactory.getBaseIconDrawable(mShortcutInfo)) in showPriorityOnboarding()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BubbleExtractorTest.java | 88 ShortcutInfo mShortcutInfo; field in BubbleExtractorTest 105 when(mShortcutInfo.getId()).thenReturn(SHORTCUT_ID); in setUp() 132 r.setShortcutInfo(mShortcutInfo); in getNotificationRecord() 152 ShortcutInfo answer = isValid ? mShortcutInfo : null; in setUpShortcutBubble()
|
D | ShortcutHelperTest.java | 79 ShortcutInfo mShortcutInfo; field in ShortcutHelperTest 90 when(mShortcutInfo.getId()).thenReturn(SHORTCUT_ID); in setUp() 101 when(mockRecord.getShortcutInfo()).thenReturn(mShortcutInfo); in setUpMockNotificationRecord()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfoTest.java | 125 private ShortcutInfo mShortcutInfo; field in NotificationConversationInfoTest 197 when(mShortcutInfo.getLabel()).thenReturn("Convo name"); in setUp() 198 List<ShortcutInfo> shortcuts = Arrays.asList(mShortcutInfo); in setUp() 215 mEntry = new NotificationEntryBuilder().setSbn(mSbn).setShortcutInfo(mShortcutInfo).build(); in setUp() 225 .setShortcutInfo(mShortcutInfo) in setUp() 400 .setShortcutInfo(mShortcutInfo) in testBindNotification_delegate()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 169 private ShortcutInfo mShortcutInfo; field in NotificationRecord 598 + " found valid? " + (mShortcutInfo != null)); in dump() 1376 mShortcutInfo = shortcutInfo; in setShortcutInfo() 1380 return mShortcutInfo; in getShortcutInfo() 1420 && mShortcutInfo == null) { in isConversation() 1423 if (mHasSentValidMsg && mShortcutInfo == null) { in isConversation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntry.java | 134 private ShortcutInfo mShortcutInfo; field in NotificationEntry
|