/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A 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()
|
H A D | SmartReplyControllerTest.java | 69 private Notification mNotification; field in SmartReplyControllerTest 111 mNotification = new Notification.Builder(mContext, "") in setUp() 117 0, mNotification, new UserHandle(ActivityManager.getCurrentUser()), null, 0); in setUp()
|
/aosp12/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/ |
H A 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()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiNotificationManagerTest.java | 54 @Mock private Notification mNotification; field in WifiNotificationManagerTest 74 mWifiNotificationManager.notify(TEST_MESSAGE_ID, mNotification); in testNotify() 79 mWifiNotificationManager.notify(TEST_MESSAGE_ID, mNotification); in testNotify() 98 mWifiNotificationManager.notify(TEST_MESSAGE_ID, mNotification); in testUserSwitchNotificationSendCorrect() 112 mWifiNotificationManager.notify(TEST_MESSAGE_ID, mNotification); in testUserSwitchNotificationSendCorrect()
|
H A D | EapFailureNotifierTest.java | 56 @Mock Notification mNotification; field in EapFailureNotifierTest 120 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithDefinedErrorCodeWithoutNotificationShown() 145 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailure_showNotificationFalse_notShown() 166 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithDefinedErroCodeWithNotificationShownWithoutSameSsid() 194 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithDefinedErroCodeWithNotificationShownWithSameSsid() 214 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithUnDefinedErrorCode()
|
H A D | ConnectionFailureNotifierTest.java | 58 @Mock private Notification mNotification; field in ConnectionFailureNotifierTest 74 .buildNoMacRandomizationSupportNotification(any())).thenReturn(mNotification); in setUp() 122 eq(SystemMessage.NOTE_NETWORK_NO_MAC_RANDOMIZATION_SUPPORT), eq(mNotification)); in testConnectionFailureSendRandomizationSettingsNotification()
|
H A D | WifiCarrierInfoManagerTest.java | 137 @Mock Notification mNotification; field in WifiCarrierInfoManagerTest 190 when(mNotificationBuilder.build()).thenReturn(mNotification); in setUp() 1912 eq(mNotification)); in testImsiProtectionExemptionNotificationNotSentWhenCarrierNameIsInvalid() 1962 eq(mNotification)); in validateImsiProtectionNotification()
|
H A D | WifiNetworkSuggestionsManagerTest.java | 164 private @Mock Notification mNotification; field in WifiNetworkSuggestionsManagerTest 227 when(mNotificationBuilder.build()).thenReturn(mNotification); in setUp() 3310 eq(mNotification)); in validateUserApprovalNotification()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A 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()
|
/aosp12/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertService.java | 113 Notification mNotification; field in AlertService.NotificationWrapper 121 mNotification = n; in NotificationWrapper() 131 mNotification = n; in NotificationWrapper() 157 mNm.notify(id, nw.mNotification); in notify()
|
/aosp12/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
H A D | CarrierDefaultReceiverTest.java | 52 private ArgumentCaptor<Notification> mNotification; field in CarrierDefaultReceiverTest 98 mNotification.capture()); in testOnReceiveRedirection() 101 PendingIntent pendingIntent = mNotification.getValue().contentIntent; in testOnReceiveRedirection()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A 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()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/ |
H A 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()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A 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()
|
H A D | SmartReplyViewTest.java | 105 private Notification mNotification; field in SmartReplyViewTest 143 mNotification = new Notification.Builder(mContext, "") in setUp() 149 .setNotification(mNotification) in setUp()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
H A D | MediaManager.java | 38 protected Notification mNotification; field in MediaManager 42 mNotification = notification; in MediaManager()
|
/aosp12/frameworks/base/apex/media/framework/java/android/media/ |
H A D | MediaSession2Service.java | 301 private final Notification mNotification; field in MediaSession2Service.MediaNotification 316 mNotification = notification; in MediaNotification() 335 return mNotification; in getNotification()
|
/aosp12/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
H A D | CellBroadcastAlertDialogTest.java | 79 private ArgumentCaptor<Notification> mNotification; field in CellBroadcastAlertDialogTest 171 mNotification.capture()); in testAddToNotification() 172 Bundle b = mNotification.getValue().extras; in testAddToNotification()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A 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 …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageInstallerService.java | 1218 private final Notification mNotification; field in PackageInstallerService.PackageDeleteObserverAdapter 1226 mNotification = buildSuccessNotification(mContext, in PackageDeleteObserverAdapter() 1231 mNotification = null; in PackageDeleteObserverAdapter() 1253 if (PackageManager.DELETE_SUCCEEDED == returnCode && mNotification != null) { in onPackageDeleted() 1258 mNotification); in onPackageDeleted()
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | BatteryService.java | 1444 private final IServiceNotification mNotification = new Notification(); field in BatteryService.HealthServiceWrapper 1534 IHealth.kInterfaceName, mInstanceName, mNotification); in init()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ServiceStateTracker.java | 556 private Notification mNotification; field in ServiceStateTracker 4684 mNotification = new Notification.Builder(context) in setNotification() 4720 notificationManager.notify(Integer.toString(mSubId), notificationId, mNotification); in setNotification() local 5645 pw.println(" mNotification=" + mNotification); in dump()
|
/aosp12/hardware/qcom/sm8150p/gps/gnss/ |
H A D | GnssAdapter.cpp | 4266 const GnssNfwNotification mNotification; in reportNfwNotificationEvent() member 4271 LocMsg(), mNotification(notification), mAdapter(adapter) { in reportNfwNotificationEvent() 4277 mAdapter.reportNfwNotification(mNotification); in reportNfwNotificationEvent()
|
/aosp12/hardware/qcom/sm7150/gps/gnss/ |
H A D | GnssAdapter.cpp | 4433 const GnssNfwNotification mNotification; in reportNfwNotificationEvent() member 4438 LocMsg(), mNotification(notification), mAdapter(adapter) { in reportNfwNotificationEvent() 4444 mAdapter.reportNfwNotification(mNotification); in reportNfwNotificationEvent()
|
/aosp12/hardware/qcom/sm7250/gps/gnss/ |
H A D | GnssAdapter.cpp | 5151 const GnssNfwNotification mNotification; in reportNfwNotificationEvent() member 5156 LocMsg(), mNotification(notification), mAdapter(adapter) { in reportNfwNotificationEvent() 5162 mAdapter.reportNfwNotification(mNotification); in reportNfwNotificationEvent()
|