Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DActivityManagerInternal.java71 public enum ServiceNotificationPolicy { enum in ActivityManagerInternal
778 public abstract ServiceNotificationPolicy applyForegroundServiceNotification( in applyForegroundServiceNotification()
DNotification.java162 public @interface ServiceNotificationPolicy {} annotation in Notification
173 public static final @ServiceNotificationPolicy int FOREGROUND_SERVICE_DEFAULT = 0;
184 public static final @ServiceNotificationPolicy int FOREGROUND_SERVICE_IMMEDIATE = 1;
195 public static final @ServiceNotificationPolicy int FOREGROUND_SERVICE_DEFERRED = 2;
197 @ServiceNotificationPolicy
5465 public Builder setForegroundServiceBehavior(@ServiceNotificationPolicy int behavior) { in setForegroundServiceBehavior()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java142 import android.app.ActivityManagerInternal.ServiceNotificationPolicy;
3023 ServiceNotificationPolicy applyForegroundServiceNotificationLocked(Notification notification, in applyForegroundServiceNotificationLocked()
3027 return ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE; in applyForegroundServiceNotificationLocked()
3039 return ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE; in applyForegroundServiceNotificationLocked()
3068 return ServiceNotificationPolicy.SHOW_IMMEDIATELY; in applyForegroundServiceNotificationLocked()
3079 return ServiceNotificationPolicy.UPDATE_ONLY; in applyForegroundServiceNotificationLocked()
3083 return ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE; in applyForegroundServiceNotificationLocked()
DActivityManagerService.java17626 public ServiceNotificationPolicy applyForegroundServiceNotification( in applyForegroundServiceNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java23 import static android.app.ActivityManagerInternal.ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE;
197 import android.app.ActivityManagerInternal.ServiceNotificationPolicy;
8421 final ServiceNotificationPolicy policy = mAmi.applyForegroundServiceNotification(
8442 if (policy == ServiceNotificationPolicy.UPDATE_ONLY) {
8654 ServiceNotificationPolicy fgsPolicy, boolean stripUijFlag)
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java23 import static android.app.ActivityManagerInternal.ServiceNotificationPolicy.NOT_FOREGROUND_SERVICE;
24 import static android.app.ActivityManagerInternal.ServiceNotificationPolicy.SHOW_IMMEDIATELY;
/frameworks/base/services/
Dart-wear-profile3670 …tring;ILjava/lang/String;I)Landroid/app/ActivityManagerInternal$ServiceNotificationPolicy;+]Landro…
3861 …va/lang/String;ILjava/lang/String;I)Landroid/app/ActivityManagerInternal$ServiceNotificationPolicy;
12734 …lang/String;Ljava/lang/String;IIILandroid/app/ActivityManagerInternal$ServiceNotificationPolicy;Z)V
Dart-profile2223 …tring;Ljava/lang/String;IIILandroid/app/ActivityManagerInternal$ServiceNotificationPolicy;Z)V+]Lan…