Home
last modified time | relevance | path

Searched refs:mNotificationMgr (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telephony/tests/src/com/android/phone/
DNotificationMgrTest.java134 private NotificationMgr mNotificationMgr; field in NotificationMgrTest
192 mNotificationMgr = spy(new NotificationMgr(mApp)); in setUp()
202 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/true, /*isFresh=*/false); in testUpdateCfi_visible_noActiveSubscription_notificationNeverSent()
214 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/true, /*isFresh=*/false); in testUpdateCfi_visible_hasActiveSub_singleSIM_notificationSent()
226 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/true, /*isFresh=*/false); in testUpdateCfi_visible_hasActiveSub_multiSIM_notificationSentWithoutDisplayName()
238 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/true, /*isFresh=*/false); in testUpdateCfi_visible_hasActiveSub_multiSIM_notificationSentWithDisplayName()
247 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/false, /*isFresh=*/false); in testUpdateCfi_invisible_hasUnmanagedProfile_notificationCanceled()
256 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/false, /*isFresh=*/false); in testUpdateCfi_invisible_allProfilesAreManaged_notificationNeverCanceled()
263 mNotificationMgr.showDataRoamingNotification(TEST_SUB_ID, /*roamingOn=*/true); in testShowDataRoamingNotification_roamingOn()
271 mNotificationMgr.showDataRoamingNotification(TEST_SUB_ID, /*roamingOn=*/false); in testShowDataRoamingNotification_roamingOff()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java135 public NotificationManager mNotificationMgr; field in BluetoothOppNotification
194 mNotificationMgr = mContext.getSystemService(NotificationManager.class); in BluetoothOppNotification()
201 mNotificationMgr.createNotificationChannel(mNotificationChannel); in BluetoothOppNotification()
451 mNotificationMgr.notify(NOTIFICATION_ID_PROGRESS, b.build()); in updateActiveNotification()
549 mNotificationMgr.notify(NOTIFICATION_ID_OUTBOUND_COMPLETE, b.build()); in updateCompletedNotification()
551 if (mNotificationMgr != null) { in updateCompletedNotification()
552 mNotificationMgr.cancel(NOTIFICATION_ID_OUTBOUND_COMPLETE); in updateCompletedNotification()
638 mNotificationMgr.notify(NOTIFICATION_ID_INBOUND_COMPLETE, b.build()); in updateCompletedNotification()
640 if (mNotificationMgr != null) { in updateCompletedNotification()
641 mNotificationMgr.cancel(NOTIFICATION_ID_INBOUND_COMPLETE); in updateCompletedNotification()
[all …]
DBluetoothOppService.java1016 mNotifier.mNotificationMgr.cancel(info.mId); in updateShare()
1030 mNotifier.mNotificationMgr.cancel(info.mId); in updateShare()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DNotificationHelperValidImportanceTest.java70 private NotificationManager mNotificationMgr; field in NotificationHelperValidImportanceTest
86 .thenReturn(mNotificationMgr); in setContext()
106 verify(mNotificationMgr).createNotificationChannel(captor.capture()); in testNewNotificationBuilder()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppNotificationTest.java378 mOppNotification.mNotificationMgr = spy(mOppNotification.mNotificationMgr); in updateIncomingFileConfirmationNotification()