/** * An invalid UID value. */ publicstaticfinalintINVALID_UID= -1;
/** * Defines the root UID. */ publicstaticfinalintROOT_UID=0;
/** * Defines the UID/GID under which system code runs. */ publicstaticfinalintSYSTEM_UID=1000;
/** * Defines the start of a range of UIDs (and GIDs), going from this * number to {@link #LAST_APPLICATION_UID} that are reserved for assigning * to applications. */ publicstaticfinalintFIRST_APPLICATION_UID=10000;
/** * Last of application-specific UIDs starting at * {@link #FIRST_APPLICATION_UID}. */ publicstaticfinalintLAST_APPLICATION_UID=19999;
通过 adb 查看:
1 2 3 4 5 6 7 8 9
C:\Users\Administrator>adb shell ps -A USER PID PPID VSZ RSS WCHAN ADDR S NAME root 1 0 10782796 7940 0 0 S init root 277 1 13490100 174656 0 0 S zygote64 root 278 1 1833480 163260 0 0 S zygote system 520 277 14016032 351988 0 0 S system_server u0_a121 727 277 13059552 231184 0 0 S com.android.systemui u0_a117 988 277 13011692 173944 0 0 S com.android.launcher3 u0_a67 2177 277 12938684 163444 0 0 S com.android.packageinstaller