Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java281 final Notification.Builder nb = in showInvalidChargerNotification() local
291 SystemUIApplication.overrideNotificationAppName(mContext, nb, false); in showInvalidChargerNotification()
292 final Notification n = nb.build(); in showInvalidChargerNotification()
308 final Notification.Builder nb = in showWarningNotification() local
321 nb.setContentIntent(pendingBroadcast(ACTION_SHOW_BATTERY_SAVER_SETTINGS)); in showWarningNotification()
328 nb.setColor(Utils.getColorAttrDefaultColor(mContext, android.R.attr.colorError)); in showWarningNotification()
332 nb.addAction(0, mContext.getString(R.string.battery_saver_dismiss_action), in showWarningNotification()
334 nb.addAction(0, in showWarningNotification()
338 nb.setOnlyAlertOnce(!mPlaySound); in showWarningNotification()
340 SystemUIApplication.overrideNotificationAppName(mContext, nb, false); in showWarningNotification()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginActionManager.java334 final Notification.Builder nb = new Notification.Builder(mContext, in reportInvalidVersion() local
350 nb.setContentTitle("Plugin \"" + label + "\" is too old") in reportInvalidVersion()
355 nb.setContentTitle("Plugin \"" + label + "\" is too new") in reportInvalidVersion()
363 nb.addAction(new Action.Builder(null, "Disable plugin", pi).build()); in reportInvalidVersion()
364 mNotificationManager.notify(SystemMessage.NOTE_PLUGIN, nb.build()); in reportInvalidVersion()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderTestBase.kt1212 .also { nb -> in <lambda>() method
1213 nb.setContentTitle(TEST_CONTENT_TITLE) in <lambda>()
1214 nb.setContentText(TEST_CONTENT_TEXT) in <lambda>()
1216 whenMs?.let { nb.setWhen(it) } in <lambda>()
1219 nb.setGroup(TEST_GROUP_KEY) in <lambda>()
1223 nb.setGroupSummary(true) in <lambda>()
1227 nb.extras.putString(EXTRA_TEMPLATE, Notification.CallStyle::class.java.name) in <lambda>()
1231 nb.setCategory(category) in <lambda>()
1233 groupAlertBehavior?.let { nb.setGroupAlertBehavior(it) } in <lambda>()
1236 nb.setBubbleMetadata(buildBubbleMetadata()) in <lambda>()
[all …]
DNotificationInterruptStateProviderImplTest.java1051 Notification.Builder nb = new Notification.Builder(getContext(), "a") in createBubble() local
1056 nb.setGroup(groupKey); in createBubble()
1057 nb.setGroupSummary(false); in createBubble()
1060 nb.setGroupAlertBehavior(groupAlert); in createBubble()
1062 Notification n = nb.build(); in createBubble()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordLoggerTest.java65 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()); in getNotification() local
67 UID, 0, nb.build(), new UserHandle(UID), null, in getNotification()
DNotificationManagerServiceTest.java1062 Notification.Builder nb = new Notification.Builder(mContext, "a") in generateSbn() local
1067 nb.build(), new UserHandle(userId), null, postTime); in generateSbn()
1079 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()) in generateNotificationRecord() local
1086 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in generateNotificationRecord()
1099 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()) in generateNotificationRecord() local
1106 nb.extend(extender); in generateNotificationRecord()
1109 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in generateNotificationRecord()
1133 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()) in generateNotificationRecord() local
1137 nb.build(), new UserHandle(userId), null, 0); in generateNotificationRecord()
1156 Notification.Builder nb = getMessageStyleNotifBuilder(addMetadata, groupKey, in generateMessageBubbleNotifRecord() local
[all …]
DTimeToLiveHelperTest.java76 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()) in getRecord() local
82 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in getRecord()
DNotificationListenersTest.java640 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()) in testImplicitGrant() local
646 nb.build(), UserHandle.getUserHandleForUid(uid), null, 0); in testImplicitGrant()
847 Notification.Builder nb = new Notification.Builder(mContext, channel.getId()) in testListenerPost_UpdateLifetimeExtended() local
852 nb.build(), userHandle, null, 0); in testListenerPost_UpdateLifetimeExtended()
DGroupHelperTest.java127 Notification.Builder nb = new Notification.Builder(getContext(), "test_channel_id") in getSbn() local
133 nb.setGroup(groupKey); in getSbn()
135 return new StatusBarNotification(pkg, pkg, id, tag, 0, 0, nb.build(), user, null, in getSbn()
/frameworks/minikin/fuzz/hyphenator_fuzzer/
Dhyphenator.dict58 "nb"
/frameworks/minikin/fuzz/locale_fuzzer/
Dlocale.dict48 "nb"
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java470 Notification.Builder nb = new Notification.Builder(mContext, "a") in testOnFullScreenIntentWhenDozing_wakeUpDevice() local
476 nb.build(), new UserHandle(0), null, 0); in testOnFullScreenIntentWhenDozing_wakeUpDevice()
503 Notification.Builder nb = new Notification.Builder(mContext, "a") in testOnFullScreenIntentWhenDozing_logToStatsd() local
509 nb.build(), new UserHandle(0), null, 0); in testOnFullScreenIntentWhenDozing_logToStatsd()
/frameworks/base/tools/aapt2/integration-tests/DumpTest/
Dminimal_expected.txt45 application-label-nb:'Bubble Girl'
91 …is' 'it' 'iw' 'ja' 'jv' 'ka' 'kk' 'kn' 'ko' 'lt' 'lv' 'mk' 'ml' 'mr' 'ms' 'nb' 'nl' 'pa' 'pl' 'pt-…
/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java202 Notification.Builder nb = getNotificationBuilder(null, CHANNEL_ID) in testIsAppGroup() local
205 sbn = getNotification(PKG, nb); in testIsAppGroup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java565 Notification.Builder nb = new Notification.Builder( in testBindNotification_whenCurrentlyInCall() local
575 nb.build(), UserHandle.getUserHandleForUid(TEST_UID), null, 0); in testBindNotification_whenCurrentlyInCall()
610 Notification.Builder nb = new Notification.Builder( in testBindNotification_whenCurrentlyInCall_notCall() local
618 nb.build(), UserHandle.getUserHandleForUid(TEST_UID), null, 0); in testBindNotification_whenCurrentlyInCall_notCall()
DNotificationGutsManagerTest.java556 Notification.Builder nb = new Notification.Builder(mContext, in createTestNotificationRow() local
564 ExpandableNotificationRow row = mHelper.createRow(nb.build()); in createTestNotificationRow()
DNotificationGutsManagerWithScenesTest.kt577 val nb = in <lambda>() constant
585 val row = helper.createRow(nb.build()) in <lambda>()
/frameworks/base/core/res/geoid_map_assets/
Dexpiration-distance-disk-tile-9.textpb2 …33\022\305\034\221\177\003@9E}\001\200\026\\\300\277\276\242\b\252\351\232\nb ,\020\035\021\f\257 …
Dexpiration-distance-disk-tile-b.textpb2 …L\326!\260\027^\a\345\260\256\363,6\021\274T\306\373\273\323\0062=\204\355\nb\003(\260\353z\330\20…
Dgeoid-height-disk-tile-5.textpb2nb+\002\342\016zU9!\305Q\270L\003YW\000\344\325GZ\204\307\272\230\366\274Ur\205\032\255\306<\330\3…
Dgeoid-height-disk-tile-b.textpb2 …\300\250n~q\305T@U\253B\001\270U\330\243\253QG\315]\215@\024\256\200\324E)\nb\243U\3114\251\026Z\2…
Dgeoid-height-disk-tile-3.textpb2 …30C\201\2009\247In\321\257\265F\220\344sL\270\217\013\357U\241\214\212\275\nb\257\302\265v\005\371…
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java1102 Notification.Builder nb = new Notification.Builder(mContext, "channel"); in testDoesNotStripsExtenders() local
1103 nb.extend(new Notification.CarExtender().setColor(Color.RED)); in testDoesNotStripsExtenders()
1104 nb.extend(new Notification.TvExtender().setChannelId("different channel")); in testDoesNotStripsExtenders()
1105 nb.extend(new Notification.WearableExtender().setDismissalId("dismiss")); in testDoesNotStripsExtenders()
1106 Notification before = nb.build(); in testDoesNotStripsExtenders()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp2237 VkNativeBufferANDROID nb = { in AcquireNextImageKHR() local
2248 &nb.usage2.producer, in AcquireNextImageKHR()
2249 &nb.usage2.consumer); in AcquireNextImageKHR()
2252 .pNext = &nb, in AcquireNextImageKHR()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3419 Notification.Builder nb = Notification.Builder.recoverBuilder(getContext(), n);
3421 if (nb.getStyle() instanceof Notification.BigTextStyle) {
3422 text = ((Notification.BigTextStyle) nb.getStyle()).getBigText();
3423 } else if (nb.getStyle() instanceof MessagingStyle) {
3424 MessagingStyle ms = (MessagingStyle) nb.getStyle();

12