/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/ |
H A 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()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A 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() 468 record.foregroundServiceType = ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA; in testMultipleUid() [all …]
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | Service.java | 859 @RequiresPermission @ForegroundServiceType int foregroundServiceType) { in startForeground() argument 864 notification, 0, foregroundServiceType); in startForeground() 866 logForegroundServiceStart(comp, foregroundServiceType); in startForeground() 1059 @ForegroundServiceType int foregroundServiceType) { 1063 comp.toShortString(), Integer.toHexString(foregroundServiceType));
|
H A D | ActivityManagerInternal.java | 736 public abstract boolean hasRunningForegroundService(int uid, int foregroundServiceType); in hasRunningForegroundService() argument
|
H A D | IActivityManager.aidl | 325 int id, in Notification notification, int flags, int foregroundServiceType); in setServiceForeground() argument
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ForegroundServiceTypeLoggerModule.java | 145 convertFgsTypeToApiTypes(record.foregroundServiceType); in logForegroundServiceStart() 208 final IntArray apiTypes = convertFgsTypeToApiTypes(record.foregroundServiceType); in logForegroundServiceStop() 512 r.foregroundServiceType, in logFgsApiEvent()
|
H A D | ActiveServices.java | 1707 ret = r.foregroundServiceType; in getForegroundServiceTypeLocked() 2042 foregroundServiceType = manifestType; in setServiceForegroundInnerLocked() 2048 if (((foregroundServiceType & manifestType) != foregroundServiceType) in setServiceForegroundInnerLocked() 2180 r.foregroundServiceType, in setServiceForegroundInnerLocked() 2343 foregroundServiceType, in setServiceForegroundInnerLocked() 2347 int fgsTypes = foregroundServiceType; in setServiceForegroundInnerLocked() 2391 r.foregroundServiceType = foregroundServiceType; in setServiceForegroundInnerLocked() 2567 r.foregroundServiceType = 0; in setServiceForegroundInnerLocked() 3304 fgServiceTypes |= sr.foregroundServiceType; in updateServiceForegroundLocked() 8242 r.foregroundServiceType, in logFGSStateChangeLocked() [all …]
|
H A D | ServiceRecord.java | 131 int foregroundServiceType; // foreground service types. field in ServiceRecord 603 foregroundServiceType); in dumpDebug() 760 pw.printf(" types=%08X", foregroundServiceType); in dump() 1553 && (foregroundServiceType == ServiceInfo.FOREGROUND_SERVICE_TYPE_SHORT_SERVICE); in isShortFgs() 1625 + " type=" + Integer.toHexString(this.foregroundServiceType) in getShortFgsTimedEventDescription()
|
H A D | OomAdjuster.java | 2224 final int fgsType = s.foregroundServiceType; in computeOomAdjLSP()
|
H A D | ActivityManagerService.java | 13427 int id, Notification notification, int flags, int foregroundServiceType) { in setServiceForeground() argument 13430 foregroundServiceType); in setServiceForeground()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | MockingOomAdjusterTests.java | 493 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_FgService_ShortFgs() 535 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_FgService_ShortFgs() 1046 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_Service_ImportantFgService_ShortFgs() 1076 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_Service_BoundForegroundService_with_ShortFgs() 1359 s.foregroundServiceType = FOREGROUND_SERVICE_TYPE_SHORT_SERVICE; in testUpdateOomAdj_DoOne_Provider_FgService_ShortFgs()
|
/aosp14/frameworks/base/core/proto/android/server/ |
H A D | activitymanagerservice.proto | 443 optional int32 foregroundServiceType = 3; field
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 832 field public static final int foregroundServiceType = 16844185; // 0x1010599
|