Loading core/java/android/app/ActivityManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -771,6 +771,7 @@ public class ActivityManager { /** * The set of flags for process capability. * Keep it in sync with ProcessCapability in atoms.proto. * @hide */ @IntDef(flag = true, prefix = { "PROCESS_CAPABILITY_" }, value = { Loading services/core/java/com/android/server/am/ActiveServices.java +5 −1 Original line number Diff line number Diff line Loading @@ -8240,7 +8240,11 @@ public final class ActiveServices { : ForegroundServiceDelegationOptions.DELEGATION_SERVICE_DEFAULT, 0 /* api_sate */, null /* api_type */, null /* api_timestamp */); null /* api_timestamp */, mAm.getUidStateLocked(r.appInfo.uid), mAm.getUidProcessCapabilityLocked(r.appInfo.uid), mAm.getUidStateLocked(r.mRecentCallingUid), mAm.getUidProcessCapabilityLocked(r.mRecentCallingUid)); int event = 0; if (state == FOREGROUND_SERVICE_STATE_CHANGED__STATE__ENTER) { Loading services/core/java/com/android/server/am/ForegroundServiceTypeLoggerModule.java +11 −2 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ import static android.app.ActivityManager.FOREGROUND_SERVICE_API_TYPE_USB; import static android.os.Process.INVALID_UID; import android.annotation.IntDef; import android.app.ActivityManager; import android.app.ActivityManager.ForegroundServiceApiType; import android.app.ForegroundServiceDelegationOptions; import android.content.ComponentName; Loading Loading @@ -466,7 +467,11 @@ public class ForegroundServiceTypeLoggerModule { : ForegroundServiceDelegationOptions.DELEGATION_SERVICE_DEFAULT, apiState, apiType, timestamp); timestamp, ActivityManager.PROCESS_STATE_UNKNOWN, ActivityManager.PROCESS_CAPABILITY_NONE, ActivityManager.PROCESS_STATE_UNKNOWN, ActivityManager.PROCESS_CAPABILITY_NONE); } /** Loading Loading @@ -500,7 +505,11 @@ public class ForegroundServiceTypeLoggerModule { 0, apiState, apiType, timestamp); timestamp, ActivityManager.PROCESS_STATE_UNKNOWN, ActivityManager.PROCESS_CAPABILITY_NONE, ActivityManager.PROCESS_STATE_UNKNOWN, ActivityManager.PROCESS_CAPABILITY_NONE); } /** Loading Loading
core/java/android/app/ActivityManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -771,6 +771,7 @@ public class ActivityManager { /** * The set of flags for process capability. * Keep it in sync with ProcessCapability in atoms.proto. * @hide */ @IntDef(flag = true, prefix = { "PROCESS_CAPABILITY_" }, value = { Loading
services/core/java/com/android/server/am/ActiveServices.java +5 −1 Original line number Diff line number Diff line Loading @@ -8240,7 +8240,11 @@ public final class ActiveServices { : ForegroundServiceDelegationOptions.DELEGATION_SERVICE_DEFAULT, 0 /* api_sate */, null /* api_type */, null /* api_timestamp */); null /* api_timestamp */, mAm.getUidStateLocked(r.appInfo.uid), mAm.getUidProcessCapabilityLocked(r.appInfo.uid), mAm.getUidStateLocked(r.mRecentCallingUid), mAm.getUidProcessCapabilityLocked(r.mRecentCallingUid)); int event = 0; if (state == FOREGROUND_SERVICE_STATE_CHANGED__STATE__ENTER) { Loading
services/core/java/com/android/server/am/ForegroundServiceTypeLoggerModule.java +11 −2 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ import static android.app.ActivityManager.FOREGROUND_SERVICE_API_TYPE_USB; import static android.os.Process.INVALID_UID; import android.annotation.IntDef; import android.app.ActivityManager; import android.app.ActivityManager.ForegroundServiceApiType; import android.app.ForegroundServiceDelegationOptions; import android.content.ComponentName; Loading Loading @@ -466,7 +467,11 @@ public class ForegroundServiceTypeLoggerModule { : ForegroundServiceDelegationOptions.DELEGATION_SERVICE_DEFAULT, apiState, apiType, timestamp); timestamp, ActivityManager.PROCESS_STATE_UNKNOWN, ActivityManager.PROCESS_CAPABILITY_NONE, ActivityManager.PROCESS_STATE_UNKNOWN, ActivityManager.PROCESS_CAPABILITY_NONE); } /** Loading Loading @@ -500,7 +505,11 @@ public class ForegroundServiceTypeLoggerModule { 0, apiState, apiType, timestamp); timestamp, ActivityManager.PROCESS_STATE_UNKNOWN, ActivityManager.PROCESS_CAPABILITY_NONE, ActivityManager.PROCESS_STATE_UNKNOWN, ActivityManager.PROCESS_CAPABILITY_NONE); } /** Loading