OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:notificationManager
(Results
1 - 25
of
90
) sorted by null
1
2
3
4
/frameworks/support/compat/api24/android/support/v4/app/
NotificationManagerCompatApi24.java
18
import android.app.
NotificationManager
;
21
public static boolean areNotificationsEnabled(
NotificationManager
notificationManager
) {
22
return
notificationManager
.areNotificationsEnabled();
25
public static int getImportance(
NotificationManager
notificationManager
) {
26
return
notificationManager
.getImportance();
/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
...]
/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 326 milliseconds
1
2
3
4