Loading core/java/android/os/Process.java +6 −0 Original line number Diff line number Diff line Loading @@ -206,6 +206,12 @@ public class Process { */ public static final int SE_UID = 1068; /** * Defines the UID/GID for the iorapd. * @hide */ public static final int IORAPD_UID = 1071; /** * Defines the UID/GID for the NetworkStack app. * @hide Loading services/core/java/com/android/server/pm/PackageManagerService.java +4 −0 Original line number Diff line number Diff line Loading @@ -8942,6 +8942,10 @@ public class PackageManagerService extends IPackageManager.Stub @Override public List<String> getAllPackages() { // Allow iorapd to call this method. if (Binder.getCallingUid() != Process.IORAPD_UID) { enforceSystemOrRootOrShell("getAllPackages is limited to privileged callers"); } final int callingUid = Binder.getCallingUid(); final int callingUserId = UserHandle.getUserId(callingUid); synchronized (mLock) { Loading
core/java/android/os/Process.java +6 −0 Original line number Diff line number Diff line Loading @@ -206,6 +206,12 @@ public class Process { */ public static final int SE_UID = 1068; /** * Defines the UID/GID for the iorapd. * @hide */ public static final int IORAPD_UID = 1071; /** * Defines the UID/GID for the NetworkStack app. * @hide Loading
services/core/java/com/android/server/pm/PackageManagerService.java +4 −0 Original line number Diff line number Diff line Loading @@ -8942,6 +8942,10 @@ public class PackageManagerService extends IPackageManager.Stub @Override public List<String> getAllPackages() { // Allow iorapd to call this method. if (Binder.getCallingUid() != Process.IORAPD_UID) { enforceSystemOrRootOrShell("getAllPackages is limited to privileged callers"); } final int callingUid = Binder.getCallingUid(); final int callingUserId = UserHandle.getUserId(callingUid); synchronized (mLock) {