Home
last modified time | relevance | path

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

/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java255 public void handleNiNotification(GpsNiNotification notif) { in handleNiNotification() argument
257 + " notificationId: " + notif.notificationId in handleNiNotification()
258 + " requestorId: " + notif.requestorId in handleNiNotification()
259 + " text: " + notif.text in handleNiNotification()
264 handleNiInEs(notif); in handleNiNotification()
266 handleNi(notif); in handleNiNotification()
283 private void handleNi(GpsNiNotification notif) { in handleNi() argument
285 + " needNotify: " + notif.needNotify in handleNi()
286 + " needVerify: " + notif.needVerify in handleNi()
287 + " privacyOverride: " + notif.privacyOverride in handleNi()
[all …]
/frameworks/support/v4/kitkat/android/support/v4/app/
DNotificationCompatKitKat.java119 public static Bundle getExtras(Notification notif) { in getExtras() argument
120 return notif.extras; in getExtras()
123 public static int getActionCount(Notification notif) { in getActionCount() argument
124 return notif.actions != null ? notif.actions.length : 0; in getActionCount()
127 public static NotificationCompatBase.Action getAction(Notification notif, in getAction() argument
130 Notification.Action action = notif.actions[actionIndex]; in getAction()
132 SparseArray<Bundle> actionExtrasMap = notif.extras.getSparseParcelableArray( in getAction()
141 public static boolean getLocalOnly(Notification notif) { in getLocalOnly() argument
142 return notif.extras.getBoolean(NotificationCompatJellybean.EXTRA_LOCAL_ONLY); in getLocalOnly()
145 public static String getGroup(Notification notif) { in getGroup() argument
[all …]
/frameworks/support/tests/java/android/support/v4/app/
DNotificationCompatWearableExtenderTest.java57 Notification notif = new NotificationCompat.Builder(getContext()) in testRealReadCompatEmptyValue() local
61 assertExtendersEqual(new Notification.WearableExtender(notif), compatExtender); in testRealReadCompatEmptyValue()
62 assertExtendersEqual(new Notification.WearableExtender(notif), in testRealReadCompatEmptyValue()
63 new NotificationCompat.WearableExtender(notif)); in testRealReadCompatEmptyValue()
69 Notification notif = new Notification.Builder(getContext()) in testCompatReadRealEmptyValue() local
73 assertExtendersEqual(realExtender, new NotificationCompat.WearableExtender(notif)); in testCompatReadRealEmptyValue()
74 assertExtendersEqual(new Notification.WearableExtender(notif), in testCompatReadRealEmptyValue()
75 new NotificationCompat.WearableExtender(notif)); in testCompatReadRealEmptyValue()
118 Notification notif = new NotificationCompat.Builder(getContext()) in testRealReadCompatValue() local
120 assertExtendersEqual(new Notification.WearableExtender(notif), compatExtender); in testRealReadCompatValue()
[all …]
/frameworks/support/v4/jellybean/android/support/v4/app/
DNotificationCompatJellybean.java133 Notification notif = b.build(); in build() local
136 Bundle extras = getExtras(notif); in build()
147 getExtras(notif).putSparseParcelableArray(EXTRA_ACTION_EXTRAS, actionExtrasMap); in build()
149 return notif; in build()
211 public static Bundle getExtras(Notification notif) { in getExtras() argument
227 Bundle extras = (Bundle) sExtrasField.get(notif); in getExtras()
230 sExtrasField.set(notif, extras); in getExtras()
267 public static int getActionCount(Notification notif) { in getActionCount() argument
269 Object[] actionObjects = getActionObjectsLocked(notif); in getActionCount()
274 public static NotificationCompatBase.Action getAction(Notification notif, int actionIndex, in getAction() argument
[all …]
/frameworks/support/v4/api20/android/support/v4/app/
DNotificationCompatApi20.java116 public static NotificationCompatBase.Action getAction(Notification notif, in getAction() argument
119 … return getActionCompatFromAction(notif.actions[actionIndex], actionFactory, remoteInputFactory); in getAction()
184 public static boolean getLocalOnly(Notification notif) { in getLocalOnly() argument
185 return (notif.flags & Notification.FLAG_LOCAL_ONLY) != 0; in getLocalOnly()
188 public static String getGroup(Notification notif) { in getGroup() argument
189 return notif.getGroup(); in getGroup()
192 public static boolean isGroupSummary(Notification notif) { in isGroupSummary() argument
193 return (notif.flags & Notification.FLAG_GROUP_SUMMARY) != 0; in isGroupSummary()
196 public static String getSortKey(Notification notif) { in getSortKey() argument
197 return notif.getSortKey(); in getSortKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java195 final Notification notif = new Notification.Builder(mContext) in updateMissingPrivateVolumes() local
208 mNotificationManager.notifyAsUser(fsUuid, PRIVATE_ID, notif, UserHandle.ALL); in updateMissingPrivateVolumes()
221 final Notification notif = new Notification.Builder(mContext) in onDiskScannedInternal() local
233 mNotificationManager.notifyAsUser(disk.getId(), DISK_ID, notif, UserHandle.ALL); in onDiskScannedInternal() local
261 final Notification notif; in onPublicVolumeStateChangedInternal() local
264 notif = onVolumeUnmounted(vol); in onPublicVolumeStateChangedInternal()
267 notif = onVolumeChecking(vol); in onPublicVolumeStateChangedInternal()
271 notif = onVolumeMounted(vol); in onPublicVolumeStateChangedInternal()
274 notif = onVolumeFormatting(vol); in onPublicVolumeStateChangedInternal()
277 notif = onVolumeEjecting(vol); in onPublicVolumeStateChangedInternal()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java774 public String getCategory(Notification notif) { in getCategory() argument
775 return NotificationCompatApi21.getCategory(notif); in getCategory()
2358 public WearableExtender(Notification notif) { in WearableExtender() argument
2359 Bundle extras = getExtras(notif); in WearableExtender()
2963 public CarExtender(Notification notif) { in CarExtender() argument
2968 Bundle carBundle = getExtras(notif)==null ? in CarExtender()
2969 null : getExtras(notif).getBundle(EXTRA_CAR_EXTENDER); in CarExtender()
3289 public static Bundle getExtras(Notification notif) { in getExtras() argument
3290 return IMPL.getExtras(notif); in getExtras()
3297 public static int getActionCount(Notification notif) { in getActionCount() argument
[all …]
DNotificationManagerCompat.java565 final Notification notif; field in NotificationManagerCompat.NotifyTask
567 public NotifyTask(String packageName, int id, String tag, Notification notif) { in NotifyTask() argument
571 this.notif = notif; in NotifyTask()
576 service.notify(packageName, id, tag, notif); in send()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java78 Notification notif = sbn.getNotification(); in onEntryRemovedInternal() local
88 if (notif.isGroupSummary()) { in onEntryRemovedInternal()
117 Notification notif = sbn.getNotification(); in onEntryAdded() local
124 if (notif.isGroupSummary()) { in onEntryAdded()
/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.java1135 Notification notif = builder.build(); in getNotificationObject() local
1136 return notif; in getNotificationObject()
/frameworks/support/v4/api21/android/support/v4/app/
DNotificationCompatApi21.java124 public static String getCategory(Notification notif) { in getCategory() argument
125 return notif.category; in getCategory()
/frameworks/base/docs/html/training/wearables/notifications/
Dstacks.jd47 Notification notif = new NotificationCompat.Builder(mContext)
57 notificationManager.notify(notificationId1, notif);
Dcreating.jd255 Notification notif = new NotificationCompat.Builder(mContext)
284 new NotificationCompat.WearableExtender(notif);
300 notificationManager.notify(notificationId, notif);
/frameworks/base/core/java/android/app/
DNotification.java4718 public WearableExtender(Notification notif) { in WearableExtender() argument
4719 Bundle wearableBundle = notif.extras.getBundle(EXTRA_WEARABLE_EXTENSIONS); in WearableExtender()
5315 public CarExtender(Notification notif) { in CarExtender() argument
5316 Bundle carBundle = notif.extras == null ? in CarExtender()
5317 null : notif.extras.getBundle(EXTRA_CAR_EXTENDER); in CarExtender()
/frameworks/base/docs/html/about/versions/
Djelly-bean.jd1326 <!-- <img src="{@docRoot}images/jd-notif-cd.png" style="width:200px"> -->
1327 <img src="{@docRoot}images/jb-notif-ex1.png" width="280" height="548">