Home
last modified time | relevance | path

Searched refs:ServiceNotificationPolicy (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/core/java/android/app/
H A DActivityManagerInternal.java68 public enum ServiceNotificationPolicy { enum in ActivityManagerInternal
753 public abstract ServiceNotificationPolicy applyForegroundServiceNotification( in applyForegroundServiceNotification()
H A DNotification.java148 public @interface ServiceNotificationPolicy {}; annotation in Notification
159 public static final @ServiceNotificationPolicy int FOREGROUND_SERVICE_DEFAULT = 0;
170 public static final @ServiceNotificationPolicy int FOREGROUND_SERVICE_IMMEDIATE = 1;
181 public static final @ServiceNotificationPolicy int FOREGROUND_SERVICE_DEFERRED = 2;
183 @ServiceNotificationPolicy
4790 public Builder setForegroundServiceBehavior(@ServiceNotificationPolicy int behavior) { in setForegroundServiceBehavior()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DActiveServices.java139 import android.app.ActivityManagerInternal.ServiceNotificationPolicy;
2772 ServiceNotificationPolicy applyForegroundServiceNotificationLocked(Notification notification, in applyForegroundServiceNotificationLocked()
2776 return ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE; in applyForegroundServiceNotificationLocked()
2788 return ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE; in applyForegroundServiceNotificationLocked()
2817 return ServiceNotificationPolicy.SHOW_IMMEDIATELY; in applyForegroundServiceNotificationLocked()
2828 return ServiceNotificationPolicy.UPDATE_ONLY; in applyForegroundServiceNotificationLocked()
2832 return ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE; in applyForegroundServiceNotificationLocked()
H A DActivityManagerService.java18619 public ServiceNotificationPolicy applyForegroundServiceNotification( in applyForegroundServiceNotification()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java20 import static android.app.ActivityManagerInternal.ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE;
149 import android.app.ActivityManagerInternal.ServiceNotificationPolicy;
6746 final ServiceNotificationPolicy policy = mAmi.applyForegroundServiceNotification(
6767 if (policy == ServiceNotificationPolicy.UPDATE_ONLY) {
6941 ServiceNotificationPolicy fgsPolicy, boolean stripUijFlag)
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationManagerServiceTest.java21 import static android.app.ActivityManagerInternal.ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE;
22 import static android.app.ActivityManagerInternal.ServiceNotificationPolicy.SHOW_IMMEDIATELY;
/aosp14/frameworks/base/services/
H A Dart-profile754 …tring;ILjava/lang/String;I)Landroid/app/ActivityManagerInternal$ServiceNotificationPolicy;+]Landro…
889 …va/lang/String;ILjava/lang/String;I)Landroid/app/ActivityManagerInternal$ServiceNotificationPolicy;
5184 …tring;Ljava/lang/String;IIILandroid/app/ActivityManagerInternal$ServiceNotificationPolicy;)V+]Land…