Home
last modified time | relevance | path

Searched defs:notification (Results 1 – 25 of 146) sorted by relevance

123456

/packages/apps/Car/systemlibs/car-assist-client-lib/src/com/android/car/assist/client/
DCarAssistUtils.java173 Notification notification = sbn.getNotification(); in isCarCompatibleMessagingNotification() local
193 private static boolean hasMessagingStyle(Notification notification) { in hasMessagingStyle()
203 private static boolean hasRequiredAssistantCallbacks(Notification notification) { in hasRequiredAssistantCallbacks()
215 public static List<Action> getAllActions(Notification notification) { in getAllActions()
231 public static NotificationCompat.Action getMarkAsReadAction(Notification notification) { in getMarkAsReadAction()
246 public static NotificationCompat.Action getMuteAction(Notification notification) { in getMuteAction()
260 private static NotificationCompat.Action getReplyAction(Notification notification) { in getReplyAction()
275 private static boolean replyCallbackHasRemoteInput(Notification notification) { in replyCallbackHasRemoteInput()
285 private static boolean assistantCallbacksShowNoUi(final Notification notification) { in assistantCallbacksShowNoUi()
DBundleBuilder.java42 static Bundle buildAssistantReadBundle(StatusBarNotification notification) { in buildAssistantReadBundle()
56 static Bundle buildAssistantReplyBundle(StatusBarNotification notification) { in buildAssistantReplyBundle()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DExportImportNotificationFactory.java136 Slog.i(TAG, "Creating 'import complete' notification"); in createNotification()
140 Slog.i(TAG, "Creating 'generic error' notification"); in createNotification()
144 Slog.i(TAG, "Creating 'invalid file error' notification"); in createNotification()
148 Slog.i(TAG, "Creating 'more space needed error' notification"); in createNotification()
152 Slog.i(TAG, "Creating 'version mismatch error' notification"); in createNotification()
156 Slog.i(TAG, "Creating 'generic error' export notification"); in createNotification()
160 Slog.i(TAG, "Creating 'more space needed error' export notification"); in createNotification()
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/
DConsentNotificationTriggerTest.java188 final Notification notification = in testEuNotification_gaUxFlagEnabled() local
246 final Notification notification = in testNonEuNotifications_gaUxEnabled() local
290 final Notification notification = in testEuNotifications_gaUxEnabled_nonDismissable() local
363 final Notification notification = in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() local
452 Notification notification = in testNotificationV2ActivityIntent() local
511 Notification notification = in testNotificationV2BroadcastIntent() local
611 Notification notification = in testPasNotifications_PasUxEnabled_FirstNotice() local
666 Notification notification = in testPasNotifications_PasUxEnabled_RenotifyNotice() local
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/
DCtsNotificationListenerServiceUtils.kt58 val notification = getNotification(packageName, notificationId) in <lambda>() constant
73 notifications.forEach { notification -> in <lambda>() method
92 for (notification in notificationService.activeNotifications) { in <lambda>() constant
117 for (notification in notifications) { in <lambda>() constant
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/
DNotificationHelperTest.java55 final StatusBarNotification notification = in showResumeNotification_showsExpectedNotification() local
69 final StatusBarNotification notification = in showPrivacyReminderNotification_showsExpectedNotification() local
/packages/apps/PrivateSpace/src/com/android/privatespace/filetransfer/
DNotificationsHelper.kt56 val notification = buildCompletionNotification(numberOfFiles, keepOriginal) in displayCompletionNotification() constant
61 val notification = buildProgressNotification(progress, numberOfFiles, keepOriginal) in updateProgressNotification() constant
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DNotificationOtpDetectionHelper.java290 public static boolean containsOtp(Notification notification, in containsOtp()
452 protected static String getTextForDetection(Notification notification) { in getTextForDetection()
464 protected static List<CharSequence> getNotificationTextFields(Notification notification) { in getNotificationTextFields()
497 public static boolean shouldCheckForOtp(Notification notification) { in shouldCheckForOtp()
508 private static boolean isStyle(Notification notification, String styleClassName) { in isStyle()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationTrigger.java116 Notification notification = in showConsentNotificationV2() local
180 Notification notification = notificationBuilder.build(); in getConsentNotificationV2() local
276 Notification notification = in showConsentNotification() local
331 Notification notification; in getNotification() local
451 NotificationCompat.Builder notification = in getGaV2ConsentNotification() local
568 NotificationCompat.Builder notification = in getPasConsentNotification() local
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsStorageStatusManager.java80 final Notification notification = bigTextStyle.build(); in postStorageLowNotification() local
86 PendingIntentConstants.SMS_STORAGE_LOW_NOTIFICATION_ID, notification); in postStorageLowNotification() local
/packages/apps/Traceur/src/com/android/traceur/
DTraceService.java188 Notification.Builder notification = getTraceurNotification( in startTracingInternal() local
232 Notification.Builder notification = getTraceurNotification( in startStackSamplingInternal() local
282 Notification.Builder notification = getTraceurNotification( in startHeapDumpInternal() local
332 Notification.Builder notification = getTraceurNotification(context.getString( in stopTracingInternal() local
398 Notification.Builder notification = new Notification.Builder(context, channel) in getTraceurNotification() local
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java274 final Notification notification = in doProgressNotification() local
285 final Notification notification = in doCancelNotification() local
295 final Notification notification = in doFinishNotification() local
316 final Notification notification = in doFinishNotificationWithShareAction() local
DNotificationImportExportListener.java137 final Notification notification = in onImportFinished() local
156 final Notification notification = in onImportCanceled() local
184 final Notification notification = constructCancelNotification(mContext, description); in onCancelRequest() local
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationFactory.java77 Notification notification; in createNotification() local
108 Notification notification = in getModuleUpdateNeededNotification() local
124 Notification notification = in getMigrationPausedNotification() local
/packages/apps/Dialer/java/com/android/dialer/notification/
DNotificationThrottler.java60 @NonNull Context context, @NonNull Notification notification) { in throttle()
128 private static boolean isNotificationInGroup( in isNotificationInGroup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DHighContrastTextMigrationReceiverTest.java216 Notification notification = mShadowNotificationManager.getNotification(NOTIFICATION_ID); in onReceive_openSettingsIntent_openHighContrastTextPreference() local
221 Notification notification = mShadowNotificationManager.getNotification(NOTIFICATION_ID); in verifyNotificationNotSent() local
231 Notification notification = mShadowNotificationManager.getNotification(NOTIFICATION_ID); in verifyNotificationSent() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamMediaServiceTest.java320 var notification = notificationCapture.getValue(); in byReceiveStateFlagOn_onStartCommand_createSessionAndStartForeground() local
348 var notification = notificationCapture.getValue(); in byReceiveStateFlagOn_onStartCommand_addDevice() local
375 var notification = notificationCapture.getValue(); in byReceiveStateFlagOn_onStartCommand_updateState() local
399 var notification = notificationCapture.getValue(); in byReceiveStateFlagOn_onStartCommand_newBroadcastId() local
427 var notification = notificationCapture.getValue(); in onStartCommand_createSessionAndStartForeground() local
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationUtilsTest.java229 Notification notification = new Notification(); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType() local
243 Notification notification = new Notification(); in onGetNotificationViewType_notificationHasBigTextAndSummaryText_returnsInbox() local
254 Notification notification = new Notification(); in onGetNotificationViewType_unrecognizedTypeWithoutBigTextOrSummary_returnsBasic() local
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationManager.java39 void notify(String tag, int id, Notification notification) { in notify()
81 Notification notification = mNotifications.get(id).get(jobId); in hasNotification() local
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/
DVoicePlateActivity.java114 Notification notification = in onStart() local
120 Notification notification = in onStart() local
383 Notification notification = ConversationPayloadHandler.createNotificationFromConversation( in onReplyConversation() local
391 Notification notification = ConversationPayloadHandler.createNotificationFromConversation( in onReadConversation() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDisconnectedCallNotifierTest.java92 Notification notification = captor.getValue(); in testNotificationShownAfterEmergencyCall() local
115 Notification notification = captor.getValue(); in testNotificationShownForDisconnectedEmergencyCall() local
/packages/modules/Media/apex/framework/java/android/media/
DMediaSession2Service.java221 MediaNotification notification; in removeSession() local
279 Notification notification = mediaNotification.getNotification(); in onPlaybackActiveChanged() local
311 public MediaNotification(int notificationId, @NonNull Notification notification) { in MediaNotification()
/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java181 AlertEntry notification = optimizeForDriving(alertEntry); in updateNotifications() local
183 mOldNotifications.put(notification.getKey(), notification); in updateNotifications() local
280 Notification notification = alertEntry.getNotification(); in isMediaOrNavigationNotification() local
372 Notification notification = alertEntry.getNotification(); in group() local
567 Notification notification = newNotification.getNotification(); in additionalGroupAndRank() local
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetySourceIssueTest.kt291 val notification = Notification.Builder("Notification title", "Notification text").build() in notification_getTitle_returnsTitle() constant
299 val notification = Notification.Builder("Notification title", "Notification text").build() in notification_getText_returnsText() constant
307 val notification = Notification.Builder("", "").build() in notification_getActions_withDefaultBuilder_returnsEmptyList() constant
315 val notification = in notification_getActions_returnsActions() constant
324 val notification = in notification_getActions_mutationsAreNotAllowed() constant
333 val notification = in notification_describeContents_returns0() constant
345 val notification = in notification_parcelRoundTrip_recreatesEqual() constant
421 val notification = in notification_builder_clearActions_removesAllActions() constant
/packages/services/Car/service-builtin/src/com/android/car/admin/
DNotificationHelper.java122 Notification notification = NotificationHelper in showUserDisclaimerNotification() local
200 Notification notification = NotificationHelper in showFactoryResetNotification() local
253 Notification notification = NotificationHelper in showResourceOveruseNotificationsAsUser() local

123456