Home
last modified time | relevance | path

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

/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java107 sendNotification(notificationId, R.drawable.icon_black); in testNotificationListener_cancelNotifications()
120 sendNotification(notificationId, R.drawable.icon_black); in testNotificationListener_cancelNotifications()
129 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManager20Test
130 sendNotification(id, null, icon); in sendNotification()
133 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManager20Test
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java112 sendNotification(1, ICON_ID); in testOnNotificationEnqueued()
126 sendNotification(1, ICON_ID); in testOnNotificationEnqueued()
146 sendNotification(1, ICON_ID); in testAdjustNotification_userSentimentKey()
180 sendNotification(1, ICON_ID); in testAdjustNotification_importanceKey()
218 sendNotification(1, ICON_ID); in testAdjustNotification_smartActionKey()
264 sendNotification(1, ICON_ID); in testAdjustNotification_smartReplyKey()
309 sendNotification(1, ICON_ID); in testAdjustNotification_importanceKey_notAllowed()
465 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() method in NotificationAssistantServiceTest
466 sendNotification(id, null, icon); in sendNotification()
469 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification() method in NotificationAssistantServiceTest
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java350 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() method in NotificationManagerTest
351 sendNotification(id, null, icon); in sendNotification()
354 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification() method in NotificationManagerTest
972 sendNotification(id, R.drawable.black); in testNotify()
974 sendNotification(id, R.drawable.blue); in testNotify()
975 sendNotification(id, R.drawable.yellow); in testNotify()
999 sendNotification(1, R.drawable.black); in testSuspendPackage()
1049 sendNotification(1, R.drawable.black); in testSuspendedPackageSendsNotification()
1097 sendNotification(1, R.drawable.black); in testCanBubble_ranking()
1150 sendNotification(1, R.drawable.black); in testShowBadging_ranking()
[all …]
DServiceTest.java442 private void sendNotification(int id, String title) { in sendNotification() method in ServiceTest
826 sendNotification(1, newTitle); in testForegroundService_dontRemoveNotificationOnStop()
977 sendNotification(1, newTitle); in testForegroundService_detachNotificationOnStop()
/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/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyServiceClient.java96 … public void sendNotification(int notificationId, String notificationType) throws RemoteException { in sendNotification() method in MyServiceClient
97 mService.sendNotification(notificationId, notificationType); in sendNotification()
DAbstractDozeModeTestCase.java153 sendNotification(id, type); in testNotification()
DAbstractRestrictBackgroundNetworkTestCase.java1136 protected void sendNotification(int notificationId, String notificationType) throws Exception {
1139 mServiceClient.sendNotification(notificationId, notificationType);
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java200 sendNotification(1, R.drawable.icon_black); in testSuspendPackage()
240 sendNotification(1, R.drawable.icon_black); in testSuspendedPackageSendNotification()
332 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManagerTest
333 sendNotification(id, null, icon); in sendNotification()
336 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManagerTest
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
DIMyService.aidl26 void sendNotification(int notificationId, String notificationType); in sendNotification() method
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyService.java87 public void sendNotification(int notificationId, String notificationType) {
88 MyBroadcastReceiver .sendNotification(getApplicationContext(), NOTIFICATION_CHANNEL_ID,
DMyBroadcastReceiver.java199 static void sendNotification(Context context, String channelId, int notificationId, in sendNotification() method in MyBroadcastReceiver