Home
last modified time | relevance | path

Searched refs:mNotificationBuilder (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java79 private NotificationCompat.Builder mNotificationBuilder; field in IngestService
88 mNotificationBuilder = new NotificationCompat.Builder(this); in onCreate()
90 mNotificationBuilder.setSmallIcon(android.R.drawable.stat_notify_sync) in onCreate()
133 mNotificationBuilder.setContentTitle(mDevicePrettyName); in setDevice()
157 mNotificationBuilder.setProgress(0, 0, false) in setClientActivity()
160 mNotificationBuilder.build()); in setClientActivity()
197 mNotificationBuilder.setProgress(0, 0, true) in importSelectedItems()
200 mNotificationBuilder.build()); in importSelectedItems()
232 mNotificationBuilder.setProgress(totalCount, visitedCount, false) in onImportProgress()
235 mNotificationBuilder.build()); in onImportProgress()
[all …]
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingService.java77 private Notification.Builder mNotificationBuilder; field in ProcessingService
116 mNotificationBuilder = createInProgressNotificationBuilder(); in onCreate()
140 startForeground(CAMERA_NOTIFICATION_ID, mNotificationBuilder.build()); in onStartCommand()
243 mNotificationBuilder.setContentText("…").setProgress(100, 0, false); in resetNotification()
255 mNotificationManager.notify(CAMERA_NOTIFICATION_ID, mNotificationBuilder.build()); in postNotification()
271 mNotificationBuilder.setProgress(100, progress, false); in onProgressChanged()
277 mNotificationBuilder.setContentText(messageId > 0 ? getString(messageId) : ""); in onStatusMessageChanged()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DInCallNotificationController.java82 private final Notification.Builder mNotificationBuilder; field in InCallNotificationController
97 mNotificationBuilder = new Notification.Builder(mContext, CHANNEL_ID) in InCallNotificationController()
121 mNotificationBuilder in showInCallNotification()
133 mNotificationBuilder.build()); in showInCallNotification()
139 mNotificationBuilder in showInCallNotification()
146 mNotificationBuilder.build()); in showInCallNotification()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DSmartActionsHelperTest.java98 private Notification.Builder mNotificationBuilder; field in SmartActionsHelperTest
111 mNotificationBuilder = new Notification.Builder(mContext, "channel"); in setup()
126 Notification notification = mNotificationBuilder.setContentText(MESSAGE).build(); in testSuggest_notMessageNotification()
138 mNotificationBuilder in testSuggest_noInlineReply()
233 mNotificationBuilder in testSuggest_messageStyle()
288 mNotificationBuilder in testSuggest_lastMessageLocalUser()
307 mNotificationBuilder in testSuggest_messageStyle_noPerson()
487 return mNotificationBuilder in createMessageNotification()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DNotificationGroupTest.java61 private Notification.Builder mNotificationBuilder; field in NotificationGroupTest
71 mNotificationBuilder = new Notification.Builder(mContext, in setup()
76 ID, TAG, UID, INITIAL_PID, mNotificationBuilder.build(), USER_HANDLE, in setup()
79 ID, TAG, UID, INITIAL_PID, mNotificationBuilder.build(), USER_HANDLE, in setup()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedConnection.java64 private Notification.Builder mNotificationBuilder; field in SelfManagedConnection
143 mNotificationBuilder = builder; in onShowIncomingCallUi()
186 mNotificationBuilder.setOnlyAlertOnce(true); in onSilence()
189 notificationManager.notify(CALL_NOTIFICATION, mCallId, mNotificationBuilder.build()); in onSilence()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerModel.kt77 private val mNotificationBuilder = TimerNotificationBuilder() constant in com.android.deskclock.data.TimerModel
711 mNotificationBuilder.build(mContext, mNotificationModel, unexpired) in updateNotification()
713 mNotificationBuilder.buildChannel(mContext, mNotificationManager) in updateNotification()
735 val notification: Notification = mNotificationBuilder.buildMissed(mContext, in updateMissedNotification()
761 val notification: Notification = mNotificationBuilder.buildHeadsUp(mContext, expired) in updateHeadsUpNotification()
DStopwatchModel.kt50 private val mNotificationBuilder = StopwatchNotificationBuilder() constant in com.android.deskclock.data.StopwatchModel
222 mNotificationBuilder.build(mContext, mNotificationModel, stopwatch) in updateNotification()
223 mNotificationBuilder.buildChannel(mContext, mNotificationManager) in updateNotification()
DTimerModel.java100 private final TimerNotificationBuilder mNotificationBuilder = new TimerNotificationBuilder(); field in TimerModel
754 mNotificationBuilder.build(mContext, mNotificationModel, unexpired); in updateNotification()
777 final Notification notification = mNotificationBuilder.buildMissed(mContext, in updateMissedNotification()
803 final Notification notification = mNotificationBuilder.buildHeadsUp(mContext, expired); in updateHeadsUpNotification()
DStopwatchModel.java58 private final StopwatchNotificationBuilder mNotificationBuilder = field in StopwatchModel
237 mNotificationBuilder.build(mContext, mNotificationModel, stopwatch); in updateNotification()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java466 state.mNotificationBuilder = notifBuilder; in processAndSend()
697 notificationState.mNotificationBuilder in sendNotification()
706 notificationState.mNotificationBuilder.setLargeIcon(avatarIcon); in sendNotification()
712 notificationState.mNotificationBuilder.addPerson(contactUri.toString()); in sendNotification()
784 final NotificationCompat.Builder notifBuilder = notificationState.mNotificationBuilder; in fireOffNotification()
817 notificationState.mNotificationBuilder.setLargeIcon(smallBitmap); in fireOffNotification()
DNotificationState.java64 public NotificationCompat.Builder mNotificationBuilder; field in NotificationState