Home
last modified time | relevance | path

Searched refs:createNotification (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java214 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testCanAlertCommon_true()
226 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testCanAlertCommon_false_filteredOut()
258 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_true()
270 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_false_pulseDisabled()
282 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_false_notDozing()
294 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_false_suppressingAmbient()
308 NotificationEntry entry = createNotification(IMPORTANCE_LOW); in testShouldHeadsUpWhenDozing_false_lessImportant()
319 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_true()
334 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_noHunsAllowed()
346 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_dozing()
[all …]
DNotificationTestHelper.java131 return generateRow(createNotification(), PKG, UID, USER_HANDLE, extraInflationFlags); in createRow()
185 Notification n = createNotification(false /* isGroupSummary */, in createBubble()
212 Notification notif = createNotification(isGroupSummary, groupKey); in createRow()
221 public Notification createNotification() { in createNotification() method in NotificationTestHelper
222 return createNotification(false /* isGroupSummary */, null /* groupKey */); in createNotification()
232 private Notification createNotification(boolean isGroupSummary, @Nullable String groupKey) { in createNotification() method in NotificationTestHelper
233 return createNotification(isGroupSummary, groupKey, null /* bubble metadata */); in createNotification()
244 public Notification createNotification(boolean isGroupSummary, in createNotification() method in NotificationTestHelper
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DServiceIntentSender.java68 notifications[i] = createNotification(mContext, records[i]); in sendUpdateNotificationIntent()
78 private static Notification createNotification(Context context, MtpDeviceRecord device) { in createNotification() method in ServiceIntentSender
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java180 private void createNotification(@NonNull PrintJobInfo printJob, @Nullable Action firstAction, in createNotification() method in NotificationController
223 createNotification(printJob, createCancelAction(printJob), null); in createPrintingNotification()
231 createNotification(printJob, createCancelAction(printJob), restartActionBuilder.build()); in createFailedNotification()
235 createNotification(printJob, createCancelAction(printJob), null); in createBlockedNotification()
239 createNotification(printJob, null, null); in createCancellingNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowTest.java358 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testGetIsNonblockable()
366 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testGetIsNonblockable_oemLocked()
375 mNotificationTestHelper.createRow(mNotificationTestHelper.createNotification()); in testGetIsNonblockable_criticalDeviceFunction()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java909 notifications[i] = createNotification(nodes.get(i)); in listNotifications()
950 notifications[i] = createNotification(nodes.get(i)); in retrieveNotificationList()
979 return createNotification(nodes.get(0)); in retrieveNotification()
1372 private static EuiccNotification createNotification(Asn1Node node) in createNotification() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleDataTest.java869 Notification notification = mNotificationTestHelper.createNotification(false, in createBubbleEntry()