diff options
| author | Jing Ji <jji@google.com> | 2021-07-01 02:43:27 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-07-01 02:43:27 +0000 |
| commit | 53459e966bcf2c2bcc438c4181cdf42e0809acce (patch) | |
| tree | fc722b649f1c6bf21c94706370556cd16017ead4 /core/java/android | |
| parent | 351080a8f57b95c265c89437d271ccf42f0787e4 (diff) | |
| parent | dbd7bb2e0ee145bd915f21a899c970ab319656d4 (diff) | |
Merge "Provide a system_server internal API to get isolated PIDs of an UID" into sc-dev
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/app/ActivityManagerInternal.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/app/ActivityManagerInternal.java b/core/java/android/app/ActivityManagerInternal.java index 8a265788a94b..b7d9d9b67758 100644 --- a/core/java/android/app/ActivityManagerInternal.java +++ b/core/java/android/app/ActivityManagerInternal.java @@ -640,4 +640,10 @@ public abstract class ActivityManagerInternal { * Returns the capability of the given uid */ public abstract @ProcessCapability int getUidCapability(int uid); + + /** + * @return The PID list of the isolated process with packages matching the given uid. + */ + @Nullable + public abstract List<Integer> getIsolatedProcesses(int uid); } |
