Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java237 final Notification.Builder nb = in showInvalidChargerNotification() local
247 SystemUI.overrideNotificationAppName(mContext, nb, false); in showInvalidChargerNotification()
248 final Notification n = nb.build(); in showInvalidChargerNotification()
268 final Notification.Builder nb = in showWarningNotification() local
281 nb.setContentIntent(pendingBroadcast(ACTION_SHOW_BATTERY_SETTINGS)); in showWarningNotification()
288 nb.setColor(Utils.getColorAttrDefaultColor(mContext, android.R.attr.colorError)); in showWarningNotification()
292 nb.addAction(0, in showWarningNotification()
296 nb.setOnlyAlertOnce(!mPlaySound); in showWarningNotification()
298 SystemUI.overrideNotificationAppName(mContext, nb, false); in showWarningNotification()
299 final Notification n = nb.build(); in showWarningNotification()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
DREADME.md26 Download amr-nb folder and push all the files in this folder to /data/local/tmp/ on the device.
28 adb push amr-nb/. /data/local/tmp/
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordLoggerTest.java48 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()); in getNotification() local
50 UID, 0, nb.build(), new UserHandle(UID), null, in getNotification()
DNotificationTest.java73 Notification.Builder nb = new Notification.Builder(mContext, "channel"); in testDoesNotStripsExtenders() local
74 nb.extend(new Notification.CarExtender().setColor(Color.RED)); in testDoesNotStripsExtenders()
75 nb.extend(new Notification.TvExtender().setChannelId("different channel")); in testDoesNotStripsExtenders()
76 nb.extend(new Notification.WearableExtender().setDismissalId("dismiss")); in testDoesNotStripsExtenders()
77 Notification before = nb.build(); in testDoesNotStripsExtenders()
DNotificationManagerServiceTest.java579 Notification.Builder nb = new Notification.Builder(mContext, "a") in generateSbn() local
584 nb.build(), new UserHandle(userId), null, postTime); in generateSbn()
590 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()) in generateNotificationRecord() local
597 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in generateNotificationRecord()
610 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()) in generateNotificationRecord() local
614 nb.extend(extender); in generateNotificationRecord()
617 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in generateNotificationRecord()
625 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()) in generateNotificationRecord() local
629 nb.build(), new UserHandle(userId), null, 0); in generateNotificationRecord()
646 Notification.Builder nb = getMessageStyleNotifBuilder(addMetadata, groupKey, isSummary); in generateMessageBubbleNotifRecord() local
[all …]
DGroupHelperTest.java68 Notification.Builder nb = new Notification.Builder(getContext(), "test_channel_id") in getSbn() local
72 nb.setGroup(groupKey); in getSbn()
74 return new StatusBarNotification(pkg, pkg, id, tag, 0, 0, nb.build(), user, null, in getSbn()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginInstanceManager.java363 final Notification.Builder nb = new Notification.Builder(mContext, in handleLoadPlugin()
378 nb.setContentTitle("Plugin \"" + label + "\" is too old") in handleLoadPlugin()
383 nb.setContentTitle("Plugin \"" + label + "\" is too new") in handleLoadPlugin()
390 nb.addAction(new Action.Builder(null, "Disable plugin", pi).build()); in handleLoadPlugin()
392 .notify(SystemMessage.NOTE_PLUGIN, nb.build()); in handleLoadPlugin()
DPluginManagerImpl.java248 final Notification.Builder nb = in onReceive() local
261 nb.addAction(new Action.Builder(null, "Restart SysUI", pi).build()); in onReceive()
263 .notify(SystemMessage.NOTE_PLUGIN, nb.build()); in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRankingManager.kt73 val nb = b.sbn in <lambda>() constant
108 else -> nb.notification.`when`.compareTo(na.notification.`when`) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java194 Notification.Builder nb = getNotificationBuilder(null, CHANNEL_ID) in testIsAppGroup() local
197 sbn = getNotification(PKG, nb); in testIsAppGroup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java472 Notification.Builder nb = new Notification.Builder(mContext, in createTestNotificationRow() local
480 ExpandableNotificationRow row = mHelper.createRow(nb.build()); in createTestNotificationRow()
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java434 /*package*/ static void nativeCopyPixelsFromBuffer(long nb, Buffer src) { in nativeCopyPixelsFromBuffer() argument
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java3238 boolean nb = mNavigationBarController.checkShowTransientBarLw()
3240 if (sb || nb) {
3242 if (!nb && swipeTarget == mNavigationBar) {
3247 if (nb) mNavigationBarController.showTransient();
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2726 Notification.Builder nb = Notification.Builder.recoverBuilder(appContext, n);
2728 if (nb.getStyle() instanceof Notification.BigTextStyle) {
2729 text = ((Notification.BigTextStyle) nb.getStyle()).getBigText();
2730 } else if (nb.getStyle() instanceof Notification.MessagingStyle) {
2731 Notification.MessagingStyle ms = (Notification.MessagingStyle) nb.getStyle();