Constructor and Description |
---|
BinderInternal() |
Modifier and Type | Method and Description |
---|---|
static void |
addGcWatcher(Runnable watcher) |
static void |
disableBackgroundScheduling(boolean disable)
Special for system process to not allow incoming calls to run at
background scheduling priority.
|
static void |
forceGc(String reason) |
static IBinder |
getContextObject()
Return the global "context object" of the system.
|
static long |
getLastGcTime()
Return the system time (as reported by
SystemClock.uptimeMillis() ) that the last garbage collection occurred
in this process. |
static void |
joinThreadPool()
Add the calling thread to the IPC thread pool.
|
static void |
setMaxThreads(int numThreads) |
public static void addGcWatcher(Runnable watcher)
public static final void joinThreadPool()
public static long getLastGcTime()
SystemClock.uptimeMillis()
) that the last garbage collection occurred
in this process. This is not for general application use, and the
meaning of "when a garbage collection occurred" will change as the
garbage collector evolves.SystemClock.uptimeMillis()
of the last garbage collection.public static final IBinder getContextObject()
public static final void disableBackgroundScheduling(boolean disable)
public static final void setMaxThreads(int numThreads)
public static void forceGc(String reason)