Home
last modified time | relevance | path

Searched refs:NOTIFICATION_SERVICE (Results 1 – 25 of 156) sorted by relevance

1234567

/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java217 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in createSimSelectNotification()
224 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in cancelSimSelectNotification()
257 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in createEnableMmsNotification()
264 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in cancelEnableMmsNotification()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DNotificationHelper.java55 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); in showResumeNotification()
79 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); in showPrivacyReminderNotification()
/packages/services/BuiltInPrintService/src/com/android/bips/
DBuiltInPrintService.java296 Context.NOTIFICATION_SERVICE); in createNotificationChannel()
351 Context.NOTIFICATION_SERVICE); in notifyCertificateChange()
359 Context.NOTIFICATION_SERVICE); in onStartCommand()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DAlarmVolumePreference.kt23 import android.content.Context.NOTIFICATION_SERVICE
121 getContext().getSystemService(NOTIFICATION_SERVICE) as NotificationManager in doesDoNotDisturbAllowAlarmPlaybackNPlus()
DAlarmVolumePreference.java39 import static android.content.Context.NOTIFICATION_SERVICE;
136 getContext().getSystemService(NOTIFICATION_SERVICE); in doesDoNotDisturbAllowAlarmPlaybackNPlus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimSelectNotification.java98 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in createNotification()
105 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in cancelNotification()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/
DChannelNotificationSettingsTest.java69 mNm = (NotificationManager) mTargetContext.getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
94 ServiceManager.getService(Context.NOTIFICATION_SERVICE)); in launchNotificationSettings_blockedChannel()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSilentSettingsModel.kt27 import android.content.Context.NOTIFICATION_SERVICE
62 mContext.getSystemService(NOTIFICATION_SERVICE) as NotificationManager
DSilentSettingsModel.java44 import static android.content.Context.NOTIFICATION_SERVICE;
88 mNotificationManager = (NotificationManager) context.getSystemService(NOTIFICATION_SERVICE); in SilentSettingsModel()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DBaseTunerSetupActivity.java336 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in cancelNotification()
398 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in sendNotificationInternal()
454 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in sendRecommendationCard()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java359 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel( in onClick()
363 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel( in onClick()
381 ((NotificationManager) getSystemService(NOTIFICATION_SERVICE)).cancel( in onClick()
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DNotificationController.java224 ((NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE)); in showNotification()
250 .getSystemService(Context.NOTIFICATION_SERVICE); in cancelNotification()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionRequest.java162 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
195 .getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPermissionRequest.java162 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
195 .getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DPbapStateMachine.java360 (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE); in createPbapNotification()
407 (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE); in removePbapNotification()
/packages/apps/Car/Dialer/src/com/android/car/dialer/
DConstants.java43 public static final int NOTIFICATION_SERVICE = 2019; field in Constants.JobIds
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java601 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in addToNotificationBar()
700 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in createNotificationChannels()
815 Context.NOTIFICATION_SERVICE); in playPendingAlert()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt146 mAllUserContext.mockService(Context.NOTIFICATION_SERVICE, NotificationManager::class, mNm) in setUp()
147 mContext.mockService(Context.NOTIFICATION_SERVICE, NotificationManager::class, in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeBlockedEffectsPreferenceControllerTest.java56 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); in setup()
DZenModeCallsPreferenceControllerTest.java59 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); in setup()
DZenModeMessagesPreferenceControllerTest.java59 shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); in setup()
/packages/services/Telephony/src/com/android/phone/
DFakePhoneActivity.java70 (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onClick()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/
DTestDialerApplication.java43 Context.NOTIFICATION_SERVICE, mock(NotificationManager.class)); in onCreate()
/packages/services/Car/service/src/com/android/car/
DCanBusErrorNotifier.java48 Context.NOTIFICATION_SERVICE); in CanBusErrorNotifier()
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DDialogSmsDisplay.java68 (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE); in parseIntent()

1234567