Example usage for Java android.os Process fields, constructors, methods, implement or subclass
The text is from its open source code.
int | FIRST_APPLICATION_UID Defines the start of a range of UIDs (and GIDs), going from this number to #LAST_APPLICATION_UID that are reserved for assigning to applications. |
int | THREAD_PRIORITY_DEFAULT Standard priority of application threads. |
int | THREAD_PRIORITY_LOWEST Lowest available thread priority. |
int | THREAD_PRIORITY_BACKGROUND Standard priority background threads. |
int | THREAD_PRIORITY_FOREGROUND Standard priority of threads that are currently running a user interface that the user is interacting with. |
int | THREAD_PRIORITY_DISPLAY Standard priority of system display threads, involved in updating the user interface. |
int | THREAD_PRIORITY_URGENT_DISPLAY Standard priority of the most important display threads, for compositing the screen and retrieving input events. |
int | THREAD_PRIORITY_MORE_FAVORABLE Minimum increment to make a priority more favorable. |
int | THREAD_PRIORITY_LESS_FAVORABLE Minimum increment to make a priority less favorable. |
void | killProcess(int pid) Kill the process with the given PID. |
int | myPid() Returns the identifier of this process, which can be used with #killProcess and #sendSignal . |
int | myTid() Returns the identifier of the calling thread, which be used with #setThreadPriority(int,int) . |
int | myUid() Returns the identifier of this process's uid. |
UserHandle | myUserHandle() Returns this process's user handle. |
void | setThreadPriority(int priority) Set the priority of the calling thread, based on Linux priorities. |