/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | SbnBuilder.java | 39 @Nullable private Notification mNotification; field in SbnBuilder 57 mNotification = source.getNotification(); in SbnBuilder() 68 } else if (mNotification != null) { in build() 69 notification = mNotification; in build() 126 mNotification = notification; in setNotification() 157 if (mNotification != null) { in modifyNotification() 158 mNotificationBuilder = new Notification.Builder(context, mNotification); in modifyNotification() 159 mNotification = null; in modifyNotification()
|
D | SmartReplyControllerTest.java | 65 private Notification mNotification; field in SmartReplyControllerTest 100 mNotification = new Notification.Builder(mContext, "") in setUp() 106 0, mNotification, new UserHandle(ActivityManager.getCurrentUser()), null, 0); in setUp()
|
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/ |
D | SimpleFgService.java | 52 startForeground(NOTIFICATION_ID, mNotification); 65 private Notification mNotification; field in SimpleFgService 74 mNotification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onCreate() 83 startForeground(NOTIFICATION_ID, mNotification); in onStartCommand() 106 mNotification = null; in onDestroy()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | DeviceProvisionedCoordinatorTest.java | 69 private Notification mNotification; field in DeviceProvisionedCoordinatorTest 80 mNotification = new Notification(); in setup() 82 .setNotification(mNotification) in setup() 118 mNotification.extras = extras; in deviceUnprovisionedCanBypass() 136 mNotification.extras = extras; in deviceUnprovisionedTryBypassWithoutPermission()
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
D | CarrierDefaultReceiverTest.java | 52 private ArgumentCaptor<Notification> mNotification; field in CarrierDefaultReceiverTest 98 mNotification.capture()); in testOnReceiveRedirection() 101 PendingIntent pendingIntent = mNotification.getValue().contentIntent; in testOnReceiveRedirection()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/ |
D | RecordingServiceTest.java | 65 private Notification mNotification; field in RecordingServiceTest 93 doReturn(mNotification).when(mRecordingService).createProcessingNotification(); in setUp() 94 doReturn(mNotification).when(mRecordingService).createSaveNotification(any()); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | MediaManager.java | 38 protected Notification mNotification; field in MediaManager 42 mNotification = notification; in MediaManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 136 private StatusBarNotification mNotification; field in StatusBarIconView 214 if (mNotification != null || mAlwaysScaleIcon) { in maybeUpdateIconScaleDimens() 295 mNotification = notification; in setNotification() 421 if (mNotification != null) { in getIcon() 422 notifContext = mNotification.getPackageContext(getContext()); in getIcon() 464 if (mNotification != null) { in onInitializeAccessibilityEvent() 465 event.setParcelableData(mNotification.getNotification()); in onInitializeAccessibilityEvent() 563 + " notification=" + mNotification + ")"; in toString() 567 return mNotification; in getNotification() 614 if (mNotification != null) { in initializeDecorColor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartRepliesTest.java | 71 @Mock private Notification mNotification; field in InflatedSmartRepliesTest 94 when(mNotification.getAllowSystemGeneratedContextualActions()).thenReturn(true); in setUp() 96 .setNotification(mNotification) in setUp() 249 mNotification.actions = new Notification.Action[]{ in chooseSmartRepliesAndActions_sysGeneratedPhishingSmartAction() 310 when(mNotification.getAllowSystemGeneratedContextualActions()).thenReturn(false); in chooseSmartRepliesAndActions_disallowSysGenSmartActions() 584 when(mNotification.findRemoteInputActionPair(false)).thenReturn(remoteInputActionPair); in setupAppGeneratedReplies() 592 when(mNotification.findRemoteInputActionPair(true)).thenReturn( in setupAppGeneratedReplies() 601 when(mNotification.getContextualActions()).thenReturn(smartActions); in setupAppGeneratedSuggestions()
|
D | SmartReplyViewTest.java | 105 private Notification mNotification; field in SmartReplyViewTest 143 mNotification = new Notification.Builder(mContext, "") in setUp() 149 .setNotification(mNotification) in setUp()
|
/frameworks/base/apex/media/framework/java/android/media/ |
D | MediaSession2Service.java | 301 private final Notification mNotification; field in MediaSession2Service.MediaNotification 316 mNotification = notification; in MediaNotification() 335 return mNotification; in getNotification()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 169 private Notification mNotification; field in DataManagerTest 262 when(mGenericSbn.getNotification()).thenReturn(mNotification); in setUp() 267 when(mConvoSbn.getNotification()).thenReturn(mNotification); in setUp() 272 when(mNotification.getShortcutId()).thenReturn(TEST_SHORTCUT_ID); in setUp() 508 when(mNotification.getShortcutId()).thenReturn(shortcutId); in testUncacheShortcutsWhenNotificationsDismissed() 1123 when(mNotification.getShortcutId()).thenReturn(shortcutId); in testDoNotUncacheShortcutWithActiveNotifications() 1145 when(mNotification.getShortcutId()).thenReturn(shortcutId); in testUncacheOldestCachedShortcut() 1246 when(mNotification.getShortcutId()).thenReturn(TEST_SHORTCUT_ID); in testPruneOldRecentConversations() 1503 when(mNotification.getShortcutId()).thenReturn("1"); 1510 when(mNotification.getShortcutId()).thenReturn("2"); [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 1176 private final Notification mNotification; field in PackageInstallerService.PackageDeleteObserverAdapter 1184 mNotification = buildSuccessNotification(mContext, in PackageDeleteObserverAdapter() 1189 mNotification = null; in PackageDeleteObserverAdapter() 1211 if (PackageManager.DELETE_SUCCEEDED == returnCode && mNotification != null) { in onPackageDeleted() 1216 mNotification); in onPackageDeleted()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 1444 private final IServiceNotification mNotification = new Notification(); field in BatteryService.HealthServiceWrapper 1534 IHealth.kInterfaceName, mInstanceName, mNotification); in init()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 560 private Notification mNotification; field in ServiceStateTracker 4658 mNotification = new Notification.Builder(context) in setNotification() 4694 notificationManager.notify(Integer.toString(mSubId), notificationId, mNotification); in setNotification() local 5619 pw.println(" mNotification=" + mNotification); in dump()
|