/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedServiceImpl.java | 38 private int foregroundServiceType; field in ParsedServiceImpl 45 this.foregroundServiceType = other.foregroundServiceType; in ParsedServiceImpl() 73 dest.writeInt(this.foregroundServiceType); in writeToParcel() 82 this.foregroundServiceType = in.readInt(); in ParsedServiceImpl() 117 int foregroundServiceType, in ParsedServiceImpl() argument 119 this.foregroundServiceType = foregroundServiceType; in ParsedServiceImpl() 127 return foregroundServiceType; in getForegroundServiceType() 137 foregroundServiceType = value; in setForegroundServiceType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | FgsLoggerTest.java | 73 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testFgsStartThenApiStart() 94 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testApiStartThenFgsStart() 118 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testFgsStartApiStartFgsStopApiStop() 157 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testApiStartStopFgs() 177 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testFgsStartStopApiStartStop() 201 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testMultipleStartStopApis() 258 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testMultipleStartStops() 326 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testMultiStartStopThroughout() 395 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testMultipleFGS() 398 record2.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testMultipleFGS() [all …]
|
/frameworks/base/core/java/android/app/ |
D | Service.java | 860 @RequiresPermission @ForegroundServiceType int foregroundServiceType) { in startForeground() argument 865 notification, 0, foregroundServiceType); in startForeground() 867 logForegroundServiceStart(comp, foregroundServiceType); in startForeground() 1060 @ForegroundServiceType int foregroundServiceType) { 1064 comp.toShortString(), Integer.toHexString(foregroundServiceType));
|
D | ActivityManagerInternal.java | 742 public abstract boolean hasRunningForegroundService(int uid, int foregroundServiceType); in hasRunningForegroundService() argument
|
D | IActivityManager.aidl | 327 int id, in Notification notification, int flags, int foregroundServiceType); in setServiceForeground() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ForegroundServiceTypeLoggerModule.java | 141 "foregroundService", record.foregroundServiceType); in logForegroundServiceStart() 151 convertFgsTypeToApiTypes(record.foregroundServiceType); in logForegroundServiceStart() 219 final IntArray apiTypes = convertFgsTypeToApiTypes(record.foregroundServiceType); in logForegroundServiceStop() 524 r.foregroundServiceType, in logFgsApiEvent()
|
D | ActiveServices.java | 1168 private boolean shouldAllowBootCompletedStart(ServiceRecord r, int foregroundServiceType) { in shouldAllowBootCompletedStart() argument 1174 return ((foregroundServiceType & mAm.mConstants.FGS_BOOT_COMPLETED_ALLOWLIST) != 0); in shouldAllowBootCompletedStart() 1836 int id, Notification notification, int flags, int foregroundServiceType) { in setServiceForegroundLocked() argument 1843 setServiceForegroundInnerLocked(r, id, notification, flags, foregroundServiceType, in setServiceForegroundLocked() 1864 ret = r.foregroundServiceType; in getForegroundServiceTypeLocked() 2159 Notification notification, int flags, int foregroundServiceType, in setServiceForegroundInnerLocked() argument 2166 final int foregroundServiceStartType = foregroundServiceType; in setServiceForegroundInnerLocked() 2199 if (foregroundServiceType == FOREGROUND_SERVICE_TYPE_MANIFEST) { in setServiceForegroundInnerLocked() 2200 foregroundServiceType = manifestType; in setServiceForegroundInnerLocked() 2206 if (((foregroundServiceType & manifestType) != foregroundServiceType) in setServiceForegroundInnerLocked() [all …]
|
D | ServiceRecord.java | 165 int foregroundServiceType; // foreground service types. field in ServiceRecord 827 foregroundServiceType); in dumpDebug() 1008 pw.printf(" types=0x%08X", foregroundServiceType); in dump() 1805 && (foregroundServiceType == ServiceInfo.FOREGROUND_SERVICE_TYPE_SHORT_SERVICE); in isShortFgs() 1877 + " type=" + Integer.toHexString(this.foregroundServiceType) in getShortFgsTimedEventDescription() 1896 && ams.mServices.getTimeLimitedFgsType(foregroundServiceType) in isFgsTimeLimited()
|
D | OomAdjuster.java | 2306 final int fgsType = s.foregroundServiceType; in computeOomAdjLSP()
|
D | ActivityManagerService.java | 14090 int id, Notification notification, int flags, int foregroundServiceType) { in setServiceForeground() argument 14093 foregroundServiceType); in setServiceForeground()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 566 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_FgService_ShortFgs() 609 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_FgService_ShortFgs() 1170 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_Service_ImportantFgService_ShortFgs() 1201 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_Service_BoundForegroundService_with_ShortFgs() 1494 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_Provider_FgService_ShortFgs()
|
/frameworks/base/core/proto/android/server/ |
D | activitymanagerservice.proto | 446 optional int32 foregroundServiceType = 3; field
|
/frameworks/base/core/api/ |
D | current.txt | 853 field public static final int foregroundServiceType = 16844185; // 0x1010599
|