Home
last modified time | relevance | path

Searched refs:foregroundServiceType (Results 1 – 10 of 10) sorted by relevance

/aosp12/frameworks/base/core/java/android/content/pm/parsing/component/
H A DParsedService.java33 int foregroundServiceType; field in ParsedService
40 this.foregroundServiceType = other.foregroundServiceType; in ParsedService()
68 dest.writeInt(this.foregroundServiceType); in writeToParcel()
77 this.foregroundServiceType = in.readInt(); in ParsedService()
94 return foregroundServiceType; in getForegroundServiceType()
H A DParsedServiceUtils.java89 service.foregroundServiceType = sa.getInt( in parseService()
/aosp12/frameworks/base/core/java/android/app/
H A DService.java788 @ForegroundServiceType int foregroundServiceType) { in startForeground() argument
792 notification, 0, foregroundServiceType); in startForeground()
H A DActivityManagerInternal.java474 public abstract boolean hasRunningForegroundService(int uid, int foregroundServiceType); in hasRunningForegroundService() argument
H A DIActivityManager.aidl265 int id, in Notification notification, int flags, int foregroundServiceType); in setServiceForeground() argument
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DActiveServices.java1345 int id, Notification notification, int flags, int foregroundServiceType) { in setServiceForegroundLocked() argument
1351 setServiceForegroundInnerLocked(r, id, notification, flags, foregroundServiceType); in setServiceForegroundLocked()
1371 ret = r.foregroundServiceType; in getForegroundServiceTypeLocked()
1678 Notification notification, int flags, int foregroundServiceType) { in setServiceForegroundInnerLocked() argument
1715 if (foregroundServiceType == FOREGROUND_SERVICE_TYPE_MANIFEST) { in setServiceForegroundInnerLocked()
1716 foregroundServiceType = manifestType; in setServiceForegroundInnerLocked()
1720 if ((foregroundServiceType & manifestType) != foregroundServiceType) { in setServiceForegroundInnerLocked()
1722 + String.format("0x%08X", foregroundServiceType) in setServiceForegroundInnerLocked()
1854 r.foregroundServiceType = foregroundServiceType; in setServiceForegroundInnerLocked()
2137 if ((r.foregroundServiceType & FGS_IMMEDIATE_DISPLAY_MASK) != 0) { in shouldShowFgsNotificationLocked()
[all …]
H A DServiceRecord.java117 int foregroundServiceType; // foreground service types. field in ServiceRecord
H A DOomAdjuster.java1956 final int fgsType = s.foregroundServiceType; in computeOomAdjLSP()
H A DActivityManagerService.java11931 int id, Notification notification, int flags, int foregroundServiceType) { in setServiceForeground() argument
11934 foregroundServiceType); in setServiceForeground()
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt689 field public static final int foregroundServiceType = 16844185; // 0x1010599