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.java126 private NotificationMgr mNotificationMgr; field in NotificationMgrTest
179 mNotificationMgr = spy(new NotificationMgr(mApp)); in setUp()
189 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/true, /*isFresh=*/false); in testUpdateCfi_visible_noActiveSubscription_notificationNeverSent()
201 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/true, /*isFresh=*/false); in testUpdateCfi_visible_hasActiveSub_singleSIM_notificationSent()
213 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/true, /*isFresh=*/false); in testUpdateCfi_visible_hasActiveSub_multiSIM_notificationSentWithoutDisplayName()
225 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/true, /*isFresh=*/false); in testUpdateCfi_visible_hasActiveSub_multiSIM_notificationSentWithDisplayName()
234 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/false, /*isFresh=*/false); in testUpdateCfi_invisible_hasUnmanagedProfile_notificationCanceled()
243 mNotificationMgr.updateCfi(TEST_SUB_ID, /*visible=*/false, /*isFresh=*/false); in testUpdateCfi_invisible_allProfilesAreManaged_notificationNeverCanceled()
250 mNotificationMgr.showDataRoamingNotification(TEST_SUB_ID, /*roamingOn=*/true); in testShowDataRoamingNotification_roamingOn()
258 mNotificationMgr.showDataRoamingNotification(TEST_SUB_ID, /*roamingOn=*/false); in testShowDataRoamingNotification_roamingOff()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java134 public NotificationManager mNotificationMgr; field in BluetoothOppNotification
192 mNotificationMgr = mContext.getSystemService(NotificationManager.class); in BluetoothOppNotification()
199 mNotificationMgr.createNotificationChannel(mNotificationChannel); in BluetoothOppNotification()
447 mNotificationMgr.notify(NOTIFICATION_ID_PROGRESS, b.build()); in updateActiveNotification()
532 mNotificationMgr.notify(NOTIFICATION_ID_OUTBOUND_COMPLETE, b.build()); in updateCompletedNotification()
534 if (mNotificationMgr != null) { in updateCompletedNotification()
535 mNotificationMgr.cancel(NOTIFICATION_ID_OUTBOUND_COMPLETE); in updateCompletedNotification()
608 mNotificationMgr.notify(NOTIFICATION_ID_INBOUND_COMPLETE, b.build()); in updateCompletedNotification()
610 if (mNotificationMgr != null) { in updateCompletedNotification()
611 mNotificationMgr.cancel(NOTIFICATION_ID_INBOUND_COMPLETE); in updateCompletedNotification()
[all …]
DBluetoothOppService.java995 mNotifier.mNotificationMgr.cancel(info.mId); in updateShare()
1009 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.java381 mOppNotification.mNotificationMgr = spy(mOppNotification.mNotificationMgr); in updateIncomingFileConfirmationNotification()