Home
last modified time | relevance | path

Searched refs:ForegroundServiceType (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/app/
DService.java35 import android.content.pm.ServiceInfo.ForegroundServiceType;
860 @RequiresPermission @ForegroundServiceType int foregroundServiceType) { in startForeground()
937 public final @ForegroundServiceType int getForegroundServiceType() { in getForegroundServiceType()
1060 @ForegroundServiceType int foregroundServiceType) {
1176 public final void callOnTimeLimitExceeded(int startId, @ForegroundServiceType int fgsType) {
1224 public void onTimeout(int startId, @ForegroundServiceType int fgsType) {
DForegroundServiceTypePolicy.java61 import android.content.pm.ServiceInfo.ForegroundServiceType;
711 @ForegroundServiceType int type, @ForegroundServiceType int defaultToType); in getForegroundServiceTypePolicyInfo()
770 final @ForegroundServiceType int mType;
846 public ForegroundServiceTypePolicyInfo(@ForegroundServiceType int type, in ForegroundServiceTypePolicyInfo()
867 @ForegroundServiceType
1370 @ForegroundServiceType int type, @ForegroundServiceType int defaultToType) { in getForegroundServiceTypePolicyInfo()
DActivityThread.java1270 @ServiceInfo.ForegroundServiceType int fgsType) { in scheduleTimeoutServiceForType()
5232 @ServiceInfo.ForegroundServiceType int fgsType) { in handleTimeoutServiceForType()
/frameworks/base/core/java/android/content/pm/
DServiceInfo.java624 public @interface ForegroundServiceType {} annotation in ServiceInfo
632 public @ForegroundServiceType int mForegroundServiceType = FOREGROUND_SERVICE_TYPE_NONE;
648 public @ForegroundServiceType int getForegroundServiceType() { in getForegroundServiceType()
675 public static String foregroundServiceTypeToLabel(@ForegroundServiceType int type) { in foregroundServiceTypeToLabel()
/frameworks/base/services/core/java/com/android/server/am/
DAppFGSTracker.java37 import android.content.pm.ServiceInfo.ForegroundServiceType;
511 static int foregroundServiceTypeToIndex(@ForegroundServiceType int serviceType) { in foregroundServiceTypeToIndex()
516 static @ForegroundServiceType int indexToForegroundServiceType(int index) { in indexToForegroundServiceType()
727 @ForegroundServiceType int serviceType) { in notifyListenersOnStateChangeIfNecessary()
DProcessServiceRecord.java215 boolean areForegroundServiceTypesSame(@ServiceInfo.ForegroundServiceType int types, in areForegroundServiceTypesSame()
225 boolean containsAnyForegroundServiceTypes(@ServiceInfo.ForegroundServiceType int types) { in containsAnyForegroundServiceTypes()
DAppRestrictionController.java129 import android.content.pm.ServiceInfo.ForegroundServiceType;
1870 @ForegroundServiceType int serviceType) { in getForegroundServiceTotalDurations()
1880 @ForegroundServiceType int serviceType) { in getForegroundServiceTotalDurations()
1891 @ForegroundServiceType int serviceType) { in getForegroundServiceTotalDurationsSince()
1901 @ForegroundServiceType int serviceType) { in getForegroundServiceTotalDurationsSince()
DActiveServices.java185 import android.content.pm.ServiceInfo.ForegroundServiceType;
2847 @ForegroundServiceType int type, in validateForegroundServiceType()
2848 @ForegroundServiceType int defaultToType, in validateForegroundServiceType()
2849 @ForegroundServiceType int startType) { in validateForegroundServiceType()
3734 @ServiceInfo.ForegroundServiceType int getTimeLimitedFgsType(int foregroundServiceType) { in getTimeLimitedFgsType()
/frameworks/proto_logging/stats/
Datoms.proto5781 enum ForegroundServiceType { enum
5801 // in the ForegroundServiceType above.