/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationTest.java | 31 import android.app.Notification; 78 Notification.Builder nb = new Notification.Builder(mContext, "channel"); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 79 nb.extend(new Notification.CarExtender().setColor(Color.RED)); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 80 nb.extend(new Notification.TvExtender().setChannelId("different channel")); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 81 nb.extend(new Notification.WearableExtender().setDismissalId("dismiss")); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 82 Notification before = nb.build(); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 89 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, in testStripsExtendersInLowRamModeNoWhitelistNoTv() 92 assertEquals("different channel", new Notification.TvExtender(before).getChannelId()); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 93 assertNull(new Notification.TvExtender(after).getChannelId()); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 95 assertEquals(Color.RED, new Notification.CarExtender(before).getColor()); in testStripsExtendersInLowRamModeNoWhitelistNoTv() [all …]
|
D | NotificationComparatorTest.java | 27 import android.app.Notification; 109 Notification nonInterruptiveNotif = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 110 .setCategory(Notification.CATEGORY_CALL) in setUp() 111 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp() 121 Notification n1 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 122 .setCategory(Notification.CATEGORY_CALL) in setUp() 123 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp() 131 Notification n2 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 132 .setCategory(Notification.CATEGORY_CALL) in setUp() 133 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp() [all …]
|
D | NotificationShellCmdTest.java | 35 import android.app.Notification; 115 Notification captureNotification(String aTag) throws Exception { in captureNotification() 116 ArgumentCaptor<Notification> notificationCaptor = in captureNotification() 117 ArgumentCaptor.forClass(Notification.class); in captureNotification() 136 final Notification captured = captureNotification(aTag); in testBasic() 137 assertEquals(aText, captured.extras.getString(Notification.EXTRA_TEXT)); in testBasic() 138 assertEquals(aTitle, captured.extras.getString(Notification.EXTRA_TITLE)); in testBasic() 146 final Notification captured = captureNotification(aTag); in testIcon() 161 final Notification captured = captureNotification(aTag); in testBigText() 162 assertSame(captured.getNotificationStyle(), Notification.BigTextStyle.class); in testBigText() [all …]
|
D | CriticalNotificationExtractorTest.java | 26 import android.app.Notification; 60 assertCriticality(Notification.CATEGORY_CAR_EMERGENCY, in testExtractCritically_nonsupporting() 63 assertCriticality(Notification.CATEGORY_CAR_WARNING, CriticalNotificationExtractor.NORMAL); in testExtractCritically_nonsupporting() 65 assertCriticality(Notification.CATEGORY_CAR_INFORMATION, in testExtractCritically_nonsupporting() 68 assertCriticality(Notification.CATEGORY_CALL, in testExtractCritically_nonsupporting() 78 assertCriticality(Notification.CATEGORY_CAR_EMERGENCY, in testExtractCritically() 81 assertCriticality(Notification.CATEGORY_CAR_WARNING, in testExtractCritically() 84 assertCriticality(Notification.CATEGORY_CAR_INFORMATION, in testExtractCritically() 87 assertCriticality(Notification.CATEGORY_CALL, in testExtractCritically() 100 final Notification.Builder builder = new Notification.Builder(getContext()) in generateRecord() [all …]
|
D | NotificationIntrusivenessExtractorTest.java | 28 import android.app.Notification; 44 final Notification.Builder builder = new Notification.Builder(getContext()) in testNonIntrusive() 48 Notification n = builder.build(); in testNonIntrusive() 59 final Notification.Builder builder = new Notification.Builder(getContext()) in testIntrusive_fillScreen() 65 Notification n = builder.build(); in testIntrusive_fillScreen() 77 final Notification.Builder builder = new Notification.Builder(getContext()) in testOldNotificationsNotIntrusive() 83 Notification n = builder.build(); in testOldNotificationsNotIntrusive()
|
D | RankingHelperTest.java | 30 import android.app.Notification; 89 private Notification mNotiGroupGSortA; 90 private Notification mNotiGroupGSortB; 91 private Notification mNotiNoGroup; 92 private Notification mNotiNoGroup2; 93 private Notification mNotiNoGroupSortA; 148 mNotiGroupGSortA = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 158 mNotiGroupGSortB = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 168 mNotiNoGroup = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 176 mNotiNoGroup2 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() [all …]
|
D | ValidateNotificationPeopleTest.java | 21 import android.app.Notification; 52 bundle.putString(Notification.EXTRA_PEOPLE_LIST, expected[0]); in testSingleString() 61 bundle.putCharArray(Notification.EXTRA_PEOPLE_LIST, expected[0].toCharArray()); in testSingleCharArray() 70 bundle.putCharSequence(Notification.EXTRA_PEOPLE_LIST, new SpannableString(expected[0])); in testSingleCharSequence() 79 bundle.putStringArray(Notification.EXTRA_PEOPLE_LIST, expected); in testStringArraySingle() 88 bundle.putStringArray(Notification.EXTRA_PEOPLE_LIST, expected); in testStringArrayMultiple() 97 bundle.putStringArray(Notification.EXTRA_PEOPLE_LIST, expected); in testStringArrayNulls() 110 bundle.putCharSequenceArray(Notification.EXTRA_PEOPLE_LIST, charSeqArray); in testCharSequenceArrayMultiple() 127 bundle.putCharSequenceArray(Notification.EXTRA_PEOPLE_LIST, charSeqArray); in testMixedCharSequenceArrayList() 140 bundle.putStringArrayList(Notification.EXTRA_PEOPLE_LIST, stringArrayList); in testStringArrayList() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 63 Notification n = new Notification.Builder(mContext, "test") in testColorizedByPermission() 64 .setFlag(Notification.FLAG_CAN_COLORIZE, true) in testColorizedByPermission() 69 n = new Notification.Builder(mContext, "test") in testColorizedByPermission() 70 .setFlag(Notification.FLAG_CAN_COLORIZE, true) in testColorizedByPermission() 74 n = new Notification.Builder(mContext, "test") in testColorizedByPermission() 75 .setFlag(Notification.FLAG_CAN_COLORIZE, false) in testColorizedByPermission() 83 Notification n = new Notification.Builder(mContext, "test") in testColorizedByForeground() 84 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in testColorizedByForeground() 89 n = new Notification.Builder(mContext, "test") in testColorizedByForeground() 90 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in testColorizedByForeground() [all …]
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 24 import android.app.Notification; 124 Notification n = new Notification.Builder(NotificationTestList.this, 136 Notification n = new Notification.Builder(NotificationTestList.this, 154 Notification n = new Notification.Builder(NotificationTestList.this, 171 Notification n = new Notification.Builder(NotificationTestList.this, "min") 177 n = new Notification.Builder(NotificationTestList.this, "low") 183 n = new Notification.Builder(NotificationTestList.this, "default") 191 n = new Notification.Builder(NotificationTestList.this, "low") 203 Notification n = new Notification.Builder(NotificationTestList.this, "min") 209 n = new Notification.Builder(NotificationTestList.this, "low") [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | BubbleTest.java | 24 import android.app.Notification; 49 private Notification mNotif; 72 doReturn(Notification.Style.class).when(mNotif).getNotificationStyle(); in testGetUpdateMessage_default() 73 mExtras.putCharSequence(Notification.EXTRA_TEXT, msg); in testGetUpdateMessage_default() 80 doReturn(Notification.BigTextStyle.class).when(mNotif).getNotificationStyle(); in testGetUpdateMessage_bigText() 81 mExtras.putCharSequence(Notification.EXTRA_TEXT, "A small hello there."); in testGetUpdateMessage_bigText() 82 mExtras.putCharSequence(Notification.EXTRA_BIG_TEXT, msg); in testGetUpdateMessage_bigText() 90 doReturn(Notification.MediaStyle.class).when(mNotif).getNotificationStyle(); in testGetUpdateMessage_media() 98 doReturn(Notification.InboxStyle.class).when(mNotif).getNotificationStyle(); in testGetUpdateMessage_inboxStyle() 100 Notification.EXTRA_TEXT_LINES, in testGetUpdateMessage_inboxStyle() [all …]
|
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
D | NotificationTests.java | 100 public static Notification makeBigTextNotification(Context context, int update, int id, in makeBigTextNotification() 146 Notification.BigTextStyle bigTextStyle = new Notification.BigTextStyle() in makeBigTextNotification() 148 Notification bigText = new Notification.Builder(context) in makeBigTextNotification() 155 .setPriority(Notification.PRIORITY_HIGH) in makeBigTextNotification() 159 .setDefaults(Notification.DEFAULT_SOUND) in makeBigTextNotification() 165 public static Notification makeUploadNotification(Context context, int progress, long when) { in makeUploadNotification() 166 Notification.Builder uploadNotification = new Notification.Builder(context) in makeUploadNotification() 169 .setPriority(Notification.PRIORITY_MIN) in makeUploadNotification() 241 public static String summarize(Notification n) { in summarize() 243 n.extras.get(Notification.EXTRA_TITLE), in summarize() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationDataTest.java | 21 import static android.app.Notification.CATEGORY_ALARM; 22 import static android.app.Notification.CATEGORY_CALL; 23 import static android.app.Notification.CATEGORY_EVENT; 24 import static android.app.Notification.CATEGORY_MESSAGE; 25 import static android.app.Notification.CATEGORY_REMINDER; 45 import android.app.Notification; 234 Notification n = mMockStatusBarNotification.getNotification(); in testIsExemptFromDndVisualSuppression_foreground() 235 n.flags = Notification.FLAG_FOREGROUND_SERVICE; in testIsExemptFromDndVisualSuppression_foreground() 250 Notification n = mMockStatusBarNotification.getNotification(); in testIsExemptFromDndVisualSuppression_media() 251 Notification.Builder nb = Notification.Builder.recoverBuilder(mContext, n); in testIsExemptFromDndVisualSuppression_media() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustmentTest.java | 20 import android.app.Notification; 43 Notification.Action action = in needReinflate_differentLength() 55 Notification.Action firstAction = in needReinflate_differentLabels() 57 Notification.Action secondAction = in needReinflate_differentLabels() 70 Notification.Action firstAction = in needReinflate_differentIcons() 72 Notification.Action secondAction = in needReinflate_differentIcons() 88 Notification.Action firstAction = in needReinflate_differentPendingIntent() 91 Notification.Action secondAction = in needReinflate_differentPendingIntent() 111 Notification.Action firstAction = in needReinflate_differentChoices() 115 Notification.Action secondAction = in needReinflate_differentChoices() [all …]
|
D | NotificationTestHelper.java | 19 import static android.app.Notification.FLAG_BUBBLE; 28 import android.app.Notification; 29 import android.app.Notification.BubbleMetadata; 117 public ExpandableNotificationRow createRow(Notification notification) throws Exception { in createRow() 185 Notification n = createNotification(false /* isGroupSummary */, in createBubble() 212 Notification notif = createNotification(isGroupSummary, groupKey); in createRow() 221 public Notification createNotification() { in createNotification() 232 private Notification createNotification(boolean isGroupSummary, @Nullable String groupKey) { in createNotification() 244 public Notification createNotification(boolean isGroupSummary, in createNotification() 246 Notification publicVersion = new Notification.Builder(mContext).setSmallIcon( in createNotification() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | Bubble.java | 25 import android.app.Notification; 291 return (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in isOngoing() 295 Notification.BubbleMetadata data = mEntry.getBubbleMetadata(); in getDesiredHeight() 308 Notification.BubbleMetadata data = mEntry.getBubbleMetadata(); in getDesiredHeightString() 319 Notification notif = mEntry.notification.getNotification(); in getBubbleIntent() 320 Notification.BubbleMetadata data = notif.getBubbleMetadata(); in getBubbleIntent() 342 final Notification underlyingNotif = mEntry.notification.getNotification(); in getUpdateMessage() 343 final Class<? extends Notification.Style> style = underlyingNotif.getNotificationStyle(); in getUpdateMessage() 346 if (Notification.BigTextStyle.class.equals(style)) { in getUpdateMessage() 350 underlyingNotif.extras.getCharSequence(Notification.EXTRA_BIG_TEXT); in getUpdateMessage() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInlineImageResolver.java | 20 import android.app.Notification; 95 public void preloadImages(Notification notification) { in preloadImages() 120 private void retrieveWantedUriSet(Notification notification) { in retrieveWantedUriSet() 123 List<Notification.MessagingStyle.Message> messageList; in retrieveWantedUriSet() 124 List<Notification.MessagingStyle.Message> historicList; in retrieveWantedUriSet() 132 messages = extras.getParcelableArray(Notification.EXTRA_MESSAGES); in retrieveWantedUriSet() 134 Notification.MessagingStyle.Message.getMessagesFromBundleArray(messages); in retrieveWantedUriSet() 136 for (Notification.MessagingStyle.Message message : messageList) { in retrieveWantedUriSet() 143 historicMessages = extras.getParcelableArray(Notification.EXTRA_HISTORIC_MESSAGES); in retrieveWantedUriSet() 145 Notification.MessagingStyle.Message.getMessagesFromBundleArray(historicMessages); in retrieveWantedUriSet() [all …]
|
D | HybridGroupManager.java | 19 import android.app.Notification; 90 Notification notification) { in bindFromNotification() 96 HybridNotificationView reusableView, Notification notification, int style) { in bindFromNotificationWithStyle() 106 private CharSequence resolveText(Notification notification) { in resolveText() 107 CharSequence contentText = notification.extras.getCharSequence(Notification.EXTRA_TEXT); in resolveText() 109 contentText = notification.extras.getCharSequence(Notification.EXTRA_BIG_TEXT); in resolveText() 114 private CharSequence resolveTitle(Notification notification) { in resolveTitle() 115 CharSequence titleText = notification.extras.getCharSequence(Notification.EXTRA_TITLE); in resolveTitle() 117 titleText = notification.extras.getCharSequence(Notification.EXTRA_TITLE_BIG); in resolveTitle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 20 import android.app.Notification; 21 import android.app.Notification.Action; 208 Notification.Builder builder = in updateMissingPrivateVolumes() 209 new Notification.Builder(mContext, NotificationChannels.STORAGE) in updateMissingPrivateVolumes() 216 .setStyle(new Notification.BigTextStyle().bigText(text)) in updateMissingPrivateVolumes() 217 .setVisibility(Notification.VISIBILITY_PUBLIC) in updateMissingPrivateVolumes() 219 .setCategory(Notification.CATEGORY_SYSTEM) in updateMissingPrivateVolumes() 221 .extend(new Notification.TvExtender()); in updateMissingPrivateVolumes() 238 Notification.Builder builder = in onDiskScannedInternal() 239 new Notification.Builder(mContext, NotificationChannels.STORAGE) in onDiskScannedInternal() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartRepliesTest.java | 25 import android.app.Notification; 69 @Mock Notification mNotification; 101 List<Notification.Action> smartActions = in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions() 144 List<Notification.Action> smartActions = in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions() 211 List<Notification.Action> appGenSmartActions = in chooseSmartRepliesAndActions_appGenPreferredOverSysGen() 290 List<Notification.Action> actions = new ArrayList<>(); in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartActionsAffected() 332 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_trueForSimilar() 335 List<Notification.Action> rightActions = Arrays.asList( in areSuggestionsSimilar_trueForSimilar() 354 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentReplies() 357 List<Notification.Action> rightActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentReplies() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ConnectToNetworkNotificationBuilder.java | 19 import android.app.Notification; 77 public Notification createConnectToAvailableNetworkNotification(String notifierTag, in createConnectToAvailableNetworkNotification() 92 Notification.Action connectAction = new Notification.Action.Builder(null /* icon */, in createConnectToAvailableNetworkNotification() 95 Notification.Action allNetworksAction = new Notification.Action.Builder(null /* icon */, in createConnectToAvailableNetworkNotification() 112 public Notification createNetworkConnectingNotification(String notifierTag, in createNetworkConnectingNotification() 128 public Notification createNetworkConnectedNotification(String notifierTag, ScanResult network) { in createNetworkConnectedNotification() 141 public Notification createNetworkFailedNotification(String notifierTag) { in createNetworkFailedNotification() 162 private Notification.Builder createNotificationBuilder( in createNotificationBuilder()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupAlertTransferHelperTest.java | 28 import android.app.Notification; 110 mGroupTestHelper.createSummaryNotification(Notification.GROUP_ALERT_SUMMARY); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 112 mGroupTestHelper.createChildNotification(Notification.GROUP_ALERT_SUMMARY); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 114 mGroupTestHelper.createChildNotification(Notification.GROUP_ALERT_SUMMARY); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() 134 mGroupTestHelper.createSummaryNotification(Notification.GROUP_ALERT_SUMMARY); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged() 136 mGroupTestHelper.createChildNotification(Notification.GROUP_ALERT_SUMMARY); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged() 138 mGroupTestHelper.createChildNotification(Notification.GROUP_ALERT_SUMMARY); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged() 197 mGroupTestHelper.createSummaryNotification(Notification.GROUP_ALERT_SUMMARY); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation() 199 mGroupTestHelper.createChildNotification(Notification.GROUP_ALERT_SUMMARY); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation() 203 mGroupTestHelper.createChildNotification(Notification.GROUP_ALERT_SUMMARY); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstalledNotificationUtils.java | 20 import android.app.Notification; 221 channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE); in createChannel() 270 private Notification.Builder getGroupNotificationBuilder() { in getGroupNotificationBuilder() 274 extras.putString(Notification.EXTRA_SUBSTITUTE_APP_NAME, mInstallerAppLabel); in getGroupNotificationBuilder() 276 Notification.Builder builder = in getGroupNotificationBuilder() 277 new Notification.Builder(mContext, mChannelId) in getGroupNotificationBuilder() 282 .setCategory(Notification.CATEGORY_STATUS) in getGroupNotificationBuilder() 295 private Notification.Builder getAppInstalledNotificationBuilder() { in getAppInstalledNotificationBuilder() 299 extras.putString(Notification.EXTRA_SUBSTITUTE_APP_NAME, mInstallerAppLabel); in getAppInstalledNotificationBuilder() 305 Notification.Builder builder = in getAppInstalledNotificationBuilder() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | MediaNotificationProcessorTest.java | 30 import android.app.Notification; 82 Notification.Builder builder = new Notification.Builder(getContext()).setSmallIcon( in testColorizedWithLargeIcon() 87 Notification notification = builder.build(); in testColorizedWithLargeIcon() 94 Notification.Builder builder = new Notification.Builder(getContext()).setSmallIcon( in testNotColorizedWithoutLargeIcon() 98 Notification notification = builder.build(); in testNotColorizedWithoutLargeIcon() 105 Notification.Builder builder = new Notification.Builder(getContext()).setSmallIcon( in testRemoteViewsReset() 108 .setStyle(new Notification.MediaStyle()) in testRemoteViewsReset() 111 Notification notification = builder.build(); in testRemoteViewsReset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartReplies.java | 21 import android.app.Notification; 148 .extras.getBoolean(Notification.EXTRA_SHOW_REMOTE_INPUT_SPINNER, false); in shouldShowSmartReplyView() 154 .extras.getBoolean(Notification.EXTRA_HIDE_SMART_REPLIES, false); in shouldShowSmartReplyView() 171 Notification notification = entry.notification.getNotification(); in chooseSmartRepliesAndActions() 172 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in chooseSmartRepliesAndActions() 174 Pair<RemoteInput, Notification.Action> freeformRemoteInputActionPair = in chooseSmartRepliesAndActions() 196 List<Notification.Action> appGeneratedSmartActions = notification.getContextualActions(); in chooseSmartRepliesAndActions() 228 List<Notification.Action> systemGeneratedActions = in chooseSmartRepliesAndActions() 248 private static List<Notification.Action> filterWhiteListedLockTaskApps( in filterWhiteListedLockTaskApps() 249 List<Notification.Action> actions) { in filterWhiteListedLockTaskApps() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 31 import android.app.Notification; 85 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testExceptionHandlingInGetSmartActionsFuture() 89 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testExceptionHandlingInGetSmartActionsFuture() 98 CompletableFuture<List<Notification.Action>> smartActionsFuture = mock( in testExceptionHandlingInGetSmartActions() 103 List<Notification.Action> actions = GlobalScreenshot.getSmartActions( in testExceptionHandlingInGetSmartActions() 123 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testUnsupportedBitmapConfiguration() 129 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testUnsupportedBitmapConfiguration() 153 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testSupportedBitmapConfiguration() 158 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testSupportedBitmapConfiguration() 180 Notification.Builder notificationBuilder = new Notification.Builder(mContext, in testNotificationActionExtras() [all …]
|