Package org.robolectric.res.android
Class Util
- java.lang.Object
-
- org.robolectric.res.android.Util
-
public class Util extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static booleanJNI_FALSEstatic booleanJNI_TRUEstatic intSIZEOF_CPTRstatic intSIZEOF_INTstatic intSIZEOF_SHORT
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidALOGI(java.lang.String message, java.lang.Object... args)static voidALOGV(java.lang.String message, java.lang.Object... args)static voidATRACE_NAME(java.lang.String s)static voidCHECK(boolean b)static booleanisTruthy(int i)static booleanisTruthy(java.lang.Object o)
-
-
-
Field Detail
-
JNI_TRUE
public static final boolean JNI_TRUE
- See Also:
- Constant Field Values
-
JNI_FALSE
public static final boolean JNI_FALSE
- See Also:
- Constant Field Values
-
SIZEOF_SHORT
public static final int SIZEOF_SHORT
- See Also:
- Constant Field Values
-
SIZEOF_INT
public static final int SIZEOF_INT
- See Also:
- Constant Field Values
-
SIZEOF_CPTR
public static final int SIZEOF_CPTR
- See Also:
- Constant Field Values
-
-
Method Detail
-
isTruthy
public static boolean isTruthy(int i)
-
isTruthy
public static boolean isTruthy(java.lang.Object o)
-
ALOGV
public static void ALOGV(java.lang.String message, java.lang.Object... args)
-
ALOGI
public static void ALOGI(java.lang.String message, java.lang.Object... args)
-
ATRACE_NAME
public static void ATRACE_NAME(java.lang.String s)
-
CHECK
public static void CHECK(boolean b)
-
-