Home
last modified time | relevance | path

Searched refs:mNM (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java50 NotificationManager mNM; field in NotificationTestList
78 mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onCreate()
80 mNM.createNotificationChannel(new NotificationChannel("min", "Min", IMPORTANCE_MIN)); in onCreate()
81 mNM.createNotificationChannel(new NotificationChannel("low", "Low", IMPORTANCE_LOW)); in onCreate()
82 mNM.createNotificationChannel( in onCreate()
84 mNM.createNotificationChannel(new NotificationChannel("high", "High", IMPORTANCE_HIGH)); in onCreate()
100 mNM.cancelAll();
124 mNM.notify(7001, n);
130 mNM.setInterruptionFilter(NotificationManager.INTERRUPTION_FILTER_ALARMS);
136 mNM.notify("default", 7004, n);
[all …]
DNotificationBuilderTest.java54 NotificationManager mNM; field in NotificationBuilderTest
61 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
189 mNM.cancel(id);
201 mNM.notify(NOTIFY_TAG, id, n); in sendNotification()
207 mNM.cancel(NOTIFY_TAG, id); in cancelNotification()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java161 private NotificationManager mNM; field in DynamicSystemInstallationService
498 mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in prepareNotification()
500 if (mNM != null) { in prepareNotification()
501 mNM.createNotificationChannel(chan); in prepareNotification()
683 mNM.notify(NOTIFICATION_ID, buildNotification(status, cause, detail)); in postStatus()