-
@RestrictTo(value = RestrictTo.Scope.LIBRARY) public final class Utils
-
-
Method Summary
Modifier and Type Method Description static ContextgetContext()static voidsetContext(Context c)static voidlog(Object log)static voidlog(String tag, Object log)static voidex(Throwable t)static voiderr(Throwable t)static voiderr(String tag, Throwable t)static booleanvLog()static ContextgetDeContext()static ContextgetContextImpl(Context context)static booleanhasStartupAgents(Context context)static booleanisSynchronized(Collection<out Object> collection)static longpump(InputStream in, OutputStream out)static synchronized BooleanisAppGrantedRoot()static booleanisRootImpossible()static booleanisMainShellRoot()static booleanisProcess64Bit()-
-
Method Detail
-
getContext
static Context getContext()
-
setContext
static void setContext(Context c)
-
vLog
static boolean vLog()
-
getDeContext
static Context getDeContext()
-
getContextImpl
static Context getContextImpl(Context context)
-
hasStartupAgents
static boolean hasStartupAgents(Context context)
-
isSynchronized
static boolean isSynchronized(Collection<out Object> collection)
-
pump
static long pump(InputStream in, OutputStream out)
-
isAppGrantedRoot
static synchronized Boolean isAppGrantedRoot()
-
isRootImpossible
static boolean isRootImpossible()
-
isMainShellRoot
static boolean isMainShellRoot()
-
isProcess64Bit
static boolean isProcess64Bit()
-
-
-
-