Home
last modified time | relevance | path

Searched refs:sendNotification (Results 1 – 9 of 9) sorted by relevance

/cts/tests/app/NotificationProvider/src/com/android/test/notificationprovider/
DRichNotificationActivity.kt58 ACTION_SEND_7 -> sendNotification(NotificationPreset.Preset7) in onCreate()
59 ACTION_SEND_8 -> sendNotification(NotificationPreset.Preset8) in onCreate()
69 private fun sendNotification(preset: NotificationPreset) { in sendNotification() method in com.android.test.notificationprovider.RichNotificationActivity
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java119 sendNotification(1, ICON_ID); in testOnNotificationEnqueued()
133 sendNotification(1, ICON_ID); in testOnNotificationEnqueued()
152 sendNotification(1, ICON_ID); in testAdjustNotification_userSentimentKey()
183 sendNotification(1, ICON_ID); in testAdjustNotification_importanceKey()
214 sendNotification(1, ICON_ID); in testAdjustNotifications_rankingScoreKey()
219 sendNotification(2, ICON_ID); in testAdjustNotifications_rankingScoreKey()
275 sendNotification(1, ICON_ID); in testAdjustNotification_smartActionKey()
318 sendNotification(1, ICON_ID); in testAdjustNotification_smartReplyKey()
360 sendNotification(1, ICON_ID); in testAdjustNotification_importanceKey_notAllowed()
393 sendNotification(1, ICON_ID); in testAdjustNotification_rankingScoreKey_notAllowed()
[all …]
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java98 sendNotification(notificationId, R.drawable.icon_black); in testNotificationListener_cancelNotifications()
111 sendNotification(notificationId, R.drawable.icon_black); in testNotificationListener_cancelNotifications()
120 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManager20Test
121 sendNotification(id, null, icon); in sendNotification()
124 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManager20Test
/cts/hostsidetests/devicepolicy/app/NotificationSender/src/com/android/cts/managedprofiletests/notificationsender/
DSendNotification.java47 sendNotification(); in onCreate()
55 private void sendNotification() { in sendNotification() method in SendNotification
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DActionTriggeredReceiver.java36 sendNotification(context, false); in onReceive()
40 public static void sendNotification(Context context, boolean initialSend) { in sendNotification() method in ActionTriggeredReceiver
DNotificationListenerVerifierActivity.java1810 ActionTriggeredReceiver.sendNotification(mContext, true); in setUp()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java188 sendNotification(1, R.drawable.icon_black); in testSuspendPackage()
225 sendNotification(1, R.drawable.icon_black); in testSuspendedPackageSendNotification()
326 sendNotification(566, R.drawable.icon_black); in testChannelDeletion_cancelReason()
338 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManagerTest
339 sendNotification(id, null, icon); in sendNotification()
342 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManagerTest
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java501 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() method in NotificationManagerTest
502 sendNotification(id, null, icon); in sendNotification()
505 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification() method in NotificationManagerTest
1500 sendNotification(id, R.drawable.black); in testNotify()
1502 sendNotification(id, R.drawable.blue); in testNotify()
1503 sendNotification(id, R.drawable.yellow); in testNotify()
1554 sendNotification(1, R.drawable.black); in testSuspendPackage()
1599 sendNotification(1, R.drawable.black); in testSuspendedPackageSendsNotification()
1647 sendNotification(1, R.drawable.black); in testCanBubble_ranking()
1691 sendNotification(1, R.drawable.black); in testShowBadging_ranking()
[all …]
DServiceTest.java492 private void sendNotification(int id, String title) { in sendNotification() method in ServiceTest
944 sendNotification(1, newTitle); in testForegroundService_dontRemoveNotificationOnStop()
1094 sendNotification(1, newTitle); in testForegroundService_detachNotificationOnStop()