HomeSort by relevance Sort by last modified time
    Searched refs:notificationManager (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
NotificationManagerTest.java 4 import android.app.NotificationManager;
18 private NotificationManager notificationManager;
23 notificationManager = (NotificationManager) Robolectric.application.getSystemService(Context.NOTIFICATION_SERVICE);
28 notificationManager.notify(1, notification1);
29 assertEquals(1, shadowOf(notificationManager).size());
30 assertEquals(notification1, shadowOf(notificationManager).getNotification(1));
32 notificationManager.notify(31, notification2);
33 assertEquals(2, shadowOf(notificationManager).size())
    [all...]
  /cts/hostsidetests/devicepolicy/app/NotificationSender/src/com/android/cts/managedprofiletests/notificationsender/
SendNotification.java 22 import android.app.NotificationManager;
56 NotificationManager notificationManager =
57 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
58 notificationManager.createNotificationChannel(new NotificationChannel(
59 NOTIFICATION_CHANNEL, "Test channel", NotificationManager.IMPORTANCE_DEFAULT));
60 notificationManager.notify(NOTIFICATION_ID,
68 NotificationManager notificationManager =
69 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE)
    [all...]
  /developers/build/prebuilts/gradle/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
BigPictureSocialMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
BigTextMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
InboxMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
MessagingMainActivity.java 19 import android.app.NotificationManager;
40 NotificationManager notificationManager =
41 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
43 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
  /developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
BigPictureSocialMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
BigTextMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
InboxMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
MessagingMainActivity.java 19 import android.app.NotificationManager;
40 NotificationManager notificationManager =
41 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
43 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
  /developers/samples/android/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
BigPictureSocialMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
BigTextMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
InboxMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
MessagingMainActivity.java 19 import android.app.NotificationManager;
40 NotificationManager notificationManager =
41 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
43 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
  /developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
BigPictureSocialMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
BigTextMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
InboxMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
MessagingMainActivity.java 19 import android.app.NotificationManager;
40 NotificationManager notificationManager =
41 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
43 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
  /development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
BigPictureSocialMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
BigTextMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
InboxMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
MessagingMainActivity.java 19 import android.app.NotificationManager;
40 NotificationManager notificationManager =
41 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
43 notificationManager.cancel(MainActivity.NOTIFICATION_ID);
  /development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
BigPictureSocialMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
BigTextMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);
InboxMainActivity.java 19 import android.app.NotificationManager;
38 NotificationManager notificationManager =
39 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
41 notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID);

Completed in 181 milliseconds

1 2 3 4 5