Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbf6abc3 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

Make some Process constants @TestApi.

Bug: 111434506
Test: atest CtsSeccompHostTestCases builds
Change-Id: If4b9bff1e72d7b1299ac5f5a283b0ab7d504ab03
parent 860cdf5a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -779,6 +779,11 @@ package android.os {

  public class Process {
    method public static final int getThreadScheduler(int) throws java.lang.IllegalArgumentException;
    field public static final int FIRST_APP_ZYGOTE_ISOLATED_UID = 90000; // 0x15f90
    field public static final int FIRST_ISOLATED_UID = 99000; // 0x182b8
    field public static final int LAST_APP_ZYGOTE_ISOLATED_UID = 98999; // 0x182b7
    field public static final int LAST_ISOLATED_UID = 99999; // 0x1869f
    field public static final int NUM_UIDS_PER_APP_ZYGOTE = 100; // 0x64
  }

  public final class RemoteCallback implements android.os.Parcelable {
+5 −0
Original line number Diff line number Diff line
@@ -208,30 +208,35 @@ public class Process {
     * First uid used for fully isolated sandboxed processes spawned from an app zygote
     * @hide
     */
    @TestApi
    public static final int FIRST_APP_ZYGOTE_ISOLATED_UID = 90000;

    /**
     * Number of UIDs we allocate per application zygote
     * @hide
     */
    @TestApi
    public static final int NUM_UIDS_PER_APP_ZYGOTE = 100;

    /**
     * Last uid used for fully isolated sandboxed processes spawned from an app zygote
     * @hide
     */
    @TestApi
    public static final int LAST_APP_ZYGOTE_ISOLATED_UID = 98999;

    /**
     * First uid used for fully isolated sandboxed processes (with no permissions of their own)
     * @hide
     */
    @TestApi
    public static final int FIRST_ISOLATED_UID = 99000;

    /**
     * Last uid used for fully isolated sandboxed processes (with no permissions of their own)
     * @hide
     */
    @TestApi
    public static final int LAST_ISOLATED_UID = 99999;

    /**