Home
last modified time | relevance | path

Searched defs:notification (Results 1 – 25 of 213) sorted by relevance

123456789

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
H A DNotificationMemoryMeterTest.kt44 val notification = createBasicNotification().build() regex
62 val notification = createBasicNotification().build() regex
83 val notification = createBasicNotification().setLargeIcon(icon).setSmallIcon(icon).build() regex
101 val notification = regex
125 val notification = regex
148 val notification = regex
178 val notification = regex
210 val notification = regex
239 val notification = createBasicNotification().extend(extender).build() regex
260 val notification = createBasicNotification().extend(tvExtender).extend(wearExtender).build() regex
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/volume/test/
H A Dnotification_test.cpp51 std::shared_ptr<Notification> notification = DelayedSingleton<Notification>::GetInstance(); variable
75 std::shared_ptr<Notification> notification = DelayedSingleton<Notification>::GetInstance(); variable
101 std::shared_ptr<Notification> notification = DelayedSingleton<Notification>::GetInstance(); variable
125 std::shared_ptr<Notification> notification = DelayedSingleton<Notification>::GetInstance(); variable
149 std::shared_ptr<Notification> notification = DelayedSingleton<Notification>::GetInstance(); variable
173 std::shared_ptr<Notification> notification = DelayedSingleton<Notification>::GetInstance(); variable
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DTransformableView.java46 void transformTo(TransformableView notification, Runnable endRunnable); in transformTo()
54 void transformTo(TransformableView notification, float transformationAmount); in transformTo()
61 void transformFrom(TransformableView notification); in transformFrom()
69 void transformFrom(TransformableView notification, float transformationAmount); in transformFrom()
H A DViewTransformationHelper.java104 public void transformTo(final TransformableView notification, final Runnable endRunnable) { in transformTo()
138 public void transformTo(TransformableView notification, float transformationAmount) { in transformTo()
161 public void transformFrom(final TransformableView notification) { in transformFrom()
191 public void transformFrom(TransformableView notification, float transformationAmount) { in transformFrom()
303 TransformableView notification, in transformTo()
314 TransformableView notification, in transformFrom()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DHighPriorityProviderTest.java85 final Notification notification = new Notification.Builder(mContext, "test") in peopleNotification() local
103 final Notification notification = new Notification.Builder(mContext, "test") in highImportanceConversation() local
120 final Notification notification = new Notification.Builder(mContext, "test") in lowImportanceConversation() local
156 final Notification notification = new Notification.Builder(mContext, "test") in messagingStyle() local
174 final Notification notification = mock(Notification.class); in lowImportanceForeground() local
193 final Notification notification = new Notification.Builder(mContext, "test") in userChangeTrumpsHighPriorityCharacteristics() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DNotificationHelper.java110 public static boolean isMissedCall(Notification notification) { in isMissedCall()
148 Notification notification = sbn.getNotification(); in shouldMatchNotificationByUri() local
197 Notification notification) { in getMessagingStyleMessages()
216 private static boolean isGroupConversation(Notification notification) { in isGroupConversation()
223 public static CharSequence getSenderIfGroupConversation(Notification notification, in getSenderIfGroupConversation()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_subscriber_listener.cpp54 const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) in OnConsumed()
78 for (auto notification : notifications) { in OnConsumedList() local
84const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap, int32… in OnCanceled()
110 for (auto notification : notifications) { in OnBatchCanceled() local
135 for (auto notification : notifications) { in OnCanceledList() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DHybridNotificationView.java131 public void transformTo(TransformableView notification, Runnable endRunnable) { in transformTo()
136 public void transformTo(TransformableView notification, float transformationAmount) { in transformTo()
141 public void transformFrom(TransformableView notification) { in transformFrom()
146 public void transformFrom(TransformableView notification, float transformationAmount) { in transformFrom()
169 public boolean transformTo(TransformState ownState, TransformableView notification, in transformTo()
183 TransformableView notification, float transformationAmount) { in transformFrom()
H A DHybridGroupManager.java94 View contentView, StatusBarNotification notification, in bindFromNotification()
112 public static CharSequence resolveText(Notification notification) { in resolveText()
121 public static CharSequence resolveTitle(Notification notification) { in resolveTitle()
/aosp14/frameworks/base/core/tests/coretests/src/android/debug/
H A DAdbNotificationsTest.java53 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_UsbTransportType() local
73 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_WifiTransportType() local
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
H A DNotificationHelperTest.java142 Notification notification = new Notification.Builder(mContext, "test") in testGetMessagingStyleMessagesNoMessage() local
212 Notification notification = new Notification.Builder(mContext, "test") in testGetSenderIfGroupConversation_notGroup() local
228 Notification notification = new Notification.Builder(mContext, "test") in testGetSenderIfGroupConversation_group() local
247 Notification notification = new Notification.Builder(mContext, "test") in testGetSenderIfGroupConversation_groupNoName() local
/ohos5.0/base/telephony/call_manager/test/fuzztest/callnotification_fuzzer/
H A Dcallnotification_fuzzer.cpp44 …std::shared_ptr<IncomingCallNotification> notification = std::make_shared<IncomingCallNotification… in IncomingCallNotificationFunc() local
68 std::shared_ptr<IncomingCallWakeup> notification = std::make_shared<IncomingCallWakeup>(); in IncomingCallWakeupFunc() local
91 std::shared_ptr<ProximitySensor> notification = std::make_shared<ProximitySensor>(); in ProximitySensorFunc() local
112 std::shared_ptr<StatusBar> notification = std::make_shared<StatusBar>(); in StatusBarFunc() local
136 std::shared_ptr<WiredHeadset> notification = std::make_shared<WiredHeadset>(); in WiredHeadsetHandlerFunc() local
185 … std::shared_ptr<MissedCallNotification> notification = std::make_shared<MissedCallNotification>(); in MissedCallNotificationFunc() local
209 std::shared_ptr<RejectCallSms> notification = std::make_shared<RejectCallSms>(); in RejectCallSmsFunc() local
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_stub_test/
H A Dans_subscriber_stub_unit_test.cpp179 sptr<Notification> notification = new Notification(); variable
196 sptr<Notification> notification = new Notification(); variable
215 sptr<Notification> notification = new Notification(); variable
250 sptr<Notification> notification = new Notification(); variable
275 sptr<Notification> notification = new Notification(); variable
303 sptr<Notification> notification = new Notification(); variable
347 sptr<Notification> notification = new Notification(); variable
364 sptr<Notification> notification = new Notification(); variable
383 sptr<Notification> notification = new Notification(); variable
404 sptr<Notification> notification = new Notification(); variable
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationHistoryProtoHelper.java80 HistoricalNotification notification = readNotification(proto, stringPool); in readNotification() local
94 final HistoricalNotification.Builder notification = new HistoricalNotification.Builder(); in readNotification() local
162 HistoricalNotification.Builder notification, String pkg) throws IOException { in loadIcon()
227 private static void writeIcon(ProtoOutputStream proto, HistoricalNotification notification) { in writeIcon()
258 final String[] stringPool, final HistoricalNotification notification) { in writeNotification()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_subscriber.cpp146 const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) in OnConsumed()
169 for (auto notification : notifications) { in OnConsumedList() local
175const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap, int32… in OnCanceled()
197 for (auto notification : notifications) { in OnBatchCanceled() local
220 for (auto notification : notifications) { in OnCanceledList() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DCustomInterpolatorTransformation.java38 public boolean transformTo(TransformState ownState, TransformableView notification, in transformTo()
60 TransformableView notification, float transformationAmount) { in transformFrom()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_test/
H A Dans_subscriber_proxy_unit_test.cpp164 sptr<OHOS::Notification::Notification> notification = variable
190 sptr<OHOS::Notification::Notification> notification = variable
236 sptr<OHOS::Notification::Notification> notification = variable
277 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif… variable
320 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif… variable
345 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif… variable
371 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif… variable
418 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif… variable
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_branch_test/
H A Dans_subscriber_proxy_branch_test.cpp93 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif… variable
117 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif… variable
158 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif… variable
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_subscriber_manager_test.cpp150 sptr<Notification> notification = new Notification(request); variable
170 sptr<Notification> notification = new Notification(request); variable
240 sptr<Notification> notification = new Notification(request); variable
280 sptr<Notification> notification = new Notification(request); variable
309 sptr<Notification> notification = new Notification(request); variable
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRowDragControllerTest.java80 Notification notification = mRow.getEntry().getSbn().getNotification(); in setUp() local
122 Notification notification = mRow.getEntry().getSbn().getNotification(); in testDoStartDrag_noLaunchIntent() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationHeaderViewWrapper.java194 Notification notification = row.getEntry().getSbn().getNotification(); in onContentUpdated() local
321 public void transformTo(TransformableView notification, Runnable endRunnable) { in transformTo()
326 public void transformTo(TransformableView notification, float transformationAmount) { in transformTo()
331 public void transformFrom(TransformableView notification) { in transformFrom()
336 public void transformFrom(TransformableView notification, float transformationAmount) { in transformFrom()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
H A DDeviceStateNotificationControllerTest.java140 Notification notification = mNotificationCaptor.getValue(); in test_activeNotification() local
170 Notification notification = mNotificationCaptor.getValue(); in test_powerSaveNotification() local
206 Notification notification = mNotificationCaptor.getValue(); in test_thermalNotification() local
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
H A DJobNotificationCoordinatorTest.java106 Notification notification = createValidNotification(); in testParameterValidation() local
141 final Notification notification = createValidNotification(); in testSingleJob_DetachOnStop() local
163 final Notification notification = createValidNotification(); in testSingleJob_RemoveOnStop() local
452 final Notification notification = createValidNotification(); in testUserStop_SingleJob_DetachOnStop() local
518 final Notification notification = createValidNotification(); in testUserInitiatedJob_hasNotificationFlag() local
535 final Notification notification = createValidNotification(); in testNonUserInitiatedJob_doesNotHaveNotificationFlag() local
555 final Notification notification = mock(Notification.class); in createValidNotification() local
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp719 const std::shared_ptr<NotificationSortingMap>) { in __anonfcca8a570d02()
765 const std::shared_ptr<NotificationSortingMap>) { in __anonfcca8a570e02()
949 const std::shared_ptr<NotificationSortingMap>) { passed = true; }; in __anonfcca8a571202()
989 const std::shared_ptr<NotificationSortingMap>) { passed = true; }; in __anonfcca8a571302()
1460 sortingMap) { passed = true; }; in __anonfcca8a571c02()
1505 sortingMap) { passed = true; }; in __anonfcca8a571d02()
1543 sortingMap) { passed = true; }; in __anonfcca8a571e02()
1581 sortingMap) { passed = true; }; in __anonfcca8a571f02()
2229 sortingMap) { ret++; }; in __anonfcca8a572b02()
2414 sortingMap) { ret++; }; in __anonfcca8a573002()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java327 Notification notification = new Notification.Builder(mContext, "test id") in messagingStyle_isGroupConversation() local
343 Notification notification = new Notification.Builder(mContext, "test id") in messagingStyle_isGroupConversation_noConversationTitle() local
360 Notification notification = new Notification.Builder(mContext, "test id") in messagingStyle_isGroupConversation_withConversationTitle_legacy() local
377 Notification notification = new Notification.Builder(mContext, "test id") in messagingStyle_isGroupConversation_withoutConversationTitle_legacy() local
424 Notification notification = new Notification.Builder(mContext, "whatever") in testBuilder_setLocusId() local
1450 Notification notification = new Notification.Builder(mContext, "test") in testFreeformRemoteInputActionPair_noRemoteInput() local
1475 Notification notification = new Notification.Builder(mContext, "test") in testFreeformRemoteInputActionPair_hasRemoteInput() local
1493 Notification notification = new Notification.Builder(mContext, "test") in testFreeformRemoteInputActionPair_requestFreeform_noFreeformRemoteInput() local
1525 Notification notification = new Notification.Builder(mContext, "test") in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() local
1552 Notification notification = builder.build(); in testExtras_cachedExtrasOverwrittenByUserProvided() local
[all …]

123456789