/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 219 final Notification.Builder nb = in showInvalidChargerNotification() local 229 SystemUI.overrideNotificationAppName(mContext, nb, false); in showInvalidChargerNotification() 230 final Notification n = nb.build(); in showInvalidChargerNotification() 248 final Notification.Builder nb = in showWarningNotification() local 261 nb.setContentIntent(pendingBroadcast(ACTION_SHOW_BATTERY_SETTINGS)); in showWarningNotification() 267 nb.setColor(Utils.getColorAttr(mContext, android.R.attr.colorError)); in showWarningNotification() 269 nb.addAction(0, in showWarningNotification() 272 nb.setOnlyAlertOnce(!mPlaySound); in showWarningNotification() 274 SystemUI.overrideNotificationAppName(mContext, nb, false); in showWarningNotification() 275 final Notification n = nb.build(); in showWarningNotification() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationTest.java | 78 Notification.Builder nb = new Notification.Builder(mContext, "channel"); in testStripsExtendersInLowRamModeNoWhitelistNoTv() local 79 nb.extend(new Notification.CarExtender().setColor(Color.RED)); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 80 nb.extend(new Notification.TvExtender().setChannelId("different channel")); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 81 nb.extend(new Notification.WearableExtender().setDismissalId("dismiss")); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 82 Notification before = nb.build(); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 104 Notification.Builder nb = new Notification.Builder(mContext, "channel"); in testStripsExtendersInLowRamModeHasWhitelist() local 105 nb.extend(new Notification.CarExtender().setColor(Color.RED)); in testStripsExtendersInLowRamModeHasWhitelist() 106 nb.extend(new Notification.TvExtender().setChannelId("different channel")); in testStripsExtendersInLowRamModeHasWhitelist() 107 nb.extend(new Notification.WearableExtender().setDismissalId("dismiss")); in testStripsExtendersInLowRamModeHasWhitelist() 108 Notification before = nb.build(); in testStripsExtendersInLowRamModeHasWhitelist() [all …]
|
D | GroupHelperTest.java | 64 Notification.Builder nb = new Notification.Builder(getContext(), "test_channel_id") in getSbn() local 68 nb.setGroup(groupKey); in getSbn() 70 return new StatusBarNotification(pkg, pkg, id, tag, 0, 0, nb.build(), user, null, in getSbn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginInstanceManager.java | 329 final Notification.Builder nb = new Notification.Builder(mContext, in handleLoadPlugin() 344 nb.setContentTitle("Plugin \"" + label + "\" is too old") in handleLoadPlugin() 349 nb.setContentTitle("Plugin \"" + label + "\" is too new") in handleLoadPlugin() 356 nb.addAction(new Action.Builder(null, "Disable plugin", pi).build()); in handleLoadPlugin() 358 .notifyAsUser(cls, SystemMessage.NOTE_PLUGIN, nb.build(), in handleLoadPlugin()
|
D | PluginManagerImpl.java | 231 final Notification.Builder nb = in onReceive() local 244 nb.addAction(new Action.Builder(null, "Restart SysUI", pi).build()); in onReceive() 246 SystemMessage.NOTE_PLUGIN, nb.build(), UserHandle.ALL); in onReceive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationDataTest.java | 320 Notification.Builder nb = Notification.Builder.recoverBuilder(mContext, n); in testIsExemptFromDndVisualSuppression_media() local 321 nb.setStyle(new Notification.MediaStyle().setMediaSession(mock(MediaSession.Token.class))); in testIsExemptFromDndVisualSuppression_media() 322 n = nb.build(); in testIsExemptFromDndVisualSuppression_media()
|
D | NotificationGutsManagerTest.java | 324 Notification.Builder nb = new Notification.Builder(mContext, in createTestNotificationRow() local 332 ExpandableNotificationRow row = mHelper.createRow(nb.build()); in createTestNotificationRow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationData.java | 366 final StatusBarNotification nb = b.notification; 393 isSystemNotification(nb); 410 return Long.compare(nb.getNotification().when, na.getNotification().when);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 453 /*package*/ static void nativeCopyPixelsFromBuffer(long nb, Buffer src) { in nativeCopyPixelsFromBuffer() argument
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 6765 boolean nb = mNavigationBarController.checkShowTransientBarLw() in requestTransientBars() 6767 if (sb || nb) { in requestTransientBars() 6769 if (!nb && swipeTarget == mNavigationBar) { in requestTransientBars() 6774 if (nb) mNavigationBarController.showTransient(); in requestTransientBars()
|