public final class Vm4D
extends java.lang.Object
This class contains methods to copy arrays, obtain a timestamp, sleep and get platform and version information, among many other things.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALTERNATIVE_DEBUG |
static boolean |
disableDebug |
static java.lang.String |
ERASE_DEBUG |
static int |
TWEAK_AUDIBLE_GC |
static int |
TWEAK_DISABLE_GC |
static int |
TWEAK_DUMP_MEM_STATS |
static int |
TWEAK_MEM_PROFILER |
static int |
TWEAK_TRACE_CREATED_CLASSOBJS |
static int |
TWEAK_TRACE_LOCKED_OBJS |
static int |
TWEAK_TRACE_METHODS |
static int |
TWEAK_TRACE_OBJECTS_LEFT_BETWEEN_2_GCS |
Modifier and Type | Method and Description |
---|---|
static void |
alert(java.lang.String s) |
static boolean |
arrayCopy(java.lang.Object srcArray,
int srcStart,
java.lang.Object dstArray,
int dstStart,
int length) |
static boolean |
attachLibrary(java.lang.String name) |
static boolean |
attachNativeLibrary(java.lang.String name) |
static void |
clipboardCopy(java.lang.String s) |
static java.lang.String |
clipboardPaste() |
static void |
debug(java.lang.String s) |
static int |
exec(java.lang.String command,
java.lang.String args,
int launchCode,
boolean wait) |
static void |
exitAndReboot() |
static void |
gc() |
static byte[] |
getFile(java.lang.String name) |
static int |
getFreeMemory() |
static int |
getRemainingBattery() |
static java.lang.String |
getStackTrace() |
static java.lang.String |
getStackTrace(java.lang.Throwable t) |
static int |
getTimeStamp() |
static int |
identityHashCode(java.lang.Object object) |
static void |
interceptSpecialKeys(int[] keys) |
static boolean |
isKeyDown(int key) |
static void |
preallocateArray(java.lang.Object sample,
int length) |
static void |
printStackTrace() |
static void |
printStackTrace(java.lang.String msg) |
static boolean |
privateAttachNativeLibrary(java.lang.String name) |
static void |
safeSleep(int millis) |
static void |
setAutoOff(boolean enabled) |
static void |
setTime(Time t) |
static void |
showKeyCodes(boolean on) |
static void |
sleep(int millis) |
static boolean |
turnScreenOn(boolean on) |
static void |
tweak(int param,
boolean set) |
static void |
vibrate(int millis) |
static void |
warning(java.lang.String s) |
public static final java.lang.String ERASE_DEBUG
public static final java.lang.String ALTERNATIVE_DEBUG
public static boolean disableDebug
public static final int TWEAK_AUDIBLE_GC
public static final int TWEAK_DUMP_MEM_STATS
public static final int TWEAK_MEM_PROFILER
public static final int TWEAK_DISABLE_GC
public static final int TWEAK_TRACE_CREATED_CLASSOBJS
public static final int TWEAK_TRACE_LOCKED_OBJS
public static final int TWEAK_TRACE_OBJECTS_LEFT_BETWEEN_2_GCS
public static final int TWEAK_TRACE_METHODS
public static boolean arrayCopy(java.lang.Object srcArray, int srcStart, java.lang.Object dstArray, int dstStart, int length)
public static int getTimeStamp()
public static void setTime(Time t)
public static void exitAndReboot()
public static int exec(java.lang.String command, java.lang.String args, int launchCode, boolean wait)
public static void setAutoOff(boolean enabled)
public static void sleep(int millis)
public static int getFreeMemory()
public static void gc()
public static void interceptSpecialKeys(int[] keys)
public static boolean isKeyDown(int key)
public static void debug(java.lang.String s)
public static void alert(java.lang.String s)
public static void clipboardCopy(java.lang.String s)
public static java.lang.String clipboardPaste()
public static boolean attachLibrary(java.lang.String name)
public static boolean privateAttachNativeLibrary(java.lang.String name)
public static byte[] getFile(java.lang.String name)
public static int getRemainingBattery()
public static void tweak(int param, boolean set)
public static java.lang.String getStackTrace(java.lang.Throwable t)
public static void showKeyCodes(boolean on)
public static boolean turnScreenOn(boolean on)
public static void vibrate(int millis)
public static void preallocateArray(java.lang.Object sample, int length)
public static boolean attachNativeLibrary(java.lang.String name)
public static void warning(java.lang.String s)
public static void printStackTrace()
public static void printStackTrace(java.lang.String msg)
public static void safeSleep(int millis)
public static int identityHashCode(java.lang.Object object)
public static java.lang.String getStackTrace()