/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationTest.java | 350 Notification n1 = new Notification.Builder(mContext, "test") in testActionsDifferent_null() 352 Notification n2 = new Notification.Builder(mContext, "test") in testActionsDifferent_null() 363 Notification n1 = new Notification.Builder(mContext, "test") in testActionsDifferentSame() 366 Notification n2 = new Notification.Builder(mContext, "test") in testActionsDifferentSame() 378 Notification n1 = new Notification.Builder(mContext, "test") in testActionsDifferentText() 381 Notification n2 = new Notification.Builder(mContext, "test") in testActionsDifferentText() 393 Notification n1 = new Notification.Builder(mContext, "test") in testActionsDifferentSpannables() 400 Notification n2 = new Notification.Builder(mContext, "test") in testActionsDifferentSpannables() 412 Notification n1 = new Notification.Builder(mContext, "test") in testActionsDifferentNumber() 415 Notification n2 = new Notification.Builder(mContext, "test") in testActionsDifferentNumber() [all …]
|
H A D | NotificationComparatorTest.java | 29 import android.app.Notification; 131 Notification n1 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 141 Notification n2 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 163 Notification n4 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 172 Notification n5 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 200 Notification n9 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 211 Notification n10 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 218 Notification n11 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 227 Notification n12 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 237 Notification n13 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() [all …]
|
H A D | NotificationShellCmdTest.java | 35 import android.app.Notification; 117 ArgumentCaptor<Notification> notificationCaptor = in captureNotification() 118 ArgumentCaptor.forClass(Notification.class); in captureNotification() 137 final Notification captured = captureNotification(aTag); in testBasic() 147 final Notification captured = captureNotification(aTag); in testIcon() 162 final Notification captured = captureNotification(aTag); in testBigText() 177 final Notification captured = captureNotification(aTag); in testBigPicture() 201 final Notification captured = captureNotification(aTag); in testInbox() 203 final Notification.Builder builder = in testInbox() 251 final Notification.Builder builder = in testMessaging() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | NotificationTest.java | 83 Notification n = new Notification.Builder(mContext, "test") in testColorizedByPermission() 103 Notification n = new Notification.Builder(mContext, "test") in testColorizedByForeground() 123 Notification n = new Notification.Builder(mContext).build(); in testHasCompletedProgress_noProgress() 130 Notification n = new Notification.Builder(mContext) in testHasCompletedProgress_complete() 133 Notification n2 = new Notification.Builder(mContext) in testHasCompletedProgress_complete() 142 Notification n = new Notification.Builder(mContext) in testHasCompletedProgress_notComplete() 145 Notification n2 = new Notification.Builder(mContext) in testHasCompletedProgress_notComplete() 154 Notification n = new Notification.Builder(mContext) in testHasCompletedProgress_zeroMax() 508 Notification.Colors c = new Notification.Colors(); in testColors_ensureColors_dayMode_producesValidPalette() 517 Notification.Colors c = new Notification.Colors(); in testColors_ensureColors_nightMode_producesValidPalette() [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationHistoryProtoHelper.java | 103 case (int) Notification.PACKAGE_INDEX: in readNotification() 107 case (int) Notification.CHANNEL_NAME: in readNotification() 116 case (int) Notification.CHANNEL_ID: in readNotification() 125 case (int) Notification.UID: in readNotification() 128 case (int) Notification.USER_ID: in readNotification() 131 case (int) Notification.POSTED_TIME_MS: in readNotification() 134 case (int) Notification.TITLE: in readNotification() 137 case (int) Notification.TEXT: in readNotification() 140 case (int) Notification.ICON: in readNotification() 163 int iconType = Notification.TYPE_UNKNOWN; in loadIcon() [all …]
|
/aosp12/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 24 import android.app.Notification; 119 Notification n = new Notification.Builder(NotificationTestList.this, 131 Notification n = new Notification.Builder(NotificationTestList.this, 149 Notification n = new Notification.Builder(NotificationTestList.this, 166 Notification n = new Notification.Builder(NotificationTestList.this, "min") 539 Notification.Builder n = new Notification.Builder( 696 final Notification.Builder n = new Notification.Builder( 909 Notification n = new Notification.Builder(NotificationTestList.this) 930 Notification n = new Notification.Builder( 1016 Notification n = new Notification.Builder( [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
H A D | NotificationHelperTest.java | 32 import android.app.Notification; 72 private final Notification mNotification1 = new Notification.Builder(mContext, "test") 86 private final Notification mNotification2 = new Notification.Builder(mContext, "test") 96 private final Notification mNoContentNotification = new Notification.Builder(mContext, "test") 142 Notification notification = new Notification.Builder(mContext, "test") in testGetMessagingStyleMessagesNoMessage() 210 Notification.MessagingStyle.Message message = new Notification.MessagingStyle.Message( in testGetSenderIfGroupConversation_notGroup() 212 Notification notification = new Notification.Builder(mContext, "test") in testGetSenderIfGroupConversation_notGroup() 225 Notification.MessagingStyle.Message message = new Notification.MessagingStyle.Message( in testGetSenderIfGroupConversation_group() 228 Notification notification = new Notification.Builder(mContext, "test") in testGetSenderIfGroupConversation_group() 244 Notification.MessagingStyle.Message message = new Notification.MessagingStyle.Message( in testGetSenderIfGroupConversation_groupNoName() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotificationEntryTest.java | 19 import static android.app.Notification.CATEGORY_ALARM; 20 import static android.app.Notification.CATEGORY_CALL; 21 import static android.app.Notification.CATEGORY_EVENT; 22 import static android.app.Notification.CATEGORY_MESSAGE; 23 import static android.app.Notification.CATEGORY_REMINDER; 35 import android.app.Notification; 79 Notification.Builder n = new Notification.Builder(mContext, "") in setup() 104 Notification.Builder n = new Notification.Builder(mContext, "") in testIsExemptFromDndVisualSuppression_media() 215 Notification notification = new Notification.Builder(mContext, "test") in notificationDataEntry_testIsLastMessageFromReply() 233 return new Notification.Action.Builder( in createContextualAction() [all …]
|
/aosp12/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
H A D | NotificationEntry.java | 25 import android.app.Notification; 112 private Notification cloneNotificationLight(Notification notification) { in cloneNotificationLight() 115 Notification lightNotification = in cloneNotificationLight() 192 Notification.PRIORITY_MAX); in calculateInitialImportance() 194 case Notification.PRIORITY_MIN: in calculateInitialImportance() 197 case Notification.PRIORITY_LOW: in calculateInitialImportance() 200 case Notification.PRIORITY_DEFAULT: in calculateInitialImportance() 203 case Notification.PRIORITY_HIGH: in calculateInitialImportance() 204 case Notification.PRIORITY_MAX: in calculateInitialImportance() 244 Notification.EXTRA_PEOPLE_LIST); in hasPerson() [all …]
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | NotificationCompatUtils.java | 19 import android.app.Notification; 28 CompatUtils.getMethod(Notification.Builder.class, "setColor", int.class); 34 CompatUtils.getMethod(Notification.Builder.class, "setPriority", int.class); 36 CompatUtils.getMethod(Notification.Builder.class, "build"); 38 CompatUtils.getField(Notification.class, "VISIBILITY_SECRET"); 43 CompatUtils.getField(Notification.class, "CATEGORY_RECOMMENDATION"); 48 CompatUtils.getField(Notification.class, "PRIORITY_LOW"); 62 public static void setVisibilityToSecret(final Notification.Builder builder) { in setVisibilityToSecret() 70 public static void setPriorityToLow(final Notification.Builder builder) { in setPriorityToLow() 75 public static Notification build(final Notification.Builder builder) { in build() [all …]
|
/aosp12/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/ |
H A D | NotificationEntryTest.java | 32 import android.app.Notification; 76 Notification n = new Notification.Builder(mContext, channelId) in generateSbn() 85 Notification n = new Notification.Builder(mContext, channelId) in generateSbn() 153 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsInboxStyle() 154 .setStyle(new Notification.InboxStyle()) in testIsInboxStyle() 165 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsMessagingStyle() 177 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsNotPersonStyle() 210 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsCategory() 224 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsOngoing() 237 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsNotOngoing() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
H A D | NotificationHelper.java | 19 import static android.app.Notification.CATEGORY_MISSED_CALL; 20 import static android.app.Notification.EXTRA_MESSAGES; 21 import static android.app.Notification.EXTRA_PEOPLE_LIST; 24 import android.app.Notification; 69 Notification n1 = e1.getSbn().getNotification(); 70 Notification n2 = e2.getSbn().getNotification(); 118 List<Notification.MessagingStyle.Message> messages = in hasContent() 148 Notification notification = sbn.getNotification(); in shouldMatchNotificationByUri() 177 List<Notification.MessagingStyle.Message> messages = in getContactUri() 197 Notification notification) { in getMessagingStyleMessages() [all …]
|
/aosp12/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 783 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 807 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 842 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/sdm845/gps/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 783 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 807 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 842 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/ |
H A D | loc_eng_agps.cpp | 58 Notification* notification = (Notification*)fromCaller; in hasSubscriber() 71 Notification* notification = (Notification*)fromCaller; in notifySubscriber() 372 Notification notification(Notification::BROADCAST_ACTIVE, event, false); in onRsrcEvent() 388 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 477 Notification notification(Notification::BROADCAST_ALL, event, true); in onRsrcEvent() 555 Notification notification(Notification::BROADCAST_INACTIVE, event, true); in onRsrcEvent() 753 Notification notification(Notification::BROADCAST_ACTIVE); in sendRsrcRequest() 782 Notification notification(Notification::BROADCAST_ALL, RSRC_DENIED, true); in subscribeRsrc() 806 Notification notification(Notification::BROADCAST_ACTIVE); in hasActiveSubscribers() 841 Notification notification(Notification::BROADCAST_ACTIVE); in retryCallback() [all …]
|
/aosp12/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
H A D | NotificationTests.java | 146 Notification.BigTextStyle bigTextStyle = new Notification.BigTextStyle() in makeBigTextNotification() 148 Notification bigText = new Notification.Builder(context) in makeBigTextNotification() 166 Notification.Builder uploadNotification = new Notification.Builder(context) in makeUploadNotification() 249 ArrayList<Notification> mNotifications = new ArrayList<Notification>(); in testCreate() 274 Notification phoneCall = new Notification.Builder(mContext) in testCreate() 296 final Notification n = new Notification.Builder(mContext) in testCreate() 309 final Notification n = new Notification.Builder(mContext) in testCreate() 332 final Notification n = new Notification.Builder(mContext) in testCreate() 354 final Notification n = new Notification.Builder(mContext) in testCreate() 372 final Notification n = new Notification.Builder(mContext) in testCreate() [all …]
|