Home
last modified time | relevance | path

Searched refs:fgsType (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DForegroundServiceTypeLoggerModule.java443 private IntArray convertFgsTypeToApiTypes(int fgsType) { in convertFgsTypeToApiTypes() argument
445 if ((fgsType & ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA) in convertFgsTypeToApiTypes()
449 if ((fgsType & ServiceInfo.FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE) in convertFgsTypeToApiTypes()
455 if ((fgsType & ServiceInfo.FOREGROUND_SERVICE_TYPE_LOCATION) in convertFgsTypeToApiTypes()
459 if ((fgsType & ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK) in convertFgsTypeToApiTypes()
464 if ((fgsType & ServiceInfo.FOREGROUND_SERVICE_TYPE_MICROPHONE) in convertFgsTypeToApiTypes()
468 if ((fgsType & ServiceInfo.FOREGROUND_SERVICE_TYPE_PHONE_CALL) in convertFgsTypeToApiTypes()
DEventLogTags.logtags125 …red|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3),(fgsType|1)
126 …red|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3),(fgsType|1)
127 …red|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3),(fgsType|1)
128 …red|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3),(fgsType|1)
DActiveServices.java3735 int fgsType = ServiceInfo.FOREGROUND_SERVICE_TYPE_NONE; in getTimeLimitedFgsType() local
3739 fgsType = ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROCESSING; in getTimeLimitedFgsType()
3746 fgsType = ServiceInfo.FOREGROUND_SERVICE_TYPE_DATA_SYNC; in getTimeLimitedFgsType()
3751 return fgsType; in getTimeLimitedFgsType()
3773 private long getNextFgsStopTime(int fgsType, TimeLimitedFgsInfo fgsInfo) { in getNextFgsStopTime() argument
3774 final long timeLimit = getTimeLimitForFgsType(fgsType); in getNextFgsStopTime()
3781 private TimeLimitedFgsInfo getFgsTimeLimitedInfo(int uid, int fgsType) { in getFgsTimeLimitedInfo() argument
3784 return fgsInfo.get(fgsType); in getFgsTimeLimitedInfo()
3889 final int fgsType = getTimeLimitedFgsType(sr.foregroundServiceType); in onFgsTimeout() local
3890 if (fgsType == ServiceInfo.FOREGROUND_SERVICE_TYPE_NONE || sr.app == null) { in onFgsTimeout()
[all …]
DOomAdjuster.java2306 final int fgsType = s.foregroundServiceType; in computeOomAdjLSP() local
2309 (fgsType & FOREGROUND_SERVICE_TYPE_LOCATION) in computeOomAdjLSP()
2322 (fgsType & FOREGROUND_SERVICE_TYPE_CAMERA) in computeOomAdjLSP()
2325 (fgsType & FOREGROUND_SERVICE_TYPE_MICROPHONE) in computeOomAdjLSP()
/frameworks/base/core/java/android/app/
DService.java1176 public final void callOnTimeLimitExceeded(int startId, @ForegroundServiceType int fgsType) {
1193 onTimeout(startId, fgsType);
1224 public void onTimeout(int startId, @ForegroundServiceType int fgsType) {
DIApplicationThread.aidl182 void scheduleTimeoutServiceForType(IBinder token, int startId, int fgsType); in scheduleTimeoutServiceForType() argument
DActivityThread.java1270 @ServiceInfo.ForegroundServiceType int fgsType) { in scheduleTimeoutServiceForType() argument
1275 sendMessage(H.TIMEOUT_SERVICE_FOR_TYPE, token, startId, fgsType); in scheduleTimeoutServiceForType()
5232 @ServiceInfo.ForegroundServiceType int fgsType) { in handleTimeoutServiceForType() argument
5238 s.callOnTimeLimitExceeded(startId, fgsType); in handleTimeoutServiceForType()