Home
last modified time | relevance | path

Searched refs:notif (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java272 public void handleNiNotification(GpsNiNotification notif) { in handleNiNotification() argument
274 + " notificationId: " + notif.notificationId in handleNiNotification()
275 + " requestorId: " + notif.requestorId in handleNiNotification()
276 + " text: " + notif.text in handleNiNotification()
281 handleNiInEs(notif); in handleNiNotification()
283 handleNi(notif); in handleNiNotification()
300 private void handleNi(GpsNiNotification notif) { in handleNi() argument
302 + " needNotify: " + notif.needNotify in handleNi()
303 + " needVerify: " + notif.needVerify in handleNi()
304 + " privacyOverride: " + notif.privacyOverride in handleNi()
[all …]
/frameworks/support/compat/java/android/support/v4/app/
DNotificationCompatJellybean.java86 public static Bundle getExtras(Notification notif) { in getExtras() argument
102 Bundle extras = (Bundle) sExtrasField.get(notif); in getExtras()
105 sExtrasField.set(notif, extras); in getExtras()
152 public static int getActionCount(Notification notif) { in getActionCount() argument
154 Object[] actionObjects = getActionObjectsLocked(notif); in getActionCount()
159 public static NotificationCompat.Action getAction(Notification notif, int actionIndex) { in getAction() argument
162 Object[] actionObjects = getActionObjectsLocked(notif); in getAction()
166 Bundle extras = getExtras(notif); in getAction()
187 private static Object[] getActionObjectsLocked(Notification notif) { in getActionObjectsLocked() argument
193 return (Object[]) sActionsField.get(notif); in getActionObjectsLocked()
DNotificationManagerCompat.java588 final Notification notif; field in NotificationManagerCompat.NotifyTask
590 NotifyTask(String packageName, int id, String tag, Notification notif) { in NotifyTask() argument
594 this.notif = notif; in NotifyTask()
599 service.notify(packageName, id, tag, notif); in send()
/frameworks/support/recommendation/src/android/support/app/recommendation/
DRecommendationExtender.java83 public RecommendationExtender(Notification notif) { in RecommendationExtender() argument
84 Bundle contentBundle = notif.extras == null ? in RecommendationExtender()
85 null : notif.extras.getBundle(EXTRA_CONTENT_INFO_EXTENDER); in RecommendationExtender()
DContentRecommendation.java1144 Notification notif = builder.build(); in getNotificationObject() local
1145 return notif; in getNotificationObject()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java292 final Notification notif; in onPublicVolumeStateChangedInternal() local
295 notif = onVolumeUnmounted(vol); in onPublicVolumeStateChangedInternal()
298 notif = onVolumeChecking(vol); in onPublicVolumeStateChangedInternal()
302 notif = onVolumeMounted(vol); in onPublicVolumeStateChangedInternal()
305 notif = onVolumeFormatting(vol); in onPublicVolumeStateChangedInternal()
308 notif = onVolumeEjecting(vol); in onPublicVolumeStateChangedInternal()
311 notif = onVolumeUnmountable(vol); in onPublicVolumeStateChangedInternal()
314 notif = onVolumeRemoved(vol); in onPublicVolumeStateChangedInternal()
317 notif = onVolumeBadRemoval(vol); in onPublicVolumeStateChangedInternal()
320 notif = null; in onPublicVolumeStateChangedInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java149 final Notification notif =
163 notifManager.notifyAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING, notif,
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationManagerServiceTest.java752 final NotificationRecord notif = generateNotificationRecord( in testCancelAllNotifications_CancelsNoClearFlag() local
754 notif.getNotification().flags |= Notification.FLAG_NO_CLEAR; in testCancelAllNotifications_CancelsNoClearFlag()
755 mNotificationManagerService.addNotification(notif); in testCancelAllNotifications_CancelsNoClearFlag()
757 notif.getUserId(), 0, null); in testCancelAllNotifications_CancelsNoClearFlag()
760 mBinderService.getActiveNotifications(notif.sbn.getPackageName()); in testCancelAllNotifications_CancelsNoClearFlag()
766 final NotificationRecord notif = generateNotificationRecord( in testUserInitiatedCancelAllOnClearAll_NoClearFlag() local
768 notif.getNotification().flags |= Notification.FLAG_NO_CLEAR; in testUserInitiatedCancelAllOnClearAll_NoClearFlag()
769 mNotificationManagerService.addNotification(notif); in testUserInitiatedCancelAllOnClearAll_NoClearFlag()
772 notif.getUserId()); in testUserInitiatedCancelAllOnClearAll_NoClearFlag()
775 mBinderService.getActiveNotifications(notif.sbn.getPackageName()); in testUserInitiatedCancelAllOnClearAll_NoClearFlag()
/frameworks/support/compat/tests/java/android/support/v4/app/
DNotificationCompatTest.java187 Notification notif = new Notification.Builder(mContext) in testFrameworkNotificationActionBuilder_setAllowGeneratedRepliesTrue() local
190 NotificationCompat.Action action = NotificationCompat.getAction(notif, 0); in testFrameworkNotificationActionBuilder_setAllowGeneratedRepliesTrue()
/frameworks/base/core/java/android/app/
DNotification.java7227 public WearableExtender(Notification notif) { in WearableExtender() argument
7228 Bundle wearableBundle = notif.extras.getBundle(EXTRA_WEARABLE_EXTENSIONS); in WearableExtender()
7923 public CarExtender(Notification notif) { in CarExtender() argument
7924 Bundle carBundle = notif.extras == null ? in CarExtender()
7925 null : notif.extras.getBundle(EXTRA_CAR_EXTENDER); in CarExtender()
8329 public TvExtender(Notification notif) { in TvExtender() argument
8330 Bundle bundle = notif.extras == null ? in TvExtender()
8331 null : notif.extras.getBundle(EXTRA_TV_EXTENDER); in TvExtender()