Process class

Tools for managing OS processes.

See: https://developer.android.com/reference/android/os/Process

Constructors

Process()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

is64Bit → Future<bool>
Returns whether the current process is a 64-bit runtime. [...]
read-only
isIsolated → Future<bool>
Returns whether the current process is in an isolated sandbox. [...]
read-only

Constants

FIRST_APPLICATION_UID → const int
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. [...]
10000
LAST_APPLICATION_UID → const int
Last of application-specific UIDs starting at FIRST_APPLICATION_UID. [...]
19999
PHONE_UID → const int
Defines the UID/GID under which the telephony code runs. [...]
1001
SIGNAL_KILL → const int
See: https://developer.android.com/reference/android/os/Process#SIGNAL_KILL
9
SIGNAL_QUIT → const int
See: https://developer.android.com/reference/android/os/Process#SIGNAL_QUIT
3
SIGNAL_USR1 → const int
See: https://developer.android.com/reference/android/os/Process#SIGNAL_USR1
10
SYSTEM_UID → const int
Defines the UID/GID under which system code runs. [...]
1000
THREAD_PRIORITY_AUDIO → const int
Standard priority of audio threads. [...]
-16
THREAD_PRIORITY_BACKGROUND → const int
Standard priority background threads. [...]
10
THREAD_PRIORITY_DEFAULT → const int
Standard priority of application threads. [...]
0
THREAD_PRIORITY_DISPLAY → const int
Standard priority of system display threads, involved in updating the user interface. [...]
-4
THREAD_PRIORITY_FOREGROUND → const int
Standard priority of threads that are currently running a user interface that the user is interacting with. [...]
-2
THREAD_PRIORITY_LESS_FAVORABLE → const int
Minimum increment to make a priority less favorable. [...]
1
THREAD_PRIORITY_LOWEST → const int
Lowest available thread priority. [...]
19
THREAD_PRIORITY_MORE_FAVORABLE → const int
Minimum increment to make a priority more favorable. [...]
-1
THREAD_PRIORITY_URGENT_AUDIO → const int
Standard priority of the most important audio threads. [...]
-19
THREAD_PRIORITY_URGENT_DISPLAY → const int
Standard priority of the most important display threads, for compositing the screen and retrieving input events. [...]
-8
THREAD_PRIORITY_VIDEO → const int
Standard priority of video threads. [...]
-10