Home
last modified time | relevance | path

Searched refs:mNotification (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNotificationManagerTest.java56 @Mock private Notification mNotification; field in WifiNotificationManagerTest
77 mWifiNotificationManager.notify(TEST_MESSAGE_ID, mNotification); in testNotify()
82 mWifiNotificationManager.notify(TEST_MESSAGE_ID, mNotification); in testNotify()
101 mWifiNotificationManager.notify(TEST_MESSAGE_ID, mNotification); in testUserSwitchNotificationSendCorrect()
115 mWifiNotificationManager.notify(TEST_MESSAGE_ID, mNotification); in testUserSwitchNotificationSendCorrect()
125 mWifiNotificationManager.notify(TEST_MESSAGE_ID, mNotification); in testApmNotificationNotCancelled()
126 mWifiNotificationManager.notify(SystemMessage.NOTE_WIFI_APM_NOTIFICATION, mNotification); in testApmNotificationNotCancelled()
132 TEST_MESSAGE_ID, NOTIFICATION_TAG, 0, 0, 0, mNotification, mUser, 0); in testApmNotificationNotCancelled()
134 SystemMessage.NOTE_WIFI_APM_NOTIFICATION, NOTIFICATION_TAG, 0, 0, 0, mNotification, in testApmNotificationNotCancelled()
DEapFailureNotifierTest.java72 @Mock Notification mNotification; field in EapFailureNotifierTest
147 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureEapFailureConfigWithOverride()
188 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithDefinedErrorCodeWithoutNotificationShown()
215 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailure_showNotificationFalse_notShown()
238 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithDefinedErrorCodeWithNotificationShownWithoutSameSsid()
268 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithDefinedErrorCodeWithNotificationShownWithSameSsid()
293 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithDefinedErrorCodeWithoutMessage()
318 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithUnknownErrorCode()
345 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithCarrierOverrideForDisableParameters()
375 mNotification, android.os.Process.myUserHandle(), 0); in onEapFailureWithNegativeErrorCode()
[all …]
DConnectionFailureNotifierTest.java68 @Mock private Notification mNotification; field in ConnectionFailureNotifierTest
84 .buildNoMacRandomizationSupportNotification(any())).thenReturn(mNotification); in setUp()
135 eq(SystemMessage.NOTE_NETWORK_NO_MAC_RANDOMIZATION_SUPPORT), eq(mNotification)); in testConnectionFailureSendRandomizationSettingsNotification()
DWifiSettingsStoreTest.java78 @Mock private Notification mNotification; field in WifiSettingsStoreTest
117 when(mNotificationBuilder.build()).thenReturn(mNotification); in setUp()
DWifiCarrierInfoManagerTest.java170 @Mock Notification mNotification; field in WifiCarrierInfoManagerTest
222 when(mNotificationBuilder.build()).thenReturn(mNotification); in setUp()
2159 eq(mNotification)); in testImsiProtectionExemptionNotificationNotSentWhenCarrierNameIsInvalid()
2172 eq(mNotification)); in testImsiProtectionExemptionNotificationNotSentWhenOobPseudonymEnabled()
2223 eq(mNotification)); in validateImsiProtectionNotification()
DWifiNetworkSuggestionsManagerTest.java188 private @Mock Notification mNotification; field in WifiNetworkSuggestionsManagerTest
246 when(mNotificationBuilder.build()).thenReturn(mNotification); in setUp()
3332 eq(mNotification)); in validateUserApprovalNotification()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.kt36 var mNotification: Notification variable in com.android.calendar.alerts.AlertService.NotificationWrapper
50 mNotification = n
60 mNotification = n
82 mNm.notify(id, nw?.mNotification) in notify()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java110 private ArgumentCaptor<Notification> mNotification; field in CellBroadcastAlertDialogTest
247 mNotification.capture()); in testAddToNotification()
248 Bundle b = mNotification.getValue().extras; in testAddToNotification()
250 assertEquals(Notification.VISIBILITY_PUBLIC, mNotification.getValue().visibility); in testAddToNotification()
283 mNotification.capture()); in testAddToNotificationWithDifferentConfiguration()
284 Bundle b = mNotification.getValue().extras; in testAddToNotificationWithDifferentConfiguration()
286 assertEquals(Notification.VISIBILITY_PUBLIC, mNotification.getValue().visibility); in testAddToNotificationWithDifferentConfiguration()
299 mNotification.capture()); in testDoNotAddToNotificationOnStop()
/packages/modules/Media/apex/framework/java/android/media/
DMediaSession2Service.java301 private final Notification mNotification; field in MediaSession2Service.MediaNotification
316 mNotification = notification; in MediaNotification()
335 return mNotification; in getNotification()