Searched refs:ForegroundServiceType (Results 1 – 9 of 9) sorted by relevance
35 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) {
61 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 @ForegroundServiceType1370 @ForegroundServiceType int type, @ForegroundServiceType int defaultToType) { in getForegroundServiceTypePolicyInfo()
1270 @ServiceInfo.ForegroundServiceType int fgsType) { in scheduleTimeoutServiceForType()5232 @ServiceInfo.ForegroundServiceType int fgsType) { in handleTimeoutServiceForType()
624 public @interface ForegroundServiceType {} annotation in ServiceInfo632 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()
37 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()
215 boolean areForegroundServiceTypesSame(@ServiceInfo.ForegroundServiceType int types, in areForegroundServiceTypesSame()225 boolean containsAnyForegroundServiceTypes(@ServiceInfo.ForegroundServiceType int types) { in containsAnyForegroundServiceTypes()
129 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()
185 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()
5781 enum ForegroundServiceType { enum5801 // in the ForegroundServiceType above.